Skip to main content

Python module for interfacing with the CQC tket library of quantum software

Project description

Pytket is a python module for interfacing with TKET, an optimising compiler for quantum circuits developed by Cambridge Quantum. In addition to pytket there are several extension modules for accessing a range of quantum hardware and classical simulators. The extension modules also provide integration with several widely used quantum software tools.

The source code for the TKET compiler can be found in this github repository.

Installation

Installation is supported for Linux, MacOS and Windows. Installation requires python 3.8, 3.9 or 3.10.

To install run the pip command:

pip install pytket

See Installation troubleshooting for help with installation.

To install the pytket extension modules add a hyphen and the extension name to the command:

pip install pytket-quantinuum

For a list of pytket extensions see this page: https://cqcl.github.io/pytket-extensions/api/index.html.

Documentation and Examples

API reference: https://cqcl.github.io/tket/pytket/api/

To get started using pytket see the user manual.

For worked examples using TKET see our examples repository.

Support and Discussion

For bugs and feature requests we recommend creating an issue on the github repository.

User support: tket-support@cambridgequantum.com

For discussion, join the public slack channel here.

Mailing list: join here.

Citation

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:

  • "On the qubit routing problem" for qubit placement (a.k.a. allocation) and routing (a.k.a. swap network insertion, connectivity solving). https://arxiv.org/abs/1902.08091 .
  • "Phase Gadget Synthesis for Shallow Circuits" for representing exponentiated Pauli operators in the ZX calculus and their circuit decompositions. https://arxiv.org/abs/1906.01734 .
  • "A Generic Compilation Strategy for the Unitary Coupled Cluster Ansatz" for sequencing of terms in Trotterisation and Pauli diagonalisation. https://arxiv.org/abs/2007.10515 .

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

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

pytket-1.10.0-cp310-cp310-win_amd64.whl (10.6 MB view details)

Uploaded CPython 3.10Windows x86-64

pytket-1.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pytket-1.10.0-cp310-cp310-macosx_11_0_arm64.whl (9.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pytket-1.10.0-cp310-cp310-macosx_10_14_x86_64.whl (9.9 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

pytket-1.10.0-cp39-cp39-win_amd64.whl (10.6 MB view details)

Uploaded CPython 3.9Windows x86-64

pytket-1.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pytket-1.10.0-cp39-cp39-macosx_11_0_arm64.whl (9.2 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

pytket-1.10.0-cp39-cp39-macosx_10_14_x86_64.whl (9.9 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

pytket-1.10.0-cp38-cp38-win_amd64.whl (10.6 MB view details)

Uploaded CPython 3.8Windows x86-64

pytket-1.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pytket-1.10.0-cp38-cp38-macosx_11_0_arm64.whl (9.2 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

pytket-1.10.0-cp38-cp38-macosx_10_14_x86_64.whl (9.9 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

File details

Details for the file pytket-1.10.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pytket-1.10.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 10.6 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pytket-1.10.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 205efbd73897cc7e0cbe4e71d18b04300681fefa5afb0cbfbe06948fb4b4534e
MD5 74f557babfcad3b6707caf96dff92cfa
BLAKE2b-256 9232defe78c3873981ed65c61a75d3a67a7e33ddbb704406418af53a558760c8

See more details on using hashes here.

File details

Details for the file pytket-1.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9c2cf5a4c28ad51a26c3d455b6913588b034da90f171c94b0b95d1b4a4860512
MD5 647dcbaabc889b74e793cf7b601f6bba
BLAKE2b-256 6f8bb6b61f469afa47eeab861b62832654c139d129c6d9d950beb17f6e2e6294

See more details on using hashes here.

File details

Details for the file pytket-1.10.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pytket-1.10.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a0800d6fbc5c2ed3f9e08974c4ba518f5e0f0cbe52d61d194252ec59a6688f65
MD5 e912237c79ddb7d7b0083ff663c9ed22
BLAKE2b-256 c52102a5b872ad8bf4130fa1a110ee71c8ef11eecf752d1962f317d0a90a91bc

See more details on using hashes here.

File details

Details for the file pytket-1.10.0-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.10.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 ed6962a51571257af47495ef5a82384451bceaef593a6fa8196c5c928c7955ed
MD5 5b2cf41c8dac0b119cc13586caf3cdc0
BLAKE2b-256 b74f05b90cc311d27d6cc23e306a49b3569344c4e7bbed990a21d5dc91c6019e

See more details on using hashes here.

File details

Details for the file pytket-1.10.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pytket-1.10.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 10.6 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pytket-1.10.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ff3bc8d7ed50206cf09551b7721ad46d2d43c94ceb5adc06cf2af7a7a05254f2
MD5 8735d6fc97c30ee1f81b76e5fd7c4b45
BLAKE2b-256 64b776044526dffef86a93588f0a32d14139e5c99eb33f5a62dbb98d70b5edd9

See more details on using hashes here.

File details

Details for the file pytket-1.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 455da3c909253753fedfa13f10b067da4a37b103f95c3bbbedf2788dcf815427
MD5 4cd9c3d8e413a6d0de4088d763a26673
BLAKE2b-256 38da6ee502e36e7b7d366ebadafd8d8872fb6cdc49ab42c65056806211743e7e

See more details on using hashes here.

File details

Details for the file pytket-1.10.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pytket-1.10.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d0288058717d7ea79f4f3ed1b5b3222fac410fa6f9a6c69432797cf210b765ff
MD5 2ed500fe2e8884d19a283accd21c0f3d
BLAKE2b-256 8497465cf4d3b9a5af4db61f8ea79e3e31f8b980db0a6bc19f3bd97a1d8d8a5a

See more details on using hashes here.

File details

Details for the file pytket-1.10.0-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.10.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 aec481211b8a7dc93d02e884eb60f9cd01a5169756e745210f543f2a487bdf0f
MD5 b9774de45c9938b1f35d5655e3a2c4a2
BLAKE2b-256 f3aca61445f84bbd0442fb68ea2c445e8d0b0c83ffe4621ae66d200b8da4baec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-1.10.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 10.6 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pytket-1.10.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ad8a6363c267245106feb570a15d76283867668b3262b1431b1f4c0965d2bf80
MD5 d089871fe5b5702e5260cc24d53c49b1
BLAKE2b-256 3228bb030096ff3e883720ecf13d96364e3bd0288100e60373145b901163f4a0

See more details on using hashes here.

File details

Details for the file pytket-1.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4537214bb529a4f59b714a31ab7ea4f0f762f37054fedbdfe483f58ea1692579
MD5 2929a662d00ba314fff02c54eda40761
BLAKE2b-256 44a1bdd2487e3940e9f885f4b19bab73b4d4c58662679a4e6413cdb61423a7f1

See more details on using hashes here.

File details

Details for the file pytket-1.10.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pytket-1.10.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 694b9036be5ae9171bdcfa4d0e96751d773a8da9daa4b20b59bc384195bd5399
MD5 7999ac7704b8e654a58334f1f56e7600
BLAKE2b-256 c9ddd5dad311977e43a53f50c02b7f140612d259721928990a4aae40844236cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.10.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3eb50ebc2d73b2c52829848ae69d1d262741a9c6d9711796ee99436ea5d881ec
MD5 9fbd03252207bb7d19ffcbde405242fd
BLAKE2b-256 e526fb4fbdcd69e36505b46acb28eadbc6f077cbc5f95b10e527f7dcadb4c2b8

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