Skip to main content

Quantum Gate Language (QGL) is a domain specific language embedded in python for specifying pulse sequences.

Project description

Quantum Gate Language (QGL)

Build Status Coverage Status


Quantum Gate Language (QGL) is a domain specific language embedded in python for specifying pulse sequences.

Our "getting started" documentation is published online from the local file. This documentation includes dependency, installation and basic programming information. The documentation is organized into the following sections:

  1. What is QGL
  2. Dependencies
  3. Installation
  4. Examples
  5. Channels and Qubits
  6. Gate Primitives
  7. Sequences and Concurrent Operations
  8. Pulse Shapes and Waveforms
  9. Compiling and Plotting
  10. Built-in Basic Sequences


There are a number of QGL example Jupyer notebooks in the QGL/doc folder:

  1. ex1_basic_QGL.ipynb: Basic setup of 'qubit' objects, defining sequences of pulses on qubits, and visualizing these pulse sequences.
  2. ex2_single_qubit_sequences.ipynb: Simple spectroscopy and coherence experiments on a single qubit.
  3. ex3_two_qubit_sequences.ipynb: Examples of two-qubit sequences, including CR gates.

Obviously, we suggest that you start with ex1_basic_QGL.

QGL requires the installation and use of bbndb. bbndb is a shared, versioned, means of storing instrument, qubit, and other configuration information. It is based on the SQLAlchemy framework.

QGL is typically used with Auspex -- an experiment management framework. More sophisticated uses of bbndb, especially usage of a channel library, can be found in the Auspex documentation


Note additional setup information in This file is typically used by pip and other package managers.

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

QGL-2020.1.tar.gz (104.4 kB view hashes)

Uploaded source

Built Distribution

QGL-2020.1-py3-none-any.whl (125.7 kB view hashes)

Uploaded py3

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