Waveform generator for pulse sequences in quantum computing
Project description
Bosing
Waveform generator for superconducting circuits.
Installation
pip install bosing
Documentation
Docs are hosted on Read the Docs
Usage
Examples can be found in example
.
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
Development install
git clone https://github.com/kahojyun/Bosing.git
cd Bosing
pip install -e .
Build docs
hatch run docs:build
Run tests
cargo test
hatch run test:run
Project details
Release history Release notifications | RSS feed
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.1.0.tar.gz
(55.8 kB
view hashes)
Built Distributions
bosing-2.1.0-cp312-none-win_amd64.whl
(412.7 kB
view hashes)
bosing-2.1.0-cp312-none-win32.whl
(396.2 kB
view hashes)
bosing-2.1.0-cp311-none-win_amd64.whl
(415.5 kB
view hashes)
bosing-2.1.0-cp311-none-win32.whl
(398.7 kB
view hashes)
bosing-2.1.0-cp310-none-win_amd64.whl
(416.0 kB
view hashes)
bosing-2.1.0-cp310-none-win32.whl
(398.7 kB
view hashes)
bosing-2.1.0-cp39-none-win_amd64.whl
(416.2 kB
view hashes)
bosing-2.1.0-cp39-none-win32.whl
(398.4 kB
view hashes)
bosing-2.1.0-cp38-none-win_amd64.whl
(415.4 kB
view hashes)
bosing-2.1.0-cp38-none-win32.whl
(398.5 kB
view hashes)
Close
Hashes for bosing-2.1.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52b23c38e8554f290d123bdbdda09b8bc05066453b0bc3fbb44e405aa1d8bb18 |
|
MD5 | a89eaac9073787c32a47a58a68d3a986 |
|
BLAKE2b-256 | 8cf1602b282375699c3a52c49906c77721024933706ff9d83a719d4e60e51e72 |
Close
Hashes for bosing-2.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5560e821c3241ab8d8628bc32a28df2ed056851d3b0abf0fe49ebf4d05261476 |
|
MD5 | b2a8e9a6d0ef44fa8759e4346d05401e |
|
BLAKE2b-256 | 4d75fd146f52cfd3b075bbe57329ca561af1d8c30fb4dce7995144376fc6650b |
Close
Hashes for bosing-2.1.0-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5a1f2a0f878293e304e303f62429a13dfa267e45d1bd93c1e5c82f1f4f8587f |
|
MD5 | 673e4a195229988015dbc67cd0b174e5 |
|
BLAKE2b-256 | cc5d953e8476801ed6426c9b3b13a61dc6731012ba678ecdca09e4da3b90b0f3 |
Close
Hashes for bosing-2.1.0-cp312-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c6a6601746a1fa71986b552affd770921b6b807a3813549efac0d688f1cdf05 |
|
MD5 | 3e5355095c2ecd60bd6a505557c7d575 |
|
BLAKE2b-256 | ad8ce327a29cccbe504baf4c0addf9ead7150f1d487979ad157e51f4e46abaac |
Close
Hashes for bosing-2.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 601305d3f451aa9b9359939b323562916c062bc899c2bef7aba13ae547202df5 |
|
MD5 | 8122b234e9c69cf49f90268c383ee1c5 |
|
BLAKE2b-256 | 17f3f098745e062a2ef06cf83915449a409f575da7d8c6ba29d9319317c49d9a |
Close
Hashes for bosing-2.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71c988d2e98cbbef9434f534c0ad3c3714eb96a27bab60785f48c5bb8e3a5ec |
|
MD5 | 0b462ef3a252bbd32704e67c6a91d6fe |
|
BLAKE2b-256 | 1f98a273d9bd84c9254fc849f7ad8ec1982cdde30a34c2eb6025a2e9f5b34acb |
Close
Hashes for bosing-2.1.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e67967a2d0e67e552de4dc3350204c45aa09b20108877ba557f1ab583224d06 |
|
MD5 | d03e264b3e4856ac58cf644dff86dbf0 |
|
BLAKE2b-256 | a9795c931ae0da9d9e1dd5859043d1e6b6e2b5609d7db9d0dcf0a6fbd2758c68 |
Close
Hashes for bosing-2.1.0-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaf9846e294c2298f0e2109584a2271e9ce14bb57ad3084a2bc8bdfb3f76dd02 |
|
MD5 | 4650f084cbf11856dddac53aee90c9eb |
|
BLAKE2b-256 | 62bcbcca2861a551553e6f2aedb1b2940cbaf5b471ed6818572d560c7213db2b |
Close
Hashes for bosing-2.1.0-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f47b9039feb3f69fd98bae2ae324acae073f3c3954c9914e44cae03e26274af3 |
|
MD5 | 4cf852fa9c45211d4c799bda00a1364b |
|
BLAKE2b-256 | afd2138e1133ecef4200932c955fdef2b6d38fc0b6c7f37cd36e9f288917cd70 |
Close
Hashes for bosing-2.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53a1ebf22cb9bea1599bc40c1d222cc326e2b19da9fa7f8cd4d5c79b2ec328c9 |
|
MD5 | dc81b118c84bc3cfe1cdae344806af91 |
|
BLAKE2b-256 | 94e1b954f35178dcdf0bd651fafa0d6b01442711721089ad8ccafc52332addfd |
Close
Hashes for bosing-2.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fc4d943e6a6f05ea4a575dc6047b58f2c0a5678b1ba4e71aa6e56ed23d1a19a |
|
MD5 | 958ce18c407152eaf891eef5ee05ef9a |
|
BLAKE2b-256 | 806b952a443112da92e4ad77f610cca8122544176c59772702e4cf30877f0bed |
Close
Hashes for bosing-2.1.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85e848fe57a361a19dc4edafb034449776008a069a4a5697613835af2baafa17 |
|
MD5 | f66be77de22ac17fd21b249a9a73dc80 |
|
BLAKE2b-256 | db96c9fdfc298586fc79e9f95d3623c58c33f819e6993d5c00e779b8172486ee |
Close
Hashes for bosing-2.1.0-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 888f4816a599504453fcb978894f5f882ce5eef1f8ee0ba9c5c027fcee020eed |
|
MD5 | 9af6cc717acbb0f84c47425355eb763d |
|
BLAKE2b-256 | 686f6d29cfe3b26304c58014f09fbe0d207445a12554b3d2a4a870f9d17a9f74 |
Close
Hashes for bosing-2.1.0-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 649dd99007c3e7c4742ee2a3b8da52e21460cc830b843cb398db6320014d462f |
|
MD5 | cf9a62b1271a43a96fc768a26103f053 |
|
BLAKE2b-256 | 3a5495c9df291127452ee83971a11b09d320a5108f658b6c57a5675eaa647ef7 |
Close
Hashes for bosing-2.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39e0f78b9203af41177a4b4b685d57423fdd45d0de4bd7cff2b9be8b7cdd0a24 |
|
MD5 | 5acc6300a3ad872484ebcc76f36d6fcf |
|
BLAKE2b-256 | b2aebe6d395ec18b3552ad7365204c5761f5621e4a673a869044af5511aa076c |
Close
Hashes for bosing-2.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65d3c7581cd08e8ea6dd7ecce1586b43ca5b735e5ed938ed7a61e6a8e1ec3ecc |
|
MD5 | 911d68d89da02f0f2022e8d67dce7d21 |
|
BLAKE2b-256 | 9975f9a63042779ec801c395a5e85bfc97fde482daffb70d06f306df94b7d067 |
Close
Hashes for bosing-2.1.0-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a494d8a50e8cb5bd128295662d98c149d264a99129f17db11f05fc210312f17b |
|
MD5 | 9532b91a1b6cf89ecfcaf5b985abb366 |
|
BLAKE2b-256 | 5560025e40cbb53b9ea2cd6225845f0ec7719ee36b5c6e05beedfe5b8e144a9c |
Close
Hashes for bosing-2.1.0-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b57757463cb802dc84509ddb2dd73842a16d9c8e967f38ac93fa6445abc39a4f |
|
MD5 | a25f70b2ebf2f34201caabf8715e6b46 |
|
BLAKE2b-256 | cb8adf40f2be02e198742fcd2c2bebb12d130deb46eb68c4f668728f5024cd94 |
Close
Hashes for bosing-2.1.0-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db4508a817750f2af82354a35d96093c533aab19bde5408530bd92a4b4afceae |
|
MD5 | c64cd1bd9c90ba42308619f587b6fdff |
|
BLAKE2b-256 | 4407be251471d8cfee799907025096f671149117441a5ea03b449a1f3f87d417 |
Close
Hashes for bosing-2.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ae097b6d183c391f1ffe017e6576640924f656a7d87d82e329e1fff9f5cc096 |
|
MD5 | fc296b0154f89b6e88cef42064baac87 |
|
BLAKE2b-256 | f07ffb9c93522498067341c7c70fc3d79f5cd584679d91722ad0dce4fe132825 |
Close
Hashes for bosing-2.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b1cb34823bfd7126b3ad15494b22274107d5214fa55983141b1e3127cc92a85 |
|
MD5 | 35f5462b0feca3c4e84695fd10702873 |
|
BLAKE2b-256 | 423043b17fec95f6bf4456a79cae936e7a98a84635fe56b4a3b9784e5655ad7e |
Close
Hashes for bosing-2.1.0-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 931bc505d190c40795432981c8ffd660552aedaa80ccb4d0548d404e66ee39d1 |
|
MD5 | 7e2dbd7598545a4a06aab412326b9ebe |
|
BLAKE2b-256 | eb197654f6a47ff5aea0532d92087d0930ff4ded697ac38f7c32f85374805834 |
Close
Hashes for bosing-2.1.0-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 226600f01917733b552f8fa1793a838d82329929792f2647c127f03219ff5381 |
|
MD5 | 899a6de5bf0144d363b894f1c5b1ef0b |
|
BLAKE2b-256 | 21a1645d6f6c219e70c474a86508f90519356f321f9553cd56b7fbb1fd13a6b2 |
Close
Hashes for bosing-2.1.0-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6035bdab554229d5762c4f83f79b4e1a2ea88a9d8103f1a8f457c037e108001 |
|
MD5 | d6a3105358a5d243c7d726afab2c4821 |
|
BLAKE2b-256 | 668947cef8e68230250d1fd720dc43c5efec7f4c477322b277adf97499e20a8a |
Close
Hashes for bosing-2.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1e8f6e3f5ceb5e962c01171c0023b90616969fb6b3a9402f598d394300fdbe3 |
|
MD5 | 9598089da241b5638003b89b30ad90ee |
|
BLAKE2b-256 | 9be16f5f92563dc0457ed939d6af85f8880751591b4bd2f03f6c53af04db4acd |