Quantum Gate Language (QGL) is a domain specific language embedded in python for specifying pulse sequences.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file QGL-2020.1.tar.gz
.
File metadata
- Download URL: QGL-2020.1.tar.gz
- Upload date:
- Size: 104.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f22140ab7252fe0d9df84e0ea4b63d591228cec0790da839fb7eb35712f8ce00 |
|
MD5 | 586a2e9b5a17e67531ce294eb8102427 |
|
BLAKE2b-256 | 9270ba6e71720ad5cff51d74192b6414067c8009608a5cb868ac5ee86ceda488 |
File details
Details for the file QGL-2020.1-py3-none-any.whl
.
File metadata
- Download URL: QGL-2020.1-py3-none-any.whl
- Upload date:
- Size: 125.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b484a85f211198ff626a0e0d250375e65c9163b5e0f549d927c0988fe2bcc2dd |
|
MD5 | 96dcba8ae3881cc8e8c774a9523550a4 |
|
BLAKE2b-256 | bcf648d429e91a41c3afef881b4b2c21bd739c7b64527df97c5f548b9b3acc5f |