├── .gitignore ├── CHANGES.rst ├── LICENSE.txt ├── MANIFEST.in ├── README.rst ├── docs ├── Makefile ├── make_and_prep_for_fastpages.sh └── source │ ├── change_log.rst │ ├── conf.py │ ├── examples.rst │ ├── images │ ├── bell.png │ ├── deutsch.png │ ├── deutsch_jozsa.png │ ├── parallel.png │ ├── superdense.png │ └── teleport.png │ ├── images_src │ ├── bell │ │ ├── bell-crop.pdf │ │ ├── bell.pdf │ │ ├── bell.png │ │ └── bell.tex │ ├── deutsch │ │ ├── circuit-crop.pdf │ │ ├── circuit.pdf │ │ ├── circuit.png │ │ └── circuit.tex │ ├── deutsch_jozsa │ │ ├── circuit-crop.pdf │ │ ├── circuit.pdf │ │ ├── circuit.png │ │ └── circuit.tex │ ├── logo │ │ ├── convert_logo_to_icon.sh │ │ ├── icon.ico │ │ ├── logo.svg │ │ ├── logo_180px.png │ │ └── logo_square.svg │ ├── parallelism │ │ ├── circuit-crop.pdf │ │ ├── circuit.pdf │ │ ├── circuit.png │ │ └── circuit.tex │ ├── produce-qcircuits-image.sh │ ├── superdense │ │ ├── circuit-crop.pdf │ │ ├── circuit.pdf │ │ ├── circuit.png │ │ └── circuit.tex │ └── teleportation │ │ ├── circuit-crop.pdf │ │ ├── circuit.pdf │ │ ├── circuit.png │ │ └── circuit.tex │ ├── index.rst │ ├── qcircuits.density_operator.rst │ ├── qcircuits.operators.rst │ ├── qcircuits.rst │ ├── qcircuits.state.rst │ ├── qcircuits.tensors.rst │ ├── setup.rst │ └── tutorial.rst ├── examples ├── deutsch_algorithm.py ├── deutsch_jozsa_algorithm.py ├── grover_algorithm.py ├── phase_estimation.py ├── produce_bell_states.py ├── quantum_parallelism.py ├── quantum_teleportation.py └── superdense_coding.py ├── qcircuits ├── __init__.py ├── density_operator.py ├── operators.py ├── state.py └── tensors.py ├── requirements.txt ├── setup.py └── tests ├── slow_measurement_tests.py └── tests.py /.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__ 2 | QCircuits.egg-info 3 | MANIFEST 4 | dist 5 | docs/build 6 | *~ 7 | *# -------------------------------------------------------------------------------- /CHANGES.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/CHANGES.rst -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/README.rst -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/make_and_prep_for_fastpages.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/make_and_prep_for_fastpages.sh -------------------------------------------------------------------------------- /docs/source/change_log.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/change_log.rst -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/examples.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/examples.rst -------------------------------------------------------------------------------- /docs/source/images/bell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images/bell.png -------------------------------------------------------------------------------- /docs/source/images/deutsch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images/deutsch.png -------------------------------------------------------------------------------- /docs/source/images/deutsch_jozsa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images/deutsch_jozsa.png -------------------------------------------------------------------------------- /docs/source/images/parallel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images/parallel.png -------------------------------------------------------------------------------- /docs/source/images/superdense.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images/superdense.png -------------------------------------------------------------------------------- /docs/source/images/teleport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images/teleport.png -------------------------------------------------------------------------------- /docs/source/images_src/bell/bell-crop.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/bell/bell-crop.pdf -------------------------------------------------------------------------------- /docs/source/images_src/bell/bell.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/bell/bell.pdf -------------------------------------------------------------------------------- /docs/source/images_src/bell/bell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/bell/bell.png -------------------------------------------------------------------------------- /docs/source/images_src/bell/bell.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/bell/bell.tex -------------------------------------------------------------------------------- /docs/source/images_src/deutsch/circuit-crop.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/deutsch/circuit-crop.pdf -------------------------------------------------------------------------------- /docs/source/images_src/deutsch/circuit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/deutsch/circuit.pdf -------------------------------------------------------------------------------- /docs/source/images_src/deutsch/circuit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/deutsch/circuit.png -------------------------------------------------------------------------------- /docs/source/images_src/deutsch/circuit.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/deutsch/circuit.tex -------------------------------------------------------------------------------- /docs/source/images_src/deutsch_jozsa/circuit-crop.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/deutsch_jozsa/circuit-crop.pdf -------------------------------------------------------------------------------- /docs/source/images_src/deutsch_jozsa/circuit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/deutsch_jozsa/circuit.pdf -------------------------------------------------------------------------------- /docs/source/images_src/deutsch_jozsa/circuit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/deutsch_jozsa/circuit.png -------------------------------------------------------------------------------- /docs/source/images_src/deutsch_jozsa/circuit.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/deutsch_jozsa/circuit.tex -------------------------------------------------------------------------------- /docs/source/images_src/logo/convert_logo_to_icon.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/logo/convert_logo_to_icon.sh -------------------------------------------------------------------------------- /docs/source/images_src/logo/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/logo/icon.ico -------------------------------------------------------------------------------- /docs/source/images_src/logo/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/logo/logo.svg -------------------------------------------------------------------------------- /docs/source/images_src/logo/logo_180px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/logo/logo_180px.png -------------------------------------------------------------------------------- /docs/source/images_src/logo/logo_square.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/logo/logo_square.svg -------------------------------------------------------------------------------- /docs/source/images_src/parallelism/circuit-crop.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/parallelism/circuit-crop.pdf -------------------------------------------------------------------------------- /docs/source/images_src/parallelism/circuit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/parallelism/circuit.pdf -------------------------------------------------------------------------------- /docs/source/images_src/parallelism/circuit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/parallelism/circuit.png -------------------------------------------------------------------------------- /docs/source/images_src/parallelism/circuit.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/parallelism/circuit.tex -------------------------------------------------------------------------------- /docs/source/images_src/produce-qcircuits-image.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/produce-qcircuits-image.sh -------------------------------------------------------------------------------- /docs/source/images_src/superdense/circuit-crop.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/superdense/circuit-crop.pdf -------------------------------------------------------------------------------- /docs/source/images_src/superdense/circuit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/superdense/circuit.pdf -------------------------------------------------------------------------------- /docs/source/images_src/superdense/circuit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/superdense/circuit.png -------------------------------------------------------------------------------- /docs/source/images_src/superdense/circuit.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/superdense/circuit.tex -------------------------------------------------------------------------------- /docs/source/images_src/teleportation/circuit-crop.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/teleportation/circuit-crop.pdf -------------------------------------------------------------------------------- /docs/source/images_src/teleportation/circuit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/teleportation/circuit.pdf -------------------------------------------------------------------------------- /docs/source/images_src/teleportation/circuit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/teleportation/circuit.png -------------------------------------------------------------------------------- /docs/source/images_src/teleportation/circuit.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/images_src/teleportation/circuit.tex -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/qcircuits.density_operator.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/qcircuits.density_operator.rst -------------------------------------------------------------------------------- /docs/source/qcircuits.operators.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/qcircuits.operators.rst -------------------------------------------------------------------------------- /docs/source/qcircuits.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/qcircuits.rst -------------------------------------------------------------------------------- /docs/source/qcircuits.state.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/qcircuits.state.rst -------------------------------------------------------------------------------- /docs/source/qcircuits.tensors.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/qcircuits.tensors.rst -------------------------------------------------------------------------------- /docs/source/setup.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/setup.rst -------------------------------------------------------------------------------- /docs/source/tutorial.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/docs/source/tutorial.rst -------------------------------------------------------------------------------- /examples/deutsch_algorithm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/examples/deutsch_algorithm.py -------------------------------------------------------------------------------- /examples/deutsch_jozsa_algorithm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/examples/deutsch_jozsa_algorithm.py -------------------------------------------------------------------------------- /examples/grover_algorithm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/examples/grover_algorithm.py -------------------------------------------------------------------------------- /examples/phase_estimation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/examples/phase_estimation.py -------------------------------------------------------------------------------- /examples/produce_bell_states.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/examples/produce_bell_states.py -------------------------------------------------------------------------------- /examples/quantum_parallelism.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/examples/quantum_parallelism.py -------------------------------------------------------------------------------- /examples/quantum_teleportation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/examples/quantum_teleportation.py -------------------------------------------------------------------------------- /examples/superdense_coding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/examples/superdense_coding.py -------------------------------------------------------------------------------- /qcircuits/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/qcircuits/__init__.py -------------------------------------------------------------------------------- /qcircuits/density_operator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/qcircuits/density_operator.py -------------------------------------------------------------------------------- /qcircuits/operators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/qcircuits/operators.py -------------------------------------------------------------------------------- /qcircuits/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/qcircuits/state.py -------------------------------------------------------------------------------- /qcircuits/tensors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/qcircuits/tensors.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | numpy>=1.11.3 2 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/setup.py -------------------------------------------------------------------------------- /tests/slow_measurement_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/tests/slow_measurement_tests.py -------------------------------------------------------------------------------- /tests/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grey-area/qcircuits/HEAD/tests/tests.py --------------------------------------------------------------------------------