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

Uploaded CPython 3.11Windows x86-64

pytket-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pytket-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

pytket-1.16.0-cp311-cp311-macosx_11_0_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

pytket-1.16.0-cp310-cp310-win_amd64.whl (7.1 MB view details)

Uploaded CPython 3.10Windows x86-64

pytket-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pytket-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

pytket-1.16.0-cp310-cp310-macosx_11_0_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

pytket-1.16.0-cp310-cp310-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pytket-1.16.0-cp39-cp39-win_amd64.whl (7.1 MB view details)

Uploaded CPython 3.9Windows x86-64

pytket-1.16.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pytket-1.16.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

pytket-1.16.0-cp39-cp39-macosx_11_0_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

pytket-1.16.0-cp39-cp39-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: pytket-1.16.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 7.1 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.16.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9c1b9d8f858e88f4418e70ce9b2dc36c04143da9f806ae270b4076dfbddf2f63
MD5 e597e932e62676bbf3eb5acf0015e041
BLAKE2b-256 cdfee166290703d106ab685f8eed31e766da9cba0b9f049e6392da45d91bced8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fcdd3aa1f92b2954d9fd706070d5adde48c539da470f7a88a4d45bbd17a57a29
MD5 52096afb5f9c0336e327ce4177f0ec35
BLAKE2b-256 d8c82fe4a8f69ec1da6fc19ae83a71d2480cef3380e0b4fee7ee91e9f2a24afe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0089db43972522d39c999693acfb7b74362f06dd8aba5c398f6d46c5f14f3237
MD5 c72fb4371ab351a51f90f4a00d80693a
BLAKE2b-256 a280ebca45d1e32a9f3a083fd4c512f35f4cb2e4ca8b9e8fd99550837007d93b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.16.0-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 b629c99b319104309c827bd70bb4fd03826fa5049a8b167b631256f2923377f9
MD5 b7f92184b4749d207a8b0243cf7665fa
BLAKE2b-256 6dc9c58e1eb73df28a09c27307c4d3cd17b6152454ce1d8deacd940ff2208369

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.16.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d3538178af16e7bdc58039f9122e4f5bdf39aa3591f39e7182e9cd1645a0ca6e
MD5 fed26bbc00cafa3fa8fc4663fc9d7abd
BLAKE2b-256 93fb95b567aacb64596a13b08c0af5ca4511bccf750dacb32a272e2eb6ea4096

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-1.16.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 7.1 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.16.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c29916dfc84e590596dc0e5cf897e9c7528510df0c6c4f8a9ec5417189ca60a1
MD5 d586b9960b55b037b2a764b841906b13
BLAKE2b-256 b93605e786c1fecbcf200b0fa8a334f1c402ab3b0498539e77d326710412e759

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 221d47c8347b097269fc23f375813bfb96146a91c691e99c1a40b9e3073fc288
MD5 0c538cbaaf587b851d4084b967a7ef92
BLAKE2b-256 ef4de18fd88d65724846b18bf80ccd2f027ca0bcf84691313f5dfa5001931eea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f9b8109f80c2c3ebc4757364ec359a81ce2b1e8e5ebdc3ee52da181a525a7e14
MD5 685591bf705cfe9ce8e05bece6cfee13
BLAKE2b-256 0264b1cfb6485f92e6adbba8661e47c2c4e1f09834e16b493e054b62ca98e2f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.16.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 e4f37023db712d45cd9f74dcb225914f9ab16a778ce40c6137f09666deb4c868
MD5 2099873e16ba67893d4a5d1bb6a25418
BLAKE2b-256 268e9b71e26bc769a104d303e2e14165a00a8c228914962dc3e54b24488035aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.16.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 10522eeeb8ab5addf2033a4e06e93b41850f683812446a9e4940b052f19aefa3
MD5 e46a0d63924b8db1f714e617da58bd01
BLAKE2b-256 80411d9381e424dcbf70352716c1bc8e2c971e071a001aa383524535e34cc371

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-1.16.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 7.1 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.16.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5ec9bf37bbefba91bd3e4fbcfdf64929165a4e4348da00eed1e9067ab3bc0ab5
MD5 56c5b1925db47a03b269d2ec35bd6bcb
BLAKE2b-256 ede3cf1b0769f8b2639666f83f06f57a3812c9ce8c8b4b96d2c161c87ecfcc68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.16.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5149a46462cc489d2b72abc656d1c5c70c9a7d31ba34a0743ab29ac12cebdccb
MD5 2d7df35ca6ee2754f94481a6eca46ab7
BLAKE2b-256 c4acc63f4810963b9fc316858cdef6f4d04702c0d25729f8ef96745fa8e67f84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.16.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 91be19e52f9ec19de4f023e11fa79eceed380ddebd9530b9a92cfe5787c63cb5
MD5 d2df335f26c449c0a6c38faf24cfa462
BLAKE2b-256 b229fbbd18992ef46c9fb157ba325b41a7f4283f12904ca7be3d38074bdd085f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.16.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 c02900c95d28ce7e9a3d0cf8dd93935c80c9b5088116a7f8e8200cef9a05d89e
MD5 c534b5c5181c3e8b7400b129b3bdbba9
BLAKE2b-256 71242e8f698e1fa8d121221e26a325d156244c658e74ac824694c36f715799b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.16.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 179d80af486ed52563a7112386a0f91e015fc0af4a12de38455f7ab6f0eaad82
MD5 db9cfaa0b03051d43c775c2840319706
BLAKE2b-256 2673bf1f8c8123219b7c63fd546632cdecff1dba711251043979715afc15ea31

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