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.11.0-cp311-cp311-win_amd64.whl (10.6 MB view details)

Uploaded CPython 3.11Windows x86-64

pytket-1.11.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pytket-1.11.0-cp311-cp311-macosx_13_0_arm64.whl (9.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

pytket-1.11.0-cp311-cp311-macosx_10_14_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

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

Uploaded CPython 3.10Windows x86-64

pytket-1.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pytket-1.11.0-cp310-cp310-macosx_13_0_arm64.whl (9.1 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

pytket-1.11.0-cp310-cp310-macosx_10_14_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

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

Uploaded CPython 3.9Windows x86-64

pytket-1.11.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pytket-1.11.0-cp39-cp39-macosx_13_0_arm64.whl (9.1 MB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

pytket-1.11.0-cp39-cp39-macosx_10_14_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

File details

Details for the file pytket-1.11.0-cp311-cp311-win_amd64.whl.

File metadata

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

File hashes

Hashes for pytket-1.11.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b99dd9e90dada66c0efccafaa4ef63fe8e644e05ee3e1887a948506e0e2bd06e
MD5 87aa0b4ea160f56071b2097b5f73acc2
BLAKE2b-256 81df3e86d4d383a56c00e706f65bd0f4a14f2f666765379f167b5e4aa4fc3266

See more details on using hashes here.

File details

Details for the file pytket-1.11.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.11.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 15e80c1216e95accdf510ed536c6a59e76f9575a3f9ef49ac97c18ac382a3b14
MD5 fe6fda53c335675e05084ed2349c6b7e
BLAKE2b-256 a7c6c39c7927c2641e5e35d591fd37ffac8a329710d2e383a1c85b33d7c9f231

See more details on using hashes here.

File details

Details for the file pytket-1.11.0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pytket-1.11.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0958c3857cc02efdd08fe745926a57fa40587344555036167342efa1977f2ced
MD5 288ce0aae9537b7c61bdcd21af4e8b05
BLAKE2b-256 2a2fc73119ad170abf77de5c55accd6da149130cbb761356002a83745f856d01

See more details on using hashes here.

File details

Details for the file pytket-1.11.0-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.11.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 0713b285282021258afa1e3793d8fa7d552802beb1fbbc936f12d21f892db0f8
MD5 64b65e41f350cab25a675ef2bebe596b
BLAKE2b-256 804c82b32e9b0cb5b6585532add749a65be69cabca766dfee0277def0d6fbda4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-1.11.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.11.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 aba7d1803ccd828f0f2399549da709d2a5f25a9f17655c39248441cf51eaf4ab
MD5 fb1288f1381a61a987393592c7118f8d
BLAKE2b-256 665feb005ca5e1f372528515844d5f51e50aca4ee9d163d9944a1f68416c2bd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 060d91376c3f359d2ee17193633895ab64c8db5479c2cf00a36ae63ec76c98cd
MD5 196068273cc4923c0b51ed5034085330
BLAKE2b-256 236da648bf96bb0b893d220b8933e7f16152d7ec15ca3be17f32429ecc47252e

See more details on using hashes here.

File details

Details for the file pytket-1.11.0-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pytket-1.11.0-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3727367c42bb236354e9c17031ceef0babcbca9cc8dc9e1cfe66967f149ffb58
MD5 0383a1e7e708b3f790050687a4462e7f
BLAKE2b-256 29b794d2791d65012924cdfd9b53b47619340863939c07e77f197cb658138384

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.11.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 97675e84a66495c6c097f0cb8e750fcc9c7b771d414b864a3e33e1c33c64368c
MD5 3b0fe4f54f1f8f568688685069459445
BLAKE2b-256 42f0d6bde3714023341565e2aeaf7a38eaec175f888679a25f13038d92b4ab54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-1.11.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.11.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f59dfd28c641c25d4e1f19e6d8697369502efab97cafc881e3b2cbfbe3a31212
MD5 1166103d68bb3a721826fc8c12b98ad5
BLAKE2b-256 23ddc4cc9f5f668bd5004944bba7070acb5ed0649e3b3de461578849c629323f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.11.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e455f27f8e0582c42b8fa0e49499077327686d4463a08a4cbc3af245e0707b49
MD5 16c0ecb5157e23e24546ea622dfb7743
BLAKE2b-256 dae2b3a6ee1cedf3e05d4fe072c0be940bfafd3476ced098be862217dccdd382

See more details on using hashes here.

File details

Details for the file pytket-1.11.0-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pytket-1.11.0-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b391cd876970e89d4783fab875202b10e86219cd07618bc1f2489d86e7f7d7d9
MD5 91553bb06a8c6f551cdf5323a1fed5a3
BLAKE2b-256 07c729993571aa7443b5cd925938bb359b5d80ea110ce3e027e914c460f6baee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.11.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c147be1d2cf9272f69b7abfbf4b757c594133a98829fd51abcc7fdb397e0d83e
MD5 aef28ac05cf3306edc87bf06cad1f88c
BLAKE2b-256 2737f0ac7de7f0ca3499b76480e9fa01b55b2f29370dbd84fec21d2534508778

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