Skip to main content

Python module for interfacing with the CQC t|ket> library of quantum software

Project description

[![PyPI version](https://badge.fury.io/py/pytket.svg)](https://badge.fury.io/py/pytket) [![Documentation Status](https://readthedocs.org/projects/pytket/badge/?version=latest)](https://pytket.readthedocs.io/en/latest/?badge=latest)

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 both Google [Cirq](https://www.github.com/quantumlib/cirq) and [Qiskit](https://qiskit.org), allowing the t|ket> tools to be used in conjunction with projects on these platforms.

#### Getting Started pytket is available for python3.5 or higher, on Linux and Macos. To install, download [requirements.txt](https://github.com/CQCL/pytket/blob/master/requirements.txt) and run

pip install -r requirements.txt

This will install the supported versions of Cirq (0.4.0) and Qiskit (Terra, Aqua, and Aqua-Chemistry). pytket can then be installed by running

pip install pytket

Note, installation from source will not work, you must use pip.

See [examples/cirq_routing_example.ipynb](https://github.com/CQCL/pytket/blob/master/examples/cirq_routing_example.ipynb) for a quick introduction to using pytket.

Documentation of the soure code can be found at [pytket.readthedocs.io](https://pytket.readthedocs.io)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pytket-0.1.0-cp37-cp37m-manylinux1_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.7m

pytket-0.1.0-cp37-cp37m-macosx_10_6_intel.whl (637.8 kB view details)

Uploaded CPython 3.7m macOS 10.6+ intel

pytket-0.1.0-cp36-cp36m-manylinux1_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.6m

pytket-0.1.0-cp36-cp36m-macosx_10_6_intel.whl (637.6 kB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

File details

Details for the file pytket-0.1.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: pytket-0.1.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.3

File hashes

Hashes for pytket-0.1.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f6b70a963cb86644dba74b11a05b0a3cc1fd4df250aaeabde9f2ca1a3f82218f
MD5 bf8628a2e0464d04aaa8f9eb8f1a7fd1
BLAKE2b-256 1fcea763e4d85dbda80d69fe697928e5fca20ae76f8ace2505f6d146bac6e0a6

See more details on using hashes here.

File details

Details for the file pytket-0.1.0-cp37-cp37m-macosx_10_6_intel.whl.

File metadata

  • Download URL: pytket-0.1.0-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 637.8 kB
  • Tags: CPython 3.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.3

File hashes

Hashes for pytket-0.1.0-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 b8eb58242d8d6da592d992a0d936d9db4c7afdb86cd97cd8042f9f075d4684dc
MD5 51f3c8e6e9d2ad6ce3766a94cb5cac4d
BLAKE2b-256 2ae5b2cb61e3ca9d9cae5d473fdce528084ef00f37fc77971647f9b4f3eb62e1

See more details on using hashes here.

File details

Details for the file pytket-0.1.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: pytket-0.1.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.3

File hashes

Hashes for pytket-0.1.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 73b14bdc3e960df6f8686896e20313f48930c114fc7e424b44d6dfabdb430827
MD5 5692abf956d7f1f35c64c8dcd4eeb3c7
BLAKE2b-256 7b9b3624a8d1882cfc62b7638a27e97460db36be6df09285fccc8c125c231f2b

See more details on using hashes here.

File details

Details for the file pytket-0.1.0-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

  • Download URL: pytket-0.1.0-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 637.6 kB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.3

File hashes

Hashes for pytket-0.1.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 b6452bc06d02612866056d3af6247e16f2987345cffbd29b3dacb61c3b066d1c
MD5 b50782e7584fecf8b5c2daabf42203e4
BLAKE2b-256 04b65dc6b9da19ea0f0c197cf4148131c7b62dbb52f21b6535f12e991d095724

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page