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

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

Uploaded CPython 3.8

pytket-0.5.6-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.6-cp37-cp37m-manylinux2014_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.7m

pytket-0.5.6-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.6-cp36-cp36m-manylinux2014_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.6m

pytket-0.5.6-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.6-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytket-0.5.6-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.6-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 501fb2274c3142cd02996b57c64c57017582d6f1e17fe9cfbcba05f56e5d91a5
MD5 a55cac7d3aeb5e13f398b2d7d0faa7fd
BLAKE2b-256 999ebba38b25ef30034c73985c10f78cbc6456e2ceb1ca0afc9cd8c13af039bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.6-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.6-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3a61de42738f1b16960cb69e6d2154e2122aaa5ef6621740f824054fa929978b
MD5 55bee5a46bd237e5cc68195e71d478bc
BLAKE2b-256 99feae4421b1b1fa91361e91b86a937f84b5131188d98101decf63b6e83d4e42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.6-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.6-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 54304c150e107ecb4ff79bc93928f01455ad11f40d8e59ec86bb174c54522364
MD5 de3ec274f06da569f09b95ed5664451d
BLAKE2b-256 b0633bdbad5f4cb62379b9cca4213515af589040fee83afab2e704e99ccf1616

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.6-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.6-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 4ee1ab80bbee3774230613b86adbbea1eef8d2c80a8147000666a022ce69279a
MD5 3c25290b9294ac99f6c472d1749c78e5
BLAKE2b-256 7bdc9b547b77d2830c61739b27db51f05c55aa145231fad3974a5f01843feef4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.6-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.6-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0aea9066a339cbae1f2f2fad5064a0ab1ba47617297e5c811e5793388309e92c
MD5 3d9b9a43f31b6ab72e54bac104d8b80b
BLAKE2b-256 e7d6391e436288fda1af517922c826625f15150dc15032530687cb34b128f0d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.5.6-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.6-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c4aaaa26f53c292f22a1dafc2c5ef5bf4de1a6681f8ccc77f1bccd3f289c03ca
MD5 b646b33b827c0f4fd1655b6986cab472
BLAKE2b-256 54774ee8b9af07e1909a4d241b20285edd8de89a4e4f948c431122bf7e504956

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