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
Metadata
Release files for freq-allocator 0.1.666
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| freq_allocator-0.1.666-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
| freq_allocator-0.1.666-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
| freq_allocator-0.1.666-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details |
| freq_allocator-0.1.666-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details |
Total release size: 811.6 kB
Release files / freq_allocator-0.1.666-cp311-cp311-win_amd64.whl
| Download URL | freq_allocator-0.1.666-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 202.8 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8004bafd3006ccd9e468ae5eaa1db8171fe8bf5a94cde72a16b43a2211da5e46
|
|
BLAKE2b-256 checksum How to use checksums |
1aaf6edff179ca4241f3e7a393793a3d6fcf1f87e1886514fb2669b339832100
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / freq_allocator-0.1.666-cp310-cp310-win_amd64.whl
| Download URL | freq_allocator-0.1.666-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 202.9 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9d34c0b62b0d6d37d09124fc02789ffefd9feed7bfba740459caac4e3a8e95ba
|
|
BLAKE2b-256 checksum How to use checksums |
156837569a03aa8952524d918176dd2e4f16bc1e72a4015689e2e4a11a05f1b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / freq_allocator-0.1.666-cp39-cp39-win_amd64.whl
| Download URL | freq_allocator-0.1.666-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 202.9 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c162babbde346b9160e338f84fd6d6b487d9faee1ac6e6aa28968dfe2ce78a3d
|
|
BLAKE2b-256 checksum How to use checksums |
fb07dea264b7ecf47e7b0260bc8eabd4e814868d9f699897078d14d7d92e3f19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / freq_allocator-0.1.666-cp38-cp38-win_amd64.whl
| Download URL | freq_allocator-0.1.666-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 203.0 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c3f269875ca25ed51b9ba86a06db40d5d3159a677603f589035e1a2a6ea7ebd0
|
|
BLAKE2b-256 checksum How to use checksums |
9c597aa2e9a5fd53cd52939931b88fa95540d421de82f92c324baebf0ca2610a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|