Skip to main content

Waveform generator for pulse sequences in quantum computing

Project description

Bosing

Documentation Status

Waveform generator for superconducting circuits.

Installation

pip install bosing

Documentation

Docs are hosted on Read the Docs

Usage

Examples can be found in 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()

Development

Prerequisites

  • Rustup for rust toolchain management.
  • maturin 1.5+.
  • 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.2.1.tar.gz (118.3 kB view details)

Uploaded Source

Built Distributions

bosing-2.2.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (619.4 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

bosing-2.2.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (620.0 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

bosing-2.2.1-cp312-none-win_amd64.whl (428.1 kB view details)

Uploaded CPython 3.12 Windows x86-64

bosing-2.2.1-cp312-none-win32.whl (406.8 kB view details)

Uploaded CPython 3.12 Windows x86

bosing-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (621.8 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

bosing-2.2.1-cp312-cp312-macosx_11_0_arm64.whl (549.9 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

bosing-2.2.1-cp312-cp312-macosx_10_12_x86_64.whl (562.0 kB view details)

Uploaded CPython 3.12 macOS 10.12+ x86-64

bosing-2.2.1-cp311-none-win_amd64.whl (429.3 kB view details)

Uploaded CPython 3.11 Windows x86-64

bosing-2.2.1-cp311-none-win32.whl (408.9 kB view details)

Uploaded CPython 3.11 Windows x86

bosing-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (619.6 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

bosing-2.2.1-cp311-cp311-macosx_11_0_arm64.whl (547.2 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

bosing-2.2.1-cp311-cp311-macosx_10_12_x86_64.whl (559.8 kB view details)

Uploaded CPython 3.11 macOS 10.12+ x86-64

bosing-2.2.1-cp310-none-win_amd64.whl (429.3 kB view details)

Uploaded CPython 3.10 Windows x86-64

bosing-2.2.1-cp310-none-win32.whl (408.3 kB view details)

Uploaded CPython 3.10 Windows x86

bosing-2.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (619.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

bosing-2.2.1-cp310-cp310-macosx_11_0_arm64.whl (546.7 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

bosing-2.2.1-cp310-cp310-macosx_10_12_x86_64.whl (559.7 kB view details)

Uploaded CPython 3.10 macOS 10.12+ x86-64

bosing-2.2.1-cp39-none-win_amd64.whl (428.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

bosing-2.2.1-cp39-none-win32.whl (408.3 kB view details)

Uploaded CPython 3.9 Windows x86

bosing-2.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (620.2 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

bosing-2.2.1-cp39-cp39-macosx_11_0_arm64.whl (548.0 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

bosing-2.2.1-cp39-cp39-macosx_10_12_x86_64.whl (560.2 kB view details)

Uploaded CPython 3.9 macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: bosing-2.2.1.tar.gz
  • Upload date:
  • Size: 118.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for bosing-2.2.1.tar.gz
Algorithm Hash digest
SHA256 7bd0f87c65c8620ba5e4d1cb851d1e4ba36adfe59defd7a73f617b3be8be35dd
MD5 be8cf4f165b2fb09afae3b4f32a51af7
BLAKE2b-256 05eb15829fdc6d5a8a3416b1ab7b06e6c04e6f17070708971048f9346343288b

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a28d05f2b93edff24f80fd7c887a615e7c068ccc93244a1da4141d427b9542ab
MD5 69e1adcc21e985c1a123bc4fb95d7bea
BLAKE2b-256 f19d8be1f7899c88d924e89c913722614f4b3dd8dc291a998f9110c4cb3afb88

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a305c3ad181785cea7bca593e098498cae7dace18cb8df28d68888c13ac03b94
MD5 bf46d864134b8f922443744e16143cf9
BLAKE2b-256 a2e3189bb9deca697bd245574e232e6f2c96eac666e52b1e5800ca0ead53e13d

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp312-none-win_amd64.whl.

File metadata

  • Download URL: bosing-2.2.1-cp312-none-win_amd64.whl
  • Upload date:
  • Size: 428.1 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for bosing-2.2.1-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 e2fc5d5c0203a25f2787a6bd2ef818396a2e5024e925cc1f368ab952b039514c
MD5 e80351714102ef77cb1f8678d13b30a1
BLAKE2b-256 b1733ba1b10beeed05dc2d167eb2c8361ad56faf7f377ec42cfc235a74488383

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp312-none-win32.whl.

File metadata

  • Download URL: bosing-2.2.1-cp312-none-win32.whl
  • Upload date:
  • Size: 406.8 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for bosing-2.2.1-cp312-none-win32.whl
Algorithm Hash digest
SHA256 b533927d8a85275e0add3deaf7a543516a9cb823c629ccac1e788a0b59f2a4fa
MD5 88abb3808989f301f4d15bd2c235bc10
BLAKE2b-256 5bb817808ed689200fd21791bd0d5c5466c5a7d4973a4ff0fb43007ee35629e1

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 091640b304fb422539c2e7279e5989797434ff2a932984777a2fb22f228ab2c6
MD5 50ca08068e887420d49cd9704debd4fb
BLAKE2b-256 89571a44a367188b9dcaf9d0c6f87ce83620205508641255720a007080ab1edc

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 db794bb56babb4b6aee865c02b644e586b15982e749debe315853a16e33851f4
MD5 050fa3d6825ca5656293042d891dac41
BLAKE2b-256 4b843f14abac6d4c45ac70034ec6a45b504bf17c3ddc7c65046044c22844461d

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 13913ecd89716c0d6d422e332c84b09b5dad23441549d6b7b68048a9ce14bf78
MD5 1e0ebd720bda7eab14e4df01b090a3da
BLAKE2b-256 303c3060dbfc7817261851156abfa1fce2393f354be7609ecda0b3c4d0ef8f7c

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp311-none-win_amd64.whl.

File metadata

  • Download URL: bosing-2.2.1-cp311-none-win_amd64.whl
  • Upload date:
  • Size: 429.3 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for bosing-2.2.1-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 a410ab52270130ad1bd7c477d328b018a1809c22ccbb2a793cfcc97efec7c8ba
MD5 7051bca3e08f5d66fa30f918a93dc441
BLAKE2b-256 db702d10ca4511a9f18c2cdd74022bee591e8fb0273f8621dbfb5590a58ca588

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp311-none-win32.whl.

File metadata

  • Download URL: bosing-2.2.1-cp311-none-win32.whl
  • Upload date:
  • Size: 408.9 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for bosing-2.2.1-cp311-none-win32.whl
Algorithm Hash digest
SHA256 bef0052ad1ec64206f15a7816157b677611d62297812c976b4323af321792f7e
MD5 029d6fa01c727dcb2ce5b44fa049c400
BLAKE2b-256 89aa348610b38771afdcbea67d108bca3b70888d60e563bd7b7ebf243ba7f765

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fb966c1290a4f9c8c912fd4839d2f098945e76249882a35dfc2a8ac986f8b677
MD5 b00b8100a59cd3ff1acada03b2af4758
BLAKE2b-256 5dc14b105ce990974e461dec7a30e2bef11feb1f52b269217797181cae52c899

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 24072242ad587dd705edb4cc7df4aab42891df1beab583732fe2f3a2631677fe
MD5 cb0638d3a8ec70ec8bbbf43427ca7557
BLAKE2b-256 9cb46e33762c1c94b2854ef87ba88c1c05d48499f6f50a31525fa4eaa2eb8784

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5f7a78c9a5bd962399fd256f2736f7d4deebbc6bfd2c4729d0ece5c90fdbf6ec
MD5 a1f6247827af9cebe86017eda3014fc7
BLAKE2b-256 222c32f2965866344e48f3b4f1cc5f389f5f33f939920c40487369a734337b8a

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp310-none-win_amd64.whl.

File metadata

  • Download URL: bosing-2.2.1-cp310-none-win_amd64.whl
  • Upload date:
  • Size: 429.3 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for bosing-2.2.1-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 c3d177e5e706d3d1ac824bf2c7bc37796a4b204dd57137ccffef9dcecab176d9
MD5 e399da1c8fe2c02e63b064b1b1945e76
BLAKE2b-256 0a6beb475e74901a7dcc22a2eb5da45ad5b83bdd6c194ad08833b4cc5bdbd20f

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp310-none-win32.whl.

File metadata

  • Download URL: bosing-2.2.1-cp310-none-win32.whl
  • Upload date:
  • Size: 408.3 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for bosing-2.2.1-cp310-none-win32.whl
Algorithm Hash digest
SHA256 a01db8c5fdfa21f8ae3287e8c0a13752ac3e6f7fbe9d59b47a58283c47fa9706
MD5 fa0a7626f841aa0fe82e9f79f4b0e04d
BLAKE2b-256 0a87bc0b20f8f4ab2d92779d039a70d6ffbad9606c2d42bf15e4a26331194bb3

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 22463b53def53a9e588df99d3d06c7a0d785ad33a65f3e7de089fd8093ab4c10
MD5 3cd2120f495c845a43f03d0253fb8dad
BLAKE2b-256 66ca3ad27e41ee52db3280bce68b279603a9a2f0ae6d16722dd7311ebf2925e3

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 986a2ef239ba0c31e77fe9270be04ae86461a73756756d13e7abf88be3fd429d
MD5 d66ee28fc932695aa6c67677b0624697
BLAKE2b-256 540f11464be674fb3ffb45952330e729222bf4771c8c864a9a25e878b0f7e61f

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 462de4ecc4aeed835312d2f309fbd7e961d0c534265b24d5426be8eeba2ce8bd
MD5 bf56fc8d7cb099301087d72c46bc32a6
BLAKE2b-256 af5b6b8574c0902560f473ff3df11db3f376e967a84d5d3cfb0e9aae37d12f0b

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp39-none-win_amd64.whl.

File metadata

  • Download URL: bosing-2.2.1-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 428.8 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for bosing-2.2.1-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 28e3214bfcac3f33b1b6d62146d209c34f1ab442319ec2e5d1d17324c006cc9e
MD5 f52976b293c84d0119b7330ed80d76f5
BLAKE2b-256 3aeb9dec2d40c946c18335a8d82802d4470040a042c26b1c4bfb737ed5027477

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp39-none-win32.whl.

File metadata

  • Download URL: bosing-2.2.1-cp39-none-win32.whl
  • Upload date:
  • Size: 408.3 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for bosing-2.2.1-cp39-none-win32.whl
Algorithm Hash digest
SHA256 10129034085a6a3a32be1f78d45012c67984ca18c566e1f493f9ce9334b51f96
MD5 43a2b5d609adb18d9daf8d8a6cc356e9
BLAKE2b-256 c21494c950a7bacf3eb231c7b49dd2f3bbdcc459ed7254b5c562cfee00bf8753

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e4dd49b0b500da0a3bcb7d405ae67206f1d47f789450850ce42ca1c464c1081b
MD5 8d0fff50cb4f86463dfee7c2dbbcca97
BLAKE2b-256 d433fbee343b95c98e53457ac8e1776704c1652a092e60848e7d0e62adf98c32

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f23265073d283e5fcdc33b0c174ba022342fa0742c604c7da1f9d450bb080c22
MD5 d4e814919df8b92a05d715f793c63863
BLAKE2b-256 72d277cf56f41a90c02d9ba8119166a2d3b9c8afd2f814fb06ab91ad40272908

See more details on using hashes here.

File details

Details for the file bosing-2.2.1-cp39-cp39-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for bosing-2.2.1-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ef724a1d9d2ea18f97145c63d1414d0e370870d2faf45520a0f10dc8a50462f1
MD5 35f51b9cf770fbc0bb310c67f8dcd976
BLAKE2b-256 f26a34fd520a4759733fd5f1cc0b4e514fc4da222eb36a983f14015a961441fc

See more details on using hashes here.

Supported by

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