https://github.com/garrison/pyqis
python quantum information simulator
https://github.com/garrison/pyqis
Last synced: 3 months ago
JSON representation
python quantum information simulator
- Host: GitHub
- URL: https://github.com/garrison/pyqis
- Owner: garrison
- License: mit
- Created: 2013-10-19T17:58:24.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-17T06:37:48.000Z (about 12 years ago)
- Last Synced: 2025-02-24T01:46:20.710Z (over 1 year ago)
- Language: Python
- Size: 223 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
pyqis
=====
python quantum information simulator, written especially for IPython
notebook
https://github.com/garrison/pyqis
Goal: create an easy way to intuitively interact with a quantum
computer simulator using a lucid visual representation.
Install
-------
Install using pip::
$ pip install -e https://github.com/garrison/pyqis.git#egg=pyqis
And run within ipython notebook::
$ ipython notebook --pylab inline
You may wish to do this within a virtualenv.
Getting started
---------------
Best run within ipython notebook
.. code::
from pyqis import QuantumBitMachine
# create a 4 qubit quantum computer
machine = QuantumBitMachine(4)
# apply the X (NOT) gate to bit #2
machine.X(2)
Author(s)
---------
* Jim Garrison
License
-------
MIT license