Skip to main content

No project description provided

Project description

Qibocal

Tests codecov Documentation Status DOI

Qibocal provides Quantum Characterization Validation and Verification protocols using Qibo and Qibolab.

Qibocal key features:

  • Automatization of calibration routines.

  • Declarative inputs using runcard.

  • Generation of a report.

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

qubits: [0]

format: csv

actions:
   resonator_spectroscopy:
     lowres_width: 5_000_000
     lowres_step: 2_000_000
     highres_width: 1_500_000
     highres_step: 200_000
     precision_width: 1_500_000
     precision_step: 100_000
     software_averages: 1
     points: 5

Run the routine

To run all the calibration routines specified in the runcard, Qibocal uses the qq command

qq <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.

Visualize the data

Qibocal gives the possibility to live-plotting with the qq-live command

qq-live <output_folder>

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 GitHub issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qibocal-0.0.2.tar.gz (131.3 kB view details)

Uploaded Source

Built Distribution

qibocal-0.0.2-py3-none-any.whl (201.5 kB view details)

Uploaded Python 3

File details

Details for the file qibocal-0.0.2.tar.gz.

File metadata

  • Download URL: qibocal-0.0.2.tar.gz
  • Upload date:
  • Size: 131.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for qibocal-0.0.2.tar.gz
Algorithm Hash digest
SHA256 996c8319076c5aa33da34e272a557ac7b350a68530d01c982d2f9f60e78064c3
MD5 d914cfe1cc61ef01e6593c46b69959d8
BLAKE2b-256 43b8e67e3e91654a51cd1d6e40a2e0698b83bf7f1e5d93c8473cb151227957ab

See more details on using hashes here.

File details

Details for the file qibocal-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: qibocal-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 201.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for qibocal-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c9e580d2067d21b405010059d5c42847bcd13af58a192c37a23ffa7c50d0caeb
MD5 caa417681700095705ffce638d204a9e
BLAKE2b-256 f1e02294f1efc4d53503c002afa88e29e050ab0bc8d0890376ffc1cc389df5f8

See more details on using hashes here.

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