Awesome
Quantum Gate Language (QGL)
Overview
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:
- What is QGL
- Dependencies
- Installation
- Examples
- Channels and Qubits
- Gate Primitives
- Sequences and Concurrent Operations
- Pulse Shapes and Waveforms
- Compiling and Plotting
- Built-in Basic Sequences
Usage
There are a number of QGL example Jupyer notebooks in the QGL/doc folder:
- ex1_basic_QGL.ipynb: Basic setup of 'qubit' objects, defining sequences of pulses on qubits, and visualizing these pulse sequences.
- ex2_single_qubit_sequences.ipynb: Simple spectroscopy and coherence experiments on a single qubit.
- 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
Dependencies
- Python 3.6+
- bbndb
Note additional setup information in setup.py. This file is typically used by pip and other package managers.