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
Examples can be found in python/examples
.
from bosing import Play, Barrier, Hann, Channel, Stack, generate_waveforms
import matplotlib.pyplot as plt
channels = [Channel("xy", 200e6, 2e9, 100000)]
shapes = [Hann()]
schedule = Stack(duration=50e-6).with_children(
Play(
channel_id = 0,
amplitude = 0.3,
shape_id = 0,
width = 100e-9,
),
Barrier(duration=10e-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.0.tar.gz
(63.8 kB
view hashes)
Built Distributions
Close
Hashes for bosing-1.0.0-py3-none-win_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f19d4e30c08f3eacc93e68992fd66e2e3aab1e677b17da0ba4d22a16e578e052 |
|
MD5 | 0f81d1eef3ecb52af36a1856eb5a4450 |
|
BLAKE2b-256 | d811d35c3fcedf74692f3253f784a0b2ffd82b4de8fd473f900ae213a504dac0 |
Close
Hashes for bosing-1.0.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a20b2e3626d9c54cd09e116b4ca723ab977364448004e98432194ec0ad6ce626 |
|
MD5 | 43ce31da13593432669d3c2bb4d7f17c |
|
BLAKE2b-256 | f1eec181eddb6c28444a57ef9a4849b4707bc9940eb8d624a59a79beafd37172 |
Close
Hashes for bosing-1.0.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41fa4da799bb0592840fa8c84bebb46e6bf3bb860d2f3c5f2be6f0e2823b7c0e |
|
MD5 | d5eeae87dad8b9d8c79392c10aed6434 |
|
BLAKE2b-256 | 6dbdc6de283cd17a3f6663a3dce5e679a722d1029481bd38ed6a5381f82f6d88 |
Close
Hashes for bosing-1.0.0-py3-none-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f44fde95480ac2a97b5d2ad971f629273a108e02cab50c7789de300a8a19e623 |
|
MD5 | 11915de31f4a55995247561c24ae1fc3 |
|
BLAKE2b-256 | 47e4456b6aa00d59b24d7844efe463cacf06fdc795b37baf0238278e2a57363a |
Close
Hashes for bosing-1.0.0-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7081f98f0716ac580353a9ca405dd0ba945ec73a8a79e31ffe436594826a39d |
|
MD5 | c2d48f274c1710f413806de6b65345a8 |
|
BLAKE2b-256 | 1989f8006a09bc7fa3b8a4789e7323a501d218f5df5e00c08a84d43a007e0081 |