Skip to main content

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

Project description

PyPI version Binder

pytket is a python module for interfacing with CQC t|ket>, a set of quantum programming tools.

This repo contains API documentation and example notebooks to get you started using pytket. It does not contain source code.

Getting Started

pytket is available for python3.6 or higher, on Linux, MacOS and Windows. To install, ensure that you have pip version 19 or above, and 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

We currently support circuits and device architectures from Google Cirq, IBM Qiskit, Pyzx, ProjectQ, Rigetti pyQuil, AQT, Honeywell, Microsoft QDK, Amazon Braket, and Qulacs, allowing the t|ket> tools to be used in conjunction with projects on these platforms.

To use pytket in conjunction with other platforms you must download an additional separate module for each. This can be done from pip.

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
  • AQT: pip install pytket-aqt
  • Honeywell: pip install pytket-honeywell
  • Q#: pip install pytket-qsharp
  • Braket: pip install pytket-braket
  • Qulacs: pip install pytket-qulacs

LICENCE

Copyright 2019-2020 Cambridge Quantum Computing

Licensed under a Non-Commercial Use Software Licence (the "Licence"); you may not use this product except in compliance with the Licence. You may obtain a copy of the Licence in the LICENCE file accompanying these documents or view them here.

Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Licence for the specific language governing permissions and limitations under the Licence, but note it is strictly for non-commercial use.

How To Cite

If you wish to cite tket in any academic publications, we generally recommend citing our software overview paper for most cases.

If your work is on the topic of specific compilation tasks, it may be more appropriate to cite one of our other papers:

We are also keen for others to benchmark their compilation techniques against us. We recommend checking our benchmark repository for examples on how to run basic benchmarks with the latest version of pytket. Please list the release version of pytket with any benchmarks you give, and feel free to get in touch for any assistance needed in setting up fair and representative tests.

Project details


Release history Release notifications | RSS feed

This version

0.6.1

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.6.1-cp38-cp38-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.8 Windows x86-64

pytket-0.6.1-cp38-cp38-manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.8

pytket-0.6.1-cp38-cp38-macosx_10_14_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.8 macOS 10.14+ x86-64

pytket-0.6.1-cp37-cp37m-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.7m Windows x86-64

pytket-0.6.1-cp37-cp37m-manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.7m

pytket-0.6.1-cp37-cp37m-macosx_10_14_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

pytket-0.6.1-cp36-cp36m-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.6m Windows x86-64

pytket-0.6.1-cp36-cp36m-manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.6m

pytket-0.6.1-cp36-cp36m-macosx_10_14_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.6m macOS 10.14+ x86-64

File details

Details for the file pytket-0.6.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pytket-0.6.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pytket-0.6.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2e28ec0077b0327de258d01efd98d933742a6bcb55e1f05d2a6aab7d3a549346
MD5 ef9160dd1977f5348615ccf840493c12
BLAKE2b-256 70559dc76ac0295f0803a97229f42118c04bb4b6a4db495d3d680877d2aa663b

See more details on using hashes here.

File details

Details for the file pytket-0.6.1-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytket-0.6.1-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pytket-0.6.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 27b5e3ce0645712a277d5247cec4f7fad27ba421f0ce9ec8f484561c36105ced
MD5 d1c5ae8dfd212976ed417a442a4a0566
BLAKE2b-256 9712eba3c39a5b4d4e61d63abbc35d85590ebd04cba0d25f65361cded69e89db

See more details on using hashes here.

File details

Details for the file pytket-0.6.1-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pytket-0.6.1-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.5 MB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pytket-0.6.1-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 6cf146b7fe8639f147d53e7ecd76f96e3719f343eca81829dd4f716bff71c838
MD5 38598cc15cc5cba8b2cb2897f332a18b
BLAKE2b-256 4884d6a14f6855508d782cbe5bff9e26dad931cd71631d3df71638ee3413e0f1

See more details on using hashes here.

File details

Details for the file pytket-0.6.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pytket-0.6.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pytket-0.6.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 b8c4fa5b7996ee24c578e87a2c7a501005317c02a46b68dfa0465ad6b0b08ae8
MD5 ed8ba5eaa7c272d25d05aa282966d6a3
BLAKE2b-256 ee553d8eafc6f0e9f7d19c31f41ca92b78038c52901ac82a5bf93eb8a521cc6f

See more details on using hashes here.

File details

Details for the file pytket-0.6.1-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytket-0.6.1-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pytket-0.6.1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3a1ad02e36acd89bf30fa2ce63778bd6849d79b152f79f6967c2885ee866989c
MD5 9948d96eb3f991e31bba8d3a98fd3578
BLAKE2b-256 a099ea4db8ada56d645785cf6a5379c03bb8197f965d5634f48deac445e707a6

See more details on using hashes here.

File details

Details for the file pytket-0.6.1-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pytket-0.6.1-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.4 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pytket-0.6.1-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c65e20ce2af79b3eb869c2cfdeb72e3dfde45abada5cb616da640764754ee906
MD5 af25beb66009e7cce46c7ce9dcf26e10
BLAKE2b-256 5edb6ab4b93f3e4c3b4e871d6449e9b510bad14cf7d244f9088bde95a07df059

See more details on using hashes here.

File details

Details for the file pytket-0.6.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pytket-0.6.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pytket-0.6.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 6579c9ae3d85ccd57da6cff3ca0c8ab737cd2f7c70e8b468306fd9686d51319b
MD5 dadbb76b97353e8e13daa0d11f5d0088
BLAKE2b-256 c97e25b79a127868b3bfbd2ba21096e67cdd464a8720681e42c7bd58358eda17

See more details on using hashes here.

File details

Details for the file pytket-0.6.1-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytket-0.6.1-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pytket-0.6.1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 95c80ac8de4926d70a528d561c998f96bc515e0768a71f244feb11b93a164b39
MD5 b3c522306776da3dfd015d850c0dd90a
BLAKE2b-256 b8a0fa0ca344ecf3cea48b7fc9e15f4db369c36781bde7799948db1904bcbf86

See more details on using hashes here.

File details

Details for the file pytket-0.6.1-cp36-cp36m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pytket-0.6.1-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.4 MB
  • Tags: CPython 3.6m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pytket-0.6.1-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8ccf3740ab7bdc049ec84c7f086327efa45cb00824b2e2857c46ed2d178434e8
MD5 c8c2e16611e236cdb704a7fd14b904ab
BLAKE2b-256 14a90aa9fcf2a1c5a5c0c7e5183822c2da776a216c10806b61d9e313cfe723dc

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