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.0b3.tar.gz
(61.1 kB
view hashes)
Built Distributions
Close
Hashes for bosing-1.0.0b3-py3-none-win_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 294f10216ef3182bc5656c8fa6b0924f867a66a7680a917721eacfe5e4b2e3a8 |
|
MD5 | c1c9955a71523a5fb5e402f753e5defa |
|
BLAKE2b-256 | 9fae0aa69d9c1e32d66bc2e3ea75fdc8a09f6fea3d529863eaa8a56919966952 |
Close
Hashes for bosing-1.0.0b3-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1032f99dd25897f245350066d6659b0cb34f62524d8edf92aded1c7de46d97ba |
|
MD5 | 016db34cc91e1a7ffb095cc4bf252dce |
|
BLAKE2b-256 | 909753120d4c80ae2311d96b00cc53b3f9940f04a4de159edddb437faba64e8b |
Close
Hashes for bosing-1.0.0b3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1a5f16b0e0e43b5572f4c7a5610e9c48e3f7a9d280944f8d99bf53185f36d08 |
|
MD5 | 888465a78d58648aaa27a099c6e67a38 |
|
BLAKE2b-256 | 78350d450daeaa19bdcb5eab4d0dd9f62956b731e0ea62da975a4ef2d208ee1b |
Close
Hashes for bosing-1.0.0b3-py3-none-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80f2c31f50627691683dc8c1b815c0ff05833074de07119ab2f0432b872a6ad7 |
|
MD5 | e63705ba83abf8cebc481b1a34f02a1a |
|
BLAKE2b-256 | dd576a9f0a8e00279f187d33e7daadfaa0d04fecfb4eaf2f36f49748cf704ff9 |
Close
Hashes for bosing-1.0.0b3-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98fc2e5142fc0a74fda60e509ec1f31e014db5d6006fdb043a56b1e283184f1d |
|
MD5 | 63b9e174b906a4381ab3ba5c81fc6026 |
|
BLAKE2b-256 | cc9ce23488bf13d712b87ef529d4599a17a3023f2ab90570b3b62641a6a1f200 |