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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for freq_allocator-0.0.2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ae103fd277ac21f2252237d71ba02b72efdc35e3b4149db30764b1445d9393d |
|
MD5 | db8c184199794b3e02ddb4f481b403d2 |
|
BLAKE2b-256 | dc5ec15b478fbb98e3e49d042d3a3cba2915aa9f1bcc8b22162ff85b5e3f6b26 |
Close
Hashes for freq_allocator-0.0.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef193df2cd5df94bf3d16ae7fac286684643b0a61c9199be348415cbbefe9e7d |
|
MD5 | 3626e762706ae3882e0a79361c87dba5 |
|
BLAKE2b-256 | 38cdf6f78d947e920e0026ef0bd351e8a51088cf50a7c5bf2fbb6b00ed382ca8 |
Close
Hashes for freq_allocator-0.0.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43daf6e93d44bfa5b89ccaf7032337fd023b148b580399fb7288460a6b9c88fd |
|
MD5 | 6b3085558da372e40910d8f1babd3917 |
|
BLAKE2b-256 | bfd97d9f904de0063abffbede590c05b3876f155f1ba827a4b68acd12860d143 |
Close
Hashes for freq_allocator-0.0.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6e3cc6739b66432478d51fac7402514daaaa8744a901d8dcd91ff8f48d32084 |
|
MD5 | 14fa68d316a96d37a9ff4dfff415bd0a |
|
BLAKE2b-256 | d7b0338e5792dce1a9d605c04fc705957955ec57d364c901cdda2b34f536f136 |