PyQC Preview Release


The full documentation for PyQC can be found at http://embray.bitbucket.org/pyqc/


PyQC is built on top of QuTiP so I recommend following the QuTiP project's installation instructions. QuTiP also requires NumPy, SciPy, and Cython as prerequisites. Linux users may consider installing NumPy and SciPy through their OS package managers.

Mac OSX, Windows, and Linux users as well might also considering installing a scientific Python bundle such as Anaconda. Anaconda comes with QuTiP's dependencies pre-installed, as well as IPython with support for IPython Notebook which is where PyQC really shines.

I have uploaded a binary build of QuTiP for Anaconda 1.8 on Windows 32-bit as a "wheel" package. This can be installed with pip (>=1.4):

$ pip install https://bitbucket.org/embray/pyqc/downloads/qutip-2.2.0-cp27-none-win32.whl

(Note: Although this package was build with and for Anaconda, I've had success using it on Windows outside of Anaconda as well. YMMV.)

For installation on other platforms please see the QuTiP documentation.

With QuTiP installed, whether using Anaconda or one's own Python environment, installing PyQC is just a matter of running the correct pip executable for that environment:

$ pip install https://bitbucket.org/embray/pyqc/downloads/PyQC-0.1.dev.tar.gz

That will install a fairly recent development build. If you have Git and want the bleeding edge, run:

$ pip install git+https://bitbucket.org/embray/pyqc.git

Eventually there will be a release up on PyPI once I am ready to bless "v0.1".


See the LICENSE file included in the source distribution. Originally a more permissive license was used, but it was required by inclusion of parts of qasm2circ to release under the GPL. As I would prefer a pure-Python approach to plotting circuits (based on matplotlib, likely), I hope to eventually remove this requirement. But for the time being it was the quickest way to get the job done.


For questions or comments please contact Erik Bray <erik.m.bray at gmail dot com>, or open an issue in PyQC's issue tracker at https://bitbucket.org/embray/pyqc