No project description provided
Project description
FreqAllocator
Install
Every time you make a change to the code, run this in your conda environment
pip install .
Usage
Example
import freq_allocator
H = 8
W = 6
xy_crosstalk_sim_path = Path.cwd() / 'chipdata' / r"xy_crosstalk_sim.json"
qubit_data = Path.cwd() / 'chipdata' / r"qubit_data.json"
chip, xy_crosstalk_sim_dic = freq_allocator.load_chip_data_from_file(H, W, qubit_data, xy_crosstalk_sim_path)
chip, conflictNodeDict = freq_allocator.sigq_alloc(chip, H, W, arb, xy_crosstalk_sim_dic, s=2)
for qubit in chip.nodes:
print(
qubit,
chip.nodes[qubit]['frequency'],
chip.nodes[qubit]['frequency'] - chip.nodes[qubit]['sweet point'],
)
Run single qubit allocation script
python ./test/allocate_single_qubit/main.py
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 Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file freq_allocator-0.1.666-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: freq_allocator-0.1.666-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 202.8 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8004bafd3006ccd9e468ae5eaa1db8171fe8bf5a94cde72a16b43a2211da5e46
|
|
| MD5 |
1b03133d5725cd05fcbba5a8e444b9c4
|
|
| BLAKE2b-256 |
1aaf6edff179ca4241f3e7a393793a3d6fcf1f87e1886514fb2669b339832100
|
File details
Details for the file freq_allocator-0.1.666-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: freq_allocator-0.1.666-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 202.9 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d34c0b62b0d6d37d09124fc02789ffefd9feed7bfba740459caac4e3a8e95ba
|
|
| MD5 |
f9b01a81301e450ebc8797d873f5de5e
|
|
| BLAKE2b-256 |
156837569a03aa8952524d918176dd2e4f16bc1e72a4015689e2e4a11a05f1b5
|
File details
Details for the file freq_allocator-0.1.666-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: freq_allocator-0.1.666-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 202.9 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c162babbde346b9160e338f84fd6d6b487d9faee1ac6e6aa28968dfe2ce78a3d
|
|
| MD5 |
ab415c3da94bfa4c1291d68e9ec5e180
|
|
| BLAKE2b-256 |
fb07dea264b7ecf47e7b0260bc8eabd4e814868d9f699897078d14d7d92e3f19
|
File details
Details for the file freq_allocator-0.1.666-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: freq_allocator-0.1.666-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 203.0 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3f269875ca25ed51b9ba86a06db40d5d3159a677603f589035e1a2a6ea7ebd0
|
|
| MD5 |
ab735160ab80672fbba2ef7457cee0e7
|
|
| BLAKE2b-256 |
9c597aa2e9a5fd53cd52939931b88fa95540d421de82f92c324baebf0ca2610a
|