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.2.tar.gz (118.3 kB view details)

Uploaded Source

Built Distributions

bosing-2.2.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (617.1 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

bosing-2.2.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (617.6 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

bosing-2.2.2-cp312-none-win_amd64.whl (424.5 kB view details)

Uploaded CPython 3.12 Windows x86-64

bosing-2.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (617.8 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

bosing-2.2.2-cp312-cp312-macosx_11_0_arm64.whl (537.2 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

bosing-2.2.2-cp312-cp312-macosx_10_12_x86_64.whl (556.3 kB view details)

Uploaded CPython 3.12 macOS 10.12+ x86-64

bosing-2.2.2-cp311-none-win_amd64.whl (428.0 kB view details)

Uploaded CPython 3.11 Windows x86-64

bosing-2.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (616.3 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

bosing-2.2.2-cp311-cp311-macosx_11_0_arm64.whl (535.3 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

bosing-2.2.2-cp311-cp311-macosx_10_12_x86_64.whl (554.8 kB view details)

Uploaded CPython 3.11 macOS 10.12+ x86-64

bosing-2.2.2-cp310-none-win_amd64.whl (428.0 kB view details)

Uploaded CPython 3.10 Windows x86-64

bosing-2.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (616.4 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

bosing-2.2.2-cp310-cp310-macosx_11_0_arm64.whl (535.5 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

bosing-2.2.2-cp310-cp310-macosx_10_12_x86_64.whl (554.7 kB view details)

Uploaded CPython 3.10 macOS 10.12+ x86-64

bosing-2.2.2-cp39-none-win_amd64.whl (428.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

bosing-2.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (617.6 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

bosing-2.2.2-cp39-cp39-macosx_11_0_arm64.whl (536.3 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

bosing-2.2.2-cp39-cp39-macosx_10_12_x86_64.whl (555.1 kB view details)

Uploaded CPython 3.9 macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: bosing-2.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e9cb09391eee572abece23ceacde8b833e8e12a8daf9a1a682aee7b736f1a56b
MD5 84a30a3f79da7c238f0ae9d63010866f
BLAKE2b-256 93b67ed226fce5e08d855aec74e177393423e6cfa4282d82da334f2827ec0689

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a8048eb9eacc90925b46bc82d98feb68442c20ea729e36dbe7087808862525c7
MD5 86365e41710afff7fea781a49c00b3cf
BLAKE2b-256 95a577f4d5f02652c5831c5f24815bd091bddc500244defa2a9996429335ed66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fa724dabd7c783757580d724d871b32527aecda898f5f177c84a733110a38b23
MD5 b6c8694b00a584b59bb295728c89b173
BLAKE2b-256 53360874791c504d03eb6a13c0621ccdbabc3e36e862e08c9606d1bf4a5e4d7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bosing-2.2.2-cp312-none-win_amd64.whl
  • Upload date:
  • Size: 424.5 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.2-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 5ba6e9a68563f87ecb3d09a117ce84c18d5cc8b20fa567e0db99ee8216fc6773
MD5 856c1841dfff95102420bf412f53c190
BLAKE2b-256 1f1c89f89bd1338d9028c55ed658bc4cac1af31b633caa01e85bb72f477f518f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 014e1f89fcdad697e61da641f4141915087cb73226938bab2e3c7b83907abf8b
MD5 46c98f9078bf8dd52a1f1247abc1aa75
BLAKE2b-256 6dc3e93f1b47188a0149c5efabf4522b258431db10d61d5351901d9d65545356

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a526f710516930e446cc65e291f3954400f5ceb05e6516bf8c694b360aa9f07d
MD5 1bcce7953f17da12c612522e97100722
BLAKE2b-256 90d163f4a51b103b7ffca030d5f375091bcd1725c08ae01154d28701f7463915

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4b6af9cb17007cab6c4b44a69d60a23e370e9adae4f5c3327a189ed6a8b29d6e
MD5 accae582bc2a6d3afa6552bf65f395e3
BLAKE2b-256 78dcabc59fe1d7b1a7bdd4aac9fedcd2bfe46f4d8fc6eab16b0868b0484cd964

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bosing-2.2.2-cp311-none-win_amd64.whl
  • Upload date:
  • Size: 428.0 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.2-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 c0da083fec8e97c75d1474f6ec464a533588ecb39261fc3f5dab000612b689d1
MD5 3c25ada95f877af6e25f2601806702cb
BLAKE2b-256 e0afbbccf903273b3a1169eec63879e5df1f5275e200012a669c936267a9d443

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 443af66d5fe90a9f2d263d7232f000f3b5eedcfe9ff5df8a16f9aab1cfdd9870
MD5 dc7f4835e22cb68b79439ed4a43af33e
BLAKE2b-256 3680fda7da49968f0d8f7400d745477144fd525e12f7cb4b73fb270a060cb6a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3041a5120ca20479f33a7fe4acd484b1196e1f5b2fb6f9b54f64f355e6444365
MD5 34c30dfe782504dee3eeb34194370edd
BLAKE2b-256 27a5f92054c90147b6a3804295d8e1a19d6fe801cbe2d747b7bf874509f851dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5f7e93831202e307e85df93a690467ee4651641ad178496944de7aaacb0d32b8
MD5 70c64ca789e73c3f04d7d34ff5f6c870
BLAKE2b-256 8d3440b2af9fe5b7430caf6e1fd31797f8b7893ce4ae3467486056b3a94428cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bosing-2.2.2-cp310-none-win_amd64.whl
  • Upload date:
  • Size: 428.0 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.2-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 c4384bda13cd083585a1632907a4def5e3ed62d6dcd8d7b7e4ac800ca5f865b0
MD5 10c1c86ebc4bf43a9321ab2debb72ff6
BLAKE2b-256 7c87728305792cc6e9c0b541020cdcf1464ddcd4eadbf73be2d6b05d05d969c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fae097bef8fa620dacfa175bd0008636ac052e2ea55ffcac2e5bbba4dfa4e25a
MD5 fb30d59bd343635a27cfb1ccb7a46627
BLAKE2b-256 926e2e31f0fe48aaa65a119adbbcbabc2df10fda3d6a9681d025adcf0abb230f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e2b9999c923ffc42817d15ab2f596412f0942972b7fa73ffd02a49129350ebcf
MD5 03dd6ae69d31f3978169f57e8dd699d2
BLAKE2b-256 cd0fc765d2edb21bbc48475154ae8cac473dea8b37acbbafb4be2a62d4c095d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bcf563ba389801b929356f689dc4c43e0e8c9e6c69ce7f68521061c51610d433
MD5 55089b0361e58b859e9b5809fe5db660
BLAKE2b-256 320f179e33cc6c5a1f6c75f571867be101961cacd8707f80d9cd5efcd6c61753

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bosing-2.2.2-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 428.4 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.2-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 b752461ee2072d414f81937733aac9da06a7c99eec60bef7d7bab6e2308c79e4
MD5 5843d0a2dddc9c279350c9af476d4669
BLAKE2b-256 a5f954a2ac1366cddbd67bd2fb3dc3186833e163c6c746a7b79eb41972b74b4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c40807b5cb16445ab297c4818b7e06b7d75a598f2c1351dba46f382d4c95e719
MD5 a9dac671a4049768b5f7db779bbeda8d
BLAKE2b-256 fd181073b93f8be357fe0f9be44764480ad9d7b4ab3bf4fd55598c2d925b5de5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6fe8eb1a7ea5b560db6a3e408ca3abf2c5f71b31faf8281f7835a5f743f49e47
MD5 94adeaf293c261bc2b1e02224b989657
BLAKE2b-256 fe03b894c68258865daf205a2f76c4994f0969ead3ade22c405de59dc676254e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bosing-2.2.2-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c4567b0a0638d8c73525ccfb797a989884ea2cf30481bb50edf5c29b797699b5
MD5 cabb5b909c3e6190ef600e9992f824be
BLAKE2b-256 6cd68bced4c4171d6e1e387e82f7b5d3f64e2f4252bcb38e0c3278af74b98190

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