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. We currently support circuits and device architectures from Google Cirq, IBM Qiskit, Pyzx, ProjectQ, Rigetti pyQuil, AQT, Honeywell and Microsoft QDK, 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, 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

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

A command-line interface tket is also included in this repo, enabling basic compilation and running of circuits on any installed backends. Type tket -h for help.

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.

Project details


Release history Release notifications | RSS feed

This version

0.5.7

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.5.7-cp38-cp38-manylinux2014_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.8

pytket-0.5.7-cp38-cp38-macosx_10_14_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.8 macOS 10.14+ x86-64

pytket-0.5.7-cp37-cp37m-manylinux2014_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.7m

pytket-0.5.7-cp37-cp37m-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

pytket-0.5.7-cp36-cp36m-manylinux2014_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.6m

pytket-0.5.7-cp36-cp36m-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.6m macOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: pytket-0.5.7-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 4.7 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.5.7-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 189d81949bc7867b43f260a3546d556ec7169bb7da5fb0bfa9d70aba95baf740
MD5 a73e8d436ea97b48602c587adb56ffa1
BLAKE2b-256 7d834ca46d19da6d7c3cbb428934923e969fe71b60bb667911962991e3e1ad27

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.7-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.4 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.5.7-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3ff1fd921c72ea0992feeae875bce5da6e019228f250972686e8d17c9b4f0dbe
MD5 86e4461816366f530fecea382c87bc0e
BLAKE2b-256 313ea195110d34458cf0526c08929c9e354f62fd56faf0daf28690127ea1bbef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.7-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 4.7 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.5.7-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aaff1b2d4930eb636184993bd8e9e7ace1534e8dfbe7fb0121f709ca8b884e0a
MD5 3829a100c55f40381387e234c2db14fe
BLAKE2b-256 34095a469bee23c430953f433b61fd2dbac18958c17f9a219fc708c816147f45

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.7-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.3 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.5.7-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a763929ba61d4de312b32cfbf6f462bd496ebe17587bfcac92e416712ab93a0c
MD5 ec35d9c46de0ff912bc02b191447b3ae
BLAKE2b-256 68916de9d3463c4c38d0ef7013b84893ebc4edb94e49907e175ed69bfdd070b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.7-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 4.7 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.5.7-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b294eaeb1c41f1d0a02a728ca2fc353f9f2357f30846c326a9991d5d4b333ed6
MD5 43ca8b9f02a843245c335746ed87a79b
BLAKE2b-256 164b437b8e29efa317bbcda1bc60f1fef0aa5ac0fd182b1be294d69ae2645a59

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.7-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.3 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.5.7-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c6c8d93771370677d9f54de7020fc3b85a7975c9f0945a7b9a30ae4378a6bf13
MD5 d6eb05f8d74c37b44860c98e06607aa0
BLAKE2b-256 784ad32b0963163e76101726f253237092be5d80b3e3ff3dd9d322bb0b0b1639

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