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 Quantinuum. 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.9, 3.10 or 3.11.

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

Uploaded CPython 3.11Windows x86-64

pytket-1.17.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pytket-1.17.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

pytket-1.17.0-cp311-cp311-macosx_11_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

pytket-1.17.0-cp311-cp311-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pytket-1.17.0-cp310-cp310-win_amd64.whl (7.2 MB view details)

Uploaded CPython 3.10Windows x86-64

pytket-1.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pytket-1.17.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

pytket-1.17.0-cp310-cp310-macosx_11_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

pytket-1.17.0-cp310-cp310-macosx_11_0_arm64.whl (5.4 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pytket-1.17.0-cp39-cp39-win_amd64.whl (7.2 MB view details)

Uploaded CPython 3.9Windows x86-64

pytket-1.17.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pytket-1.17.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

pytket-1.17.0-cp39-cp39-macosx_11_0_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

pytket-1.17.0-cp39-cp39-macosx_11_0_arm64.whl (5.4 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for pytket-1.17.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ed55dd0ce74b1116f7933831216d69f7fbb8250b49e592cae72814c8c62b48cb
MD5 70d254c479daad2d9f40832d66767d20
BLAKE2b-256 40dd370eb55836b26aadc50b2ac8a352cf3e13ebb1d4d6b477732a9a07533502

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.17.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 322084299b31370cd8c6afe453e8e3c71b20fbae0e3b764b86737f980d5c4e69
MD5 91a256593fa320822f9ab3fec90a603f
BLAKE2b-256 400ac5fe8c69f1b69b6c5bd00e9b29165f65732548dfa7705070cd82d2702d2d

See more details on using hashes here.

File details

Details for the file pytket-1.17.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pytket-1.17.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4d3a60469ca50017958d733b257ead04b206ae6d17c64444698b4babda484748
MD5 ad72c68ed65a2a7f03d0d9fbc5029c34
BLAKE2b-256 d2b6b4fbc301425ca377d8e237583641695a55269a947087c2ff9ba09e3117a5

See more details on using hashes here.

File details

Details for the file pytket-1.17.0-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.17.0-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 0a39369210633e66495f927e76e20876b690558efc3c56b8044126f9e4898bfd
MD5 3c3b88a2fc8e8fcd62292d7604d21a1a
BLAKE2b-256 28873d36cc9635a5dd8605d92d1b4b9bfb96d755b9d6f966ca8e667cb0b9bc8e

See more details on using hashes here.

File details

Details for the file pytket-1.17.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pytket-1.17.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eea42b4a098a5c543eadb7a1973bdd30dc5d311d7eed5165c2e46da3fb3903ab
MD5 342b5840cdaf5ee6a276fe9b2c64c270
BLAKE2b-256 3cc761cef3bd484a55d56ffba54c6869b4b129074469ecece0128394b7049e13

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pytket-1.17.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1348a63f4933a7c8e7432a55d5139ce180559e7120baeda7c0bb6f0774ee5aa2
MD5 a9835b59e2b1ef5b2406ab07cf12ab32
BLAKE2b-256 2d9876810fe644c86596e6c2a871fc86091308c44ea13ed89a2bc7c8ef880a40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 491083819920aaa0740dc2cc9a9987f96bda5e9163aad76a6bd7c13a9d22374c
MD5 f332a279898bba9389b6ee49fd215021
BLAKE2b-256 89828c32397b20c4a67ae2d5f4f586cea2541697b74461faf28ec00ccf87e551

See more details on using hashes here.

File details

Details for the file pytket-1.17.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pytket-1.17.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 757e224d96b08b9e691bc6c249ae726c2d1dc843d3689efaf2bc2f2a233ee358
MD5 4c99715e18a8fa287064daa5262cc8dc
BLAKE2b-256 92018b991e387c4be3515d9b6bbb6648dd8409e180cf733d913ccaea2d9b1613

See more details on using hashes here.

File details

Details for the file pytket-1.17.0-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.17.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 248caee3dbb744fee5e0c0a4cff134d4dd4147d54e9364e4a728bb43fc00808d
MD5 90d6c488c508440534c2fd5388afec80
BLAKE2b-256 72d0e04242b176ef9f3ebe890ffb625299b8ade72e624e72f4eef469db8954eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.17.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b278ffc7bfd0b8b3161faa5071b8f8c7d6f85216cc9487bd5ee1b9769791ca8d
MD5 887e3911cc64f98d1363cc96e57ec617
BLAKE2b-256 be590cf6feaf1ff6b1b59b9ea1aad95e5e88a3f287e1a68761b9247a3463ecda

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pytket-1.17.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 946b74920f3082de777e72b89c34f62f3b4343d2878f156407d509b01f238d9f
MD5 cd6c7db9b3816f9f7513c08669ce6816
BLAKE2b-256 41a523765bbce969790996bac12e594b28382c7766264c50a0abea1ddb769016

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.17.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6a77ee1d00dc8f094006f41af869a2b9bfb22412a1b44cc8b84ff86d218b41fa
MD5 3c07e5f4665c208ee3c4b095424aa209
BLAKE2b-256 858fc6190eb6df7b7375bd7628512aa58b88db2f93d54102c8f3341279d96549

See more details on using hashes here.

File details

Details for the file pytket-1.17.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pytket-1.17.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0f05a2f5fd32fba4b06922d6c4116e6de80c53a12fc1761a20bd5a1b1de488d2
MD5 59c2a9362f94e8eac6c6f0f9fc40d05a
BLAKE2b-256 5b1786755ae0911c91137d1ce9728f3dc118fe71b2993c4cf7f0bd0393423162

See more details on using hashes here.

File details

Details for the file pytket-1.17.0-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.17.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 28e6bb0e3626a286b46c1c445badefde27cfda890946b7be8f03b355ef40ff70
MD5 3d494f6031fbf0425b811468152cdb70
BLAKE2b-256 e11ec1d2e5b813d018967e9e0e684ce7f707e6b239ad9d71f3d677fdf674109f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.17.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 57274460f38b956f46727e7e89ce8e1dcf8d98346d05e511d1f69e48b75d8382
MD5 937903eb27452d6461a41d190e6772fa
BLAKE2b-256 02776efed2622d039bdcc4b7167303ce6e3f68cf02a82a58f4444a5906069453

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