Skip to main content

Waveform generator for pulse sequences in quantum computing

Project description

Bosing

Documentation Status PyPI - Version

Waveform generator for superconducting circuits.

Installation

pip install bosing

Documentation

Docs are hosted on Read the Docs

Usage

Examples can be found in python/examples.

import matplotlib.pyplot as plt

from bosing import Barrier, Channel, Hann, Play, Stack, generate_waveforms

channels = {"xy": Channel(30e6, 2e9, 1000)}
shapes = {"hann": Hann()}
schedule = Stack(duration=500e-9).with_children(
    Play(
        channel_id="xy",
        shape_id="hann",
        amplitude=0.3,
        width=100e-9,
        plateau=200e-9,
    ),
    Barrier(duration=10e-9),
)
result = generate_waveforms(channels, shapes, schedule)
w = result["xy"]
plt.plot(w[0], label="I")
plt.plot(w[1], label="Q")
plt.legend()
plt.show()

Performance

python/examples/schedule_stress.py (0.15 s) vs python/benches/naive.py (1.4 s)

CPU: AMD Ryzen 5 5600

Development

Prerequisites

  • Rustup for rust toolchain management.
  • maturin 1.7+.
  • uv for python project management.
git clone https://github.com/kahojyun/Bosing.git
cd Bosing
uv sync
uv run task makedocs # build docs
uv run task format # format rust and python code
uv run task lint # lint rust and python code
uv run task test # run cargo test and pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bosing-2.6.1.tar.gz (185.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

bosing-2.6.1-cp314-cp314t-win_arm64.whl (486.1 kB view details)

Uploaded CPython 3.14tWindows ARM64

bosing-2.6.1-cp314-cp314t-win_amd64.whl (517.4 kB view details)

Uploaded CPython 3.14tWindows x86-64

bosing-2.6.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (744.2 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64

bosing-2.6.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (733.3 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARM64

bosing-2.6.1-cp314-cp314t-macosx_11_0_arm64.whl (669.4 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

bosing-2.6.1-cp314-cp314t-macosx_10_12_x86_64.whl (696.6 kB view details)

Uploaded CPython 3.14tmacOS 10.12+ x86-64

bosing-2.6.1-cp313-cp313t-win_arm64.whl (485.1 kB view details)

Uploaded CPython 3.13tWindows ARM64

bosing-2.6.1-cp313-cp313t-win_amd64.whl (516.1 kB view details)

Uploaded CPython 3.13tWindows x86-64

bosing-2.6.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (744.4 kB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ x86-64

bosing-2.6.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (729.7 kB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARM64

bosing-2.6.1-cp313-cp313t-macosx_11_0_arm64.whl (669.6 kB view details)

Uploaded CPython 3.13tmacOS 11.0+ ARM64

bosing-2.6.1-cp313-cp313t-macosx_10_12_x86_64.whl (697.1 kB view details)

Uploaded CPython 3.13tmacOS 10.12+ x86-64

bosing-2.6.1-cp310-abi3-win_arm64.whl (491.8 kB view details)

Uploaded CPython 3.10+Windows ARM64

bosing-2.6.1-cp310-abi3-win_amd64.whl (522.6 kB view details)

Uploaded CPython 3.10+Windows x86-64

bosing-2.6.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (750.6 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

bosing-2.6.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (741.6 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

bosing-2.6.1-cp310-abi3-macosx_11_0_arm64.whl (676.8 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

bosing-2.6.1-cp310-abi3-macosx_10_12_x86_64.whl (704.2 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file bosing-2.6.1.tar.gz.

File metadata

  • Download URL: bosing-2.6.1.tar.gz
  • Upload date:
  • Size: 185.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bosing-2.6.1.tar.gz
Algorithm Hash digest
SHA256 2ea1b831498d7be708841ac41d1a981766ed297185dfe8eb25e79654e79bd5b5
MD5 2c8d0cd873ecfb09caa8db10ca0f8f82
BLAKE2b-256 333c5e357fd30e93f0568529808311b30c4af86a3eaa2f9036dac5f62a6289a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1.tar.gz:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp314-cp314t-win_arm64.whl.

File metadata

  • Download URL: bosing-2.6.1-cp314-cp314t-win_arm64.whl
  • Upload date:
  • Size: 486.1 kB
  • Tags: CPython 3.14t, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bosing-2.6.1-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 5e8f2143dd91a5bbc29b6e534094ab940b6cd331de6e254f463156486a57149c
MD5 5dcd64fe00fcf3775ee9b14970057d9f
BLAKE2b-256 d99ff42f48e82f14067279e903b6949cbfb4825e3636f6592999ad57d82991e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp314-cp314t-win_arm64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp314-cp314t-win_amd64.whl.

File metadata

  • Download URL: bosing-2.6.1-cp314-cp314t-win_amd64.whl
  • Upload date:
  • Size: 517.4 kB
  • Tags: CPython 3.14t, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bosing-2.6.1-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 a2cfa8f5a21e790bf68c35a73131ff0c1fc10391c69e5cfcec82e9cb5ebcdb8c
MD5 4001fbe267ae8fbbb06dc602b504d040
BLAKE2b-256 a9b636f2be29d5f2de7b758291a58b189d967347924e8c020cdc96adbc64337d

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp314-cp314t-win_amd64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.6.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 641b0ce7022d71b70e20e8f307049f424b186c29aca53d785e19ab809f045541
MD5 62b0765253bde68696a7a4ce8ddf4cd4
BLAKE2b-256 34ae5b9edb34f7de5dfd7c2a4f567adb3bf79a5918a373bb57c6c515fe197881

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for bosing-2.6.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ed77046756b1b4ff61462f47393ca052731aa3864f3187d9ad5378b02e04ee5b
MD5 f2505de544eeb256fa836bb1bdec84b0
BLAKE2b-256 ed94c802c6e74a767b2e0f0d54303ba26382cc0ee1b993423cb0b369394190c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bosing-2.6.1-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 db5dca9310421edab567bfe77d76568da57347e3863f9b45f119261d92d3679c
MD5 f5d0a6d19ef8b1fb1799ebbe281f52ef
BLAKE2b-256 a5e2a3f950682cbb86acda83877cf29f0fa4d32755a0385bc4987d895950505e

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp314-cp314t-macosx_11_0_arm64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp314-cp314t-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.6.1-cp314-cp314t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 96cfb8bc7e372ce85c93df6d69735b870aa7e3cc11a58292dc6804288f803ba4
MD5 44eedfc7e157d9d0dab58d2397f4aaea
BLAKE2b-256 56a7adb50631dbd57676001d4b2725b564aaa05bb7f61912d7f2c470c05c1816

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp314-cp314t-macosx_10_12_x86_64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp313-cp313t-win_arm64.whl.

File metadata

  • Download URL: bosing-2.6.1-cp313-cp313t-win_arm64.whl
  • Upload date:
  • Size: 485.1 kB
  • Tags: CPython 3.13t, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bosing-2.6.1-cp313-cp313t-win_arm64.whl
Algorithm Hash digest
SHA256 c7b655749f09e376ff0866903855ba5c3940bde448cd04a3fd213e5bf7bfdd0b
MD5 441f1a0df5bb71309be1e52d0ac6d258
BLAKE2b-256 dfe640fac71a86c99cf7e638af1dd66985e9bbea55a17bddd92af303c712de43

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp313-cp313t-win_arm64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp313-cp313t-win_amd64.whl.

File metadata

  • Download URL: bosing-2.6.1-cp313-cp313t-win_amd64.whl
  • Upload date:
  • Size: 516.1 kB
  • Tags: CPython 3.13t, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bosing-2.6.1-cp313-cp313t-win_amd64.whl
Algorithm Hash digest
SHA256 085b1c56eea1d7da2a55ae469f680aa2bd16ddc41929eef3e8a74e5a85bbe790
MD5 fc024281062703a5be1f9702ad2b5e70
BLAKE2b-256 a3c88bc6850eb8462a049e842744c32e7f1207f523d4c52a27bf0dfab7282067

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp313-cp313t-win_amd64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.6.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b3816934f732a957a6660fcde58119f94c831a4517572bd1f2ed6acbb32a1f32
MD5 13b23e33d23ba7270034a42474b70c02
BLAKE2b-256 447bae67cab68b3ec40ef463237fad1516c8aea92554aaf7830ccfaad292e926

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for bosing-2.6.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d70f05e6d26d5dbd07f9630f8bb266421d2f379a763dea4ec25824235b22d498
MD5 48079cfc067ffc6d083d7e5985f8fdfe
BLAKE2b-256 270ad7b9e0e7b15118106ebd79088cf86ace81b0c04f029e076e8b9462b1db92

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp313-cp313t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bosing-2.6.1-cp313-cp313t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7679050f1568d187c7cd2c8021a7e1f624e22b09a99102c81b2788eb1dba791a
MD5 67ff168b3c2e9463554482cd28baf4ad
BLAKE2b-256 e8c2da0f8bea83851a6dc80c475bb13374a2060771872462ee21fea0fa932a4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp313-cp313t-macosx_11_0_arm64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp313-cp313t-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.6.1-cp313-cp313t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 554e368b60a4a2828b1c42d603f32cb2c39e8f6861ac6b8927161d35dac0fbac
MD5 43782ed8eefdeeae2292c799cae33209
BLAKE2b-256 11571e389d6bfe54e3f94e7b78cea0b3916d7f5341273e0a76c89fad1c994928

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp313-cp313t-macosx_10_12_x86_64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp310-abi3-win_arm64.whl.

File metadata

  • Download URL: bosing-2.6.1-cp310-abi3-win_arm64.whl
  • Upload date:
  • Size: 491.8 kB
  • Tags: CPython 3.10+, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bosing-2.6.1-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 6a77e34aef53f0014c592649c68d361d650afac473c2dc71f0ddfacbd36276d6
MD5 7e244aafe4667446c0af0d5bf67b2c37
BLAKE2b-256 6b7029486fb71b0d157519ed5967291955c8e94d17e1e4c65c8c3a686dcb0d58

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp310-abi3-win_arm64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: bosing-2.6.1-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 522.6 kB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bosing-2.6.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8050824d155b01133e89906c6e9f96115f5e5911e4d8378eccc39dda7b806ebc
MD5 122a67754fc56227ae5813d9cb681457
BLAKE2b-256 6a1bafab248117e2b9197cadc23746785297e192026d554f3f94958239c01f9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp310-abi3-win_amd64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.6.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a9d5d5c6475bc1c0d2ec94a4869bea64cf007a6bc6bc1da5944ff613e9067f2f
MD5 89841188f5c211ff737c7ba34d5d455e
BLAKE2b-256 1037ea276bd29ca53f52c69c0732d58255c45c8d417af63993e238196d967d7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for bosing-2.6.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 eccbe582e13478284c23686d99f65bc8d1e1f7db51a2ee1054b646fbb5b6cdab
MD5 b35c17dd17f517257bd6c212d40d4371
BLAKE2b-256 a59a29f97b2d276dbc3db1623bb000ad301b8b27f069a2fc8efec8348c5f32b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bosing-2.6.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c1cc44ad10659ea96acee7f57bf7a2c41efb23d31bc1669c97e78169ea1be837
MD5 7b275a236b29849b47fe7af3d02e1022
BLAKE2b-256 0eb0ca326f4d46e13200f736aaa2dedfcbf582e2c7878748bd0e07953919b9d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bosing-2.6.1-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.6.1-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c3cbd04f6c5e8467467a47256c6b3618697006ed2af94c6ebd6dbba1f0d63934
MD5 cf882e60e3c879f15809201ae8091ce0
BLAKE2b-256 a6c421b49ef7acd5050be73c793e68f8d13560b17c28d39852c305818a6d3417

See more details on using hashes here.

Provenance

The following attestation bundles were made for bosing-2.6.1-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: ci.yml on kahojyun/Bosing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page