Qibo's quantum calibration, characterization and validation module.
Project description
Qibocal
Qibocal provides Quantum Characterization Validation and Verification protocols using Qibo and Qibolab.
Qibocal key features:
-
Declarative inputs using runcard.
-
Generation of a report.
Documentation
Qibocal documentation is available here.
Installation
The package can be installed by source:
git clone https://github.com/qiboteam/qibocal.git
cd qibocal
pip install .
Developer instructions
For development make sure to install the package using poetry
and to install the pre-commit hooks:
git clone https://github.com/qiboteam/qibocal.git
cd qibocal
poetry install
pre-commit install
Minimal working example
This section shows the steps to perform a resonator spectroscopy with Qibocal.
Write a runcard
A runcard contains all the essential information to run a specific task. For our purposes, we can use the following:
platform: tii1q
targets: [0]
- id: resonator spectroscopy high power
operation: resonator_spectroscopy
parameters:
freq_width: 10_000_000
freq_step: 500_000
amplitude: 0.4
power_level: high
nshots: 1024
relaxation_time: 5_000
How to run protocols
To run the protocols specified in the runcard
, Qibocal uses the qq auto
command
qq auto <runcard> -o <output_folder>
if <output_folder>
is specified, the results will be saved in it, otherwise qq
will automatically create a default folder containing the current date and the username.
Uploading reports to server
In order to upload the report to a centralized server, send to the server administrators your public ssh key (from the machine(s) you are planning to upload the report) and then use the qq upload <output_folder>
command. This program will upload your report to the server and generate an unique URL.
Contributing
Contributions, issues and feature requests are welcome! Feel free to check
Citation policy
If you use the package please refer to the documentation for citation instructions
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
Built Distribution
File details
Details for the file qibocal-0.1.0.tar.gz
.
File metadata
- Download URL: qibocal-0.1.0.tar.gz
- Upload date:
- Size: 717.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c36ba362ba1b0156cd558f40225bbf38d7354f8cd5cca378ac81cd90107d2ba0 |
|
MD5 | ab88cea8b8e57091a48ab800380e9490 |
|
BLAKE2b-256 | f00cc4af23d2e2ec48411b1220e615a6f53e48c7a24a613155a2346e5e2df979 |
File details
Details for the file qibocal-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: qibocal-0.1.0-py3-none-any.whl
- Upload date:
- Size: 890.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b74c748828fddaf8a4dd1632f762e6c79ff9625c5209c06fcfaacb096abdfeec |
|
MD5 | d74ae9c0cb00f06e46c8e2df28062c3f |
|
BLAKE2b-256 | c172d75450caf68f31881874e4d7057aacf1dce076b208784df1be44bd88d90b |