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

Uploaded CPython 3.11Windows x86-64

pytket-1.11.1-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.1-cp311-cp311-macosx_11_0_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

pytket-1.11.1-cp311-cp311-macosx_11_0_arm64.whl (9.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

pytket-1.11.1-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.1-cp310-cp310-macosx_11_0_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

pytket-1.11.1-cp310-cp310-macosx_11_0_arm64.whl (9.1 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

pytket-1.11.1-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.1-cp39-cp39-macosx_11_0_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

pytket-1.11.1-cp39-cp39-macosx_11_0_arm64.whl (9.1 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: pytket-1.11.1-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.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7c429a1570cb90670ab2d6d0c0e50fbb530918391fb926af90c2e0d04d5726f7
MD5 9fc24b6d543897a1f7b0735f00c5bd75
BLAKE2b-256 308a55f3a306440b972c70937bb02dadc3577a6a3a943ad96ef825c0755d90a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.11.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fa79e14f9c9d4bea275234eb67bbddf1869d0bb17fee21c6c8191e837750088e
MD5 4bef63cb99838e3877967386b3d7a67a
BLAKE2b-256 96af086df20881a7f1fb01889502051443ee1210f75385a93c365fd3d75847b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.11.1-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7394fb71ff1095bd9bacc6dbf25b18f3e1ec3d98b2ff8b817b8602c61531730c
MD5 ac0c87cb5f52495ee953a72c2900fbe3
BLAKE2b-256 cde97e7908e87d309294e3207a56998823646966f403d6092b77a3e9de52eb15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.11.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ec4a802049db6a8075cf8313c3ce9eacb6b222cc720e9ebddc8a2df3963e2fa4
MD5 58ebda5a96970409b0637c10db875563
BLAKE2b-256 35d05cbe29a3cc97f32111055ade616e29e6429b30738cb475d2cccb4d1e17d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-1.11.1-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.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 61c100c9dcb322f8d123acc735edc4ee648ae800f7413392225f5ac1bd69e867
MD5 cbc48fb7fccaf240e316c28624f96908
BLAKE2b-256 c784230fab9c4dde142a33f8f746e3eeae129c7ece5ad808119deae1a885f6bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.11.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9a1d789b9cea873e6105c5b81a2d7815ec405b80509ab22ae056126cc0692376
MD5 69131a79e2cd20436263b6e87dc81313
BLAKE2b-256 729c7a14a5ff9a99baf89883e7cabd024b2351917a435911526d818070e2ce61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.11.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 007acc3a717223f56b32dc95647f058811972d61529b1344766430286b02b1d3
MD5 9cbd9faf143759f69f2984d29158973e
BLAKE2b-256 acb7b2cb1ccd74c2bebacba54ce80d66f69c5fccb16f93cd72a43862bc3b4d67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.11.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 739d6653eb049de5f97ed48c221f42780617511f28462d70637e98a8eeed2ca1
MD5 4a962e38b7c937f7627e72cbb0d9046d
BLAKE2b-256 2cf10d756cf87f87cca42de62457586de555b0a2f23aa8f23cb62616116b59d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-1.11.1-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.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 267202cc3b986968fe779e15e33564d34143314ee8646c5a87ba68e9598e4e8c
MD5 16d33c7023dbd048d385f1e6dc817898
BLAKE2b-256 3a79d1377ad224294d48928d5a09767859a5574a70428744426c0d487164e013

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.11.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6dad35436a09b97b2f0611ec147bcb32708e276eff5dd99d6c3c60b011b581c2
MD5 d42576564b76072c10ede28bfd28ea66
BLAKE2b-256 f6eaa83152ce4f48db0e27e8ca3486e66dea5dbd993b796cc1feef41a5b4bb0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.11.1-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 84ff8149283010250e4614566f291a57bb41d435bbd3dbef4cc159bf9e08f4ff
MD5 379f4b2db0f1fa680a03049de31603df
BLAKE2b-256 41b212a6c179ebb5085239ed2a3776550fd8c6f36b25ae81591bf693410cefe2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.11.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f94d1906fd7f2b26901c23309c3e6ce5e6479700463bae442d07a321c2ba798a
MD5 0e451ab5e1c8ea3fdf3a42198013afa9
BLAKE2b-256 09ca78a583ceef9504e57bdfad9604b04be0d6e6e9229bccf48cbb459c58f98a

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