Skip to main content

The qualang_tools package includes various tools related to QUA programs in Python

Project description

PyPI discord

License

QUA Language Tools

The QUA language tools package includes various tools useful while writing QUA programs and performing experiments.

It includes:

  • Bakery - This library introduces a new framework for creating arbitrary waveforms and storing them in the usual configuration file. It allows defining waveforms in a QUA-like manner while working with 1ns resolution (or higher).

  • Interactive Plot Library - This package drastically extends the capabilities of matplotlib, enables easily editing various parts of the figure, copy-pasting data between figures and into spreadsheets, fitting the data and saving the figures.

  • Config Tools - This package includes tools related to the QOP configuration file, including:

    • Integration Weights Tools - This package includes tools for the creation and manipulation of integration weights.
    • Waveform Tools - This package includes tools for creating waveforms useful for experiments with the QOP.
    • Config GUI - This package contains a GUI for creating and visualizing the configuration file.
    • Config Builder - This package contains an API for creating and manipulation configuration files.
  • Control Panel- This package includes tools for directly controlling the OPX.

    • ManualOutputControl - This module allows controlling the outputs from the OPX in CW mode. Once created, it has an API for defining which channels are on. Analog channels also have an API for defining their amplitude and frequency.
    • VNA - This module allows to configure the OPX as a VNA for a given element (readout resonator for instance) and operation (readout pulse for instance) already defined in the configuration. Once created, it has an API for defining which measurements are to be run depending on the down-conversion solution used (ED: envelope detector, IR: image rejection mixer, IQ: IQ mixer).

Installation

Install the current version using pip, the --upgrade flag ensures that you will get the latest version.

pip install --upgrade qualang-tools

Support and Contribution

Have an idea for another tool? A way to improve an existing one? Found a bug in our code?

We'll be happy if you could let us know by opening an issue on the GitHub repository.

Feel like contributing code to this library? We're thrilled! Please follow this guide and feel free to contact us if you need any help, you can do it by opening an issue :)

Usage

Examples for using various tools can be found on the QUA Libraries Repository.

Examples for using the Baking toolbox, including 1-qubit randomized benchmarking, cross-entropy benchmark (XEB), high sampling rate baking and more can be found here.

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

qualang-tools-0.9.0.tar.gz (1.1 MB view hashes)

Uploaded Source

Built Distribution

qualang_tools-0.9.0-py3-none-any.whl (1.1 MB 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