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

Uploaded CPython 3.11Windows x86-64

pytket-1.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pytket-1.13.1-cp311-cp311-macosx_11_0_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

pytket-1.13.1-cp311-cp311-macosx_11_0_arm64.whl (9.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pytket-1.13.1-cp310-cp310-win_amd64.whl (10.7 MB view details)

Uploaded CPython 3.10Windows x86-64

pytket-1.13.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pytket-1.13.1-cp310-cp310-macosx_11_0_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

pytket-1.13.1-cp39-cp39-win_amd64.whl (10.7 MB view details)

Uploaded CPython 3.9Windows x86-64

pytket-1.13.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pytket-1.13.1-cp39-cp39-macosx_11_0_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

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

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for pytket-1.13.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7c846ddb543f6a7e8fd4e41850e78605cec6822e1fb531a15fe47cbeefe722ef
MD5 b2b9564a7a12d431f1413091c405ffe6
BLAKE2b-256 cdbc3084855c55aa9c7e477450adde547be53c358373f1b6c982004a9b52812d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 60ae0219a6e79fabb735499840c28c0d60498ad044caaf9d54cc5d57106ec06c
MD5 4648b7f3e88ddcfd6631aa624af155c4
BLAKE2b-256 5b993a8b4ca139dcb39cd3e9763ad8ca5f513ef64be3b9ce4ef2ca53f2c41547

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.13.1-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 013251e8a6b7afbd119e3f8a3d4910ab187e1a8cb2c1f084afe26b74d67177aa
MD5 1a989509d75c3d07e5f93b8afa16c83f
BLAKE2b-256 8a5cd5e6934912358cbca49cddcbd55948eb5bcc043b0f4050d63aae5e324615

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.13.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ed82856faa12031b765d842d5593d557683d96fb4a1e472ded4b56374514c177
MD5 389d8e8674f0d7254900c0eed4a0b6da
BLAKE2b-256 eb71b006583da4f06d8b70105642276260a01ae7304710d287ee1bf3e78093f4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pytket-1.13.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6e27fab02baa211366a0122354e0605caece2ff7f6da86c8a05d928302980ac1
MD5 363cfd7d8b8ceb7f7eb81538100f4664
BLAKE2b-256 df66ed928e633d177b0e450a3c54e223a3e9e086789eb6f16eb7c875c5dbdc1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.13.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63e473fc7e852d95dca672251b36178d96c28f83c910949675118db3f4350a82
MD5 6da4038bf6162e2223cb9c9ca34240e3
BLAKE2b-256 a544217b46d713eab40507f1276c768a59cac100151af9c8d9dc604e57455586

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.13.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 4318c099d4f943eac416c4654f6679fa1f8dd428c3db6d0397c887ce7c670482
MD5 24f9d1a04b56a38684cf0f4a2cf66795
BLAKE2b-256 d59364fc0eb022199cecbbe248a0fbed69e3ee83a9112c8635ab55851c309b7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.13.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ca61b9b1e69079d6544ac6096561957592feb034e71713f7376c55d0b0598ed6
MD5 85e7bded035572286ee448cf1e93cd9d
BLAKE2b-256 a51eacbfe9c4e9aa315b3bd4549c1a79c780da662d08bb2ddcd6f00695b4b6c2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pytket-1.13.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 67d3bb7f63bc1a1408c1d2c511a5fee55a62bc0c578e84fe10ba087a3f4a7e27
MD5 038b046443d41be2fe470d71dde6d7bd
BLAKE2b-256 d5703b75782868c5ceb8c8d05a8a2b82357b5241ca9a1846ae6c5e6b15c890a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.13.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c15960440d4a510ea9ce42dcc94b2df0d2d9647737458d8ba6232c512a9b9f68
MD5 35682c5a4db56d1218f93f27372d8e6b
BLAKE2b-256 38ddb905ecbe69f075576b98fce3f5ae2308457716c23996c093d599bd4bf87c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.13.1-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 c3e3e8b46990dc31cf76f7df37cbe9edffbea026c8f78aaaa4a6e6d68459c300
MD5 ed12358adb2779a6b0937c46c7b42452
BLAKE2b-256 fcf9b78d484c9979ab24649bdbc9e23c0fee790e42fb1888ba772654b984a7ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.13.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b723fd43d4e3c8dbcb8bcc50a49a1fe13e8b80898f7a541e07899a9bd7cc149a
MD5 ac4f5d5c1e89ad53334096c6cb475333
BLAKE2b-256 cf75102027ab0aad0ca6e734e796fbbc1f8ea023a6dd134ac75c1abc04fef6a4

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