Skip to content
Python module for interfacing with the CQC t|ket> library of quantum software
Branch: master
Clone or download
Latest commit d601636 Jun 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs add backends back in Jun 19, 2019
examples update examples README Jun 14, 2019
pytket remove backends and projq from docs Jun 14, 2019
pytket_cirq V0.2.2 (#8) Jun 13, 2019
pytket_projectq docs Jun 17, 2019
pytket_pyquil add new files Jun 7, 2019
pytket_pyzx V0.2.2 (#8) Jun 13, 2019
pytket_qiskit get rid of docstring warnings Jun 14, 2019
.gitignore add docs builds Jun 19, 2019
.readthedocs.yml try pip Jun 14, 2019
LICENCE v0.1.2 release Feb 15, 2019
README.md Update README.md Jun 19, 2019
requirements.txt v0.1.3 release Feb 28, 2019
setup.py remove scipy Jun 14, 2019

README.md

pytket

PyPI version

pytket is a python module for interfacing with CQC t|ket>, a set of quantum programming tools. We currently support circuits and device architectures from Google Cirq, IBM Qiskit, Pyzx, ProjectQ and Rigetti pyQuil, allowing the t|ket> tools to be used in conjunction with projects on these platforms.

Getting Started

pytket is available for python3.6 or higher, on Linux and MacOS. To install, run

pip install pytket

Note: attempting to install from source will not set up the required binaries for the t|ket> compiler, so we recommend the PyPI installation.

See the Getting Started page for a quick introduction to using pytket.

Documentation can be found at cqcl.github.io/pytket

To get more in depth on features, see the examples.

Interfaces

To use pytket in conjunction with other platforms you must download an additional separate module for each. This can be done from pip, or from source, as they binaries are included with the core pytket package.

For each subpackage:

Qiskit: pip install pytket-qiskit

Cirq: pip install pytket-cirq

PyQuil: pip install pytket-pyquil

ProjectQ: pip install pytket-projectq

PyZX: pip install pytket-pyzx

Note:this will need a separate install of pyzx from source.

You can’t perform that action at this time.