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

Build Status Coverage Status

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

Read the online documentation and see example usage in this Jupyter notebook.

Setup instructions

The most straightforward way to get up and running is to use the Anaconda Python distribution. This includes nearly all the dependencies. The remaining dependencies can be installed from the terminal or Anaconda Command Prompt on Windows. While QGL can be run on windows, our experiment control software Auspex relies on linux when running qubit experiments.

Python 3.6+

cd QGL/
pip install .

Alternatively, if you plan to modify the source code it will be easier to perform a developer install using:

pip install -e .

If you'd like to use some of the built-in gate-set-tomography functionality, you can grab the PyGSTi package during the install:

pip install '.[gst]'

If the QGL module is not installed, the repository path needs to be in the PYTHONPATH. On Windows machines, you add/modify this environment variable by going to System -> Advanced Settings -> Environment variables. On Mac/Linux machines add the following line to your .bashrc or .bash_profile: export PYTHONPATH=/path/to/QGL/repo:$PYTHONPATH

Usage

QGL is designed to be utilized alongside Auspex, and most of the usage example, including how to define a channel library, can be found in the Auspex documentation

Dependencies

  • Python 3.6+
  • Numpy/Scipy
  • networkx 2.0
  • iPython/Jupyter 4.0 (only for Jupyter notebooks)
  • bbndb

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-2019.1.tar.gz (84.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

QGL-2019.1-py3-none-any.whl (105.1 kB view details)

Uploaded Python 3

File details

Details for the file QGL-2019.1.tar.gz.

File metadata

  • Download URL: QGL-2019.1.tar.gz
  • Upload date:
  • Size: 84.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for QGL-2019.1.tar.gz
Algorithm Hash digest
SHA256 c543914d5fb886483d66f77a8a26eef98b8a71b6125baed93738d6146c784a5c
MD5 a25ecd15bf735a5fa3d88601356bab48
BLAKE2b-256 fc42b2746053ecb31857f4661fd84fcc71a1f80aa2dff661c35161dfeb3ff1ed

See more details on using hashes here.

File details

Details for the file QGL-2019.1-py3-none-any.whl.

File metadata

  • Download URL: QGL-2019.1-py3-none-any.whl
  • Upload date:
  • Size: 105.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for QGL-2019.1-py3-none-any.whl
Algorithm Hash digest
SHA256 81101c55190d9ddc80787296e8ee673fd37c441c8d187960d76938bf5304e1bc
MD5 edbd69c3d3cf5179a3b8a72213053e58
BLAKE2b-256 48409c2d880cfa4ae0ca174e2df6cba8b30a369825377014ee4463094895d09d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page