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.4

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

If you're not sure about the file name format, learn more about wheel file names.

pytket-0.5.4-cp38-cp38-manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.8

pytket-0.5.4-cp38-cp38-macosx_10_14_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

pytket-0.5.4-cp37-cp37m-manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.7m

pytket-0.5.4-cp37-cp37m-macosx_10_14_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

pytket-0.5.4-cp36-cp36m-manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.6m

pytket-0.5.4-cp36-cp36m-macosx_10_14_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.6mmacOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: pytket-0.5.4-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 4.5 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.4-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6da8a4745ada08d8291565d7f383fb3f948dc7d4bcbbc7b956c3a64687b9220e
MD5 d1055f63898effb38184d8bd48f1688b
BLAKE2b-256 489af9b600035d1fd35c09e294829c394569755f6fb713651e521e7ee23bd3fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.4-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.2 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.4-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 bcf48794d72c741ab611a1ced5a7e1db596dee40fd08af6e9cb9d1d263d9623c
MD5 9508998cc3e2d81a113542bbfd0af384
BLAKE2b-256 e07d69573f4e59c00a31a3135f48615d5f8e46a6f4401f0a0398cf84a3d61e67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.4-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 4.5 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.4-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7538e20df6335473639d3be7c5a844d176f3fdb184f5aa283e4d96153e4a5816
MD5 f9c940692c697a371453cfa9bd6ac808
BLAKE2b-256 23f66ec50b0d6fc465071ae36e19100532ed836b3ac275542b95b7f9c3cbca46

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.4-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.2 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.4-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b9035bb2a2e123a915761710431686013a1395e606a5353b445756e0162e32ff
MD5 777708ff591b736cec1b370b961979b7
BLAKE2b-256 0e497478bcece304b74a9dd938c7b75c85044108f3874fceb10b822a477ae0b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.4-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 4.5 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.4-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7b885d393cf61c9035f89922616e3ccdfdb5755a73dcd52942222b9a4fdbc3e3
MD5 4032634f4e58d4842eb42c087bb52a5d
BLAKE2b-256 38ce568881c6b3cb7011f89f218e5dcfb7b44b30248e5671519965104e5a30c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.4-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.2 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.4-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1aa69f3b1b11eaa151f95106a539e71daa7d8c1f2c493bf920c1234b7fce3b50
MD5 748305914e6ae3c5c824b281fcb5d47a
BLAKE2b-256 2c349e1c8aad4e65b47550267938540b46fab271091a22af5a906ebe94100356

See more details on using hashes here.

Supported by

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