Skip to main content

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


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

freq_allocator-0.1.666-cp311-cp311-win_amd64.whl (202.8 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

freq_allocator-0.1.666-cp310-cp310-win_amd64.whl (202.9 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

freq_allocator-0.1.666-cp39-cp39-win_amd64.whl (202.9 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

freq_allocator-0.1.666-cp38-cp38-win_amd64.whl (203.0 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page