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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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