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
Development
Prerequisites
- .NET 8 SDK. Install the latest .NET SDK from here or install with Visual Studio.
- hatch for python project management.
Development install
Ensure dotnet
cli is in PATH
.
git clone https://github.com/kahojyun/Bosing.git
cd Bosing
pip install -e .
Build docs
hatch run docs:build
Run tests
dotnet test
hatch run test:run
Usage (TODO)
Examples can be found in python/examples
.
from bosing import Play, Hann, Channel, Stack, generate_waveforms
import matplotlib.pyplot as plt
channels = [Channel("xy", 200e6, 2e9, 100000)]
shapes = [Hann()]
schedule = Stack(duration=49.9e-6).with_children(
Play(
channel_id = 0,
amplitude = 0.3,
shape_id = 0,
width = 100e-9,
)
)
result = generate_waveforms(channels, shapes, schedule)
i, q = result["xy"]
plt.plot(i)
plt.plot(q)
plt.show()
Tooling
Use Visual Studio or Visual Studio Code with the C# extension.
Manage python project with hatch.
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-1.0.0b4.tar.gz
(61.4 kB
view hashes)
Built Distributions
Close
Hashes for bosing-1.0.0b4-py3-none-win_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 957e8611d36de6b9f22394e1e55c0aed0c7340e251f7236310b29c856689cf39 |
|
MD5 | e0d97b363781853f7c61125e9992eb89 |
|
BLAKE2b-256 | 591e072abc24cfc954e789bb5426a6f21f2fe542348547aa63c7444e494c069e |
Close
Hashes for bosing-1.0.0b4-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 297f8e9b4088f976f4d55f816c300862d5cee6bdddfc449d10c6274a7784ab6b |
|
MD5 | 317220c725150b6f61163c062f7af0f1 |
|
BLAKE2b-256 | f2084112196936ac48c3f411f18c8e282eac4b9a0819fb104d40a17acb304604 |
Close
Hashes for bosing-1.0.0b4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e053b86bae3449281fae19cbb09873443b159fd63daa49dee2098d1bf472fa90 |
|
MD5 | 583aa086383e79aa6a7b6e138827c58f |
|
BLAKE2b-256 | 42625c83e51e9b54758c6bb08fd287ff921010f22644f5e5df922888fc3646f1 |
Close
Hashes for bosing-1.0.0b4-py3-none-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73780bb455a93a0630554e8283668d100ffe7e583b8edbfa3f619bf420f0916f |
|
MD5 | 68d0015001e3c77b9fada84c3d77c9f8 |
|
BLAKE2b-256 | 0811bc7005bb148c925b9b6a7672133abd8989ced11e563f022caec6332d6f36 |
Close
Hashes for bosing-1.0.0b4-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b7c50df746c25dee160a067f4e202292f2d852517bbf4384035cd378b9f832a |
|
MD5 | dcc1b5e8b48153a4788da081915745bb |
|
BLAKE2b-256 | 1492dd00ae2e362fa8cf377393c7e12e445a0ef2e417bd24d6f9ae9110224777 |