Skip to content
forked from BBN-Q/QGL

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

License

Notifications You must be signed in to change notification settings

Plourde-Research-Lab/QGL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

883 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum Gate Language

Build Status Coverage Status

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

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.

Python 2.7

conda install atom future
pip install watchdog

Python 3.4+

conda install future
pip install watchdog
conda install -c ecpy atom

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

The QGL config file will be created the first time you run import QGL or from QGL import *.

Dependencies

  • Python 2.7 or 3.4+
  • JSONLibraryUtils (https://github.com/BBN-Q/JSONLibraryUtils, integrated as a Git submodule)
  • Numpy/Scipy
  • Nucleic atom (from ecpy channel for Python 3)
  • h5py
  • watchdog
  • Bokeh 0.11
  • networkx
  • iPython/Jupyter 4.0 (only for Jupyter notebooks)

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%