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

Uploaded CPython 3.11Windows x86-64

pytket-1.15.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pytket-1.15.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ x86-64

pytket-1.15.0-cp311-cp311-macosx_11_0_arm64.whl (5.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

pytket-1.15.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pytket-1.15.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.10macOS 11.0+ x86-64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

pytket-1.15.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pytket-1.15.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

pytket-1.15.0-cp39-cp39-macosx_11_0_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

pytket-1.15.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.15.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pytket-1.15.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.3

File hashes

Hashes for pytket-1.15.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6b6b129ba01a4f8686745d03db50eb8c2148bb14b7064ae95a233decd1460cf9
MD5 238383e4db8e50249a55ad3c10600e29
BLAKE2b-256 8d2809bedabb15ebccb31f205ad94b29ab34292d8078f945b352f0a6f4e681d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.15.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d5a42c535ce7744bcd8a07a481bd4ef0e1213ac8a96bff254d676dfd90991c5
MD5 edd0ba971e4390451de3dc0ebf667c67
BLAKE2b-256 e1fd22c975f7e4779a257eb22996dbe02845aca2805190b766b18391045555af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.15.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b0fbd7eebdae01e6848367ab56facbd5cf586e5bc580793bc50ba333d0cfbd04
MD5 3333ecf36b77445b5570a62ad08b1979
BLAKE2b-256 0bdb38d7dc92d69a923850f6551ac622f5bd1cba3de89b43c6ff050d10d61b6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.15.0-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 d083672e15eb7de0d5855eba0968e98307aa152364f8a320a2c231699c9c9f13
MD5 2031e11bf05e995a692b041e2aee4e4b
BLAKE2b-256 a1d08f8856dea4da75e395bc67e6daa4df35191b0695453600669cd9cb1baebc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.15.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 28056938207ac54e7bbedd2b85641c1f10e7b61e63b6b34e9399330a62641daa
MD5 a3bd093e71884592d69b5c1eb7dace9f
BLAKE2b-256 5a18dd4c8a2907a64c25ee3a25a742030344cc79752efcb2c7cb4ff651d4dcef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-1.15.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.3

File hashes

Hashes for pytket-1.15.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ae23d342bf473b050108df7c390c53048f361706473e0f662cab7dfdd810735a
MD5 17aae7f7d97997da84417b51c129c22c
BLAKE2b-256 adb3f52152ab0f9373897a4d37edad4c10120ec36f3afc1fae5be0005593494e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.15.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 67eae7c9fc8e8e82c5bf155dd163357da14b935a04cfed422622687027ad96d6
MD5 9124d4988fac7def18305f58721a79b4
BLAKE2b-256 e56b981e1bec9515ab8f6892142c71d7545e5b0cc8a9d94585d85f8a1bd3e057

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.15.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3f29760a7e25d9ce7c9593566954243b3bae3c3363861b96274c19a92603ab6a
MD5 41fbdedf77c0a6c6aa2b07eaa701ead9
BLAKE2b-256 9a5084f27243bbcc0e659ad52dca546da1fe37bdeb659ee18d3de9cc0c6927ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.15.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 c2e5d242302bb114908107523447b56abdcc7ebbbc490aff9369ddb715966ae3
MD5 6ff7507d37bd3e4b4c855ca6d1fcb065
BLAKE2b-256 852384812ff49afcc7353ef3df0b02351e5db95fd204e26502d5bcae15d33064

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.15.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 097d411167efd0d64f1308bb0957563e033abe5f6d02baa3f0eba6e23913307b
MD5 85448509c3dd1d0fb53857c290d0f372
BLAKE2b-256 b98732152b41ff467d59c49c56b828a1ef2778389c2920aa6bf1a5b7bf71a8a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-1.15.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.3

File hashes

Hashes for pytket-1.15.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 545183a800ffdb6ba5d204f850d428f901038e4decda071b34f2aa702ae019fd
MD5 60236f950c15791ca36d5eaadc77e13c
BLAKE2b-256 558897b49c07696bb91e0375e6dca44c10343c838cad2e89f8635676226a026e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.15.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e058669c2f1c051827818affdaefb6c3abb2a555024f32d1ba17213e4bab5382
MD5 ea253c8efc6e9cec17172d186616af15
BLAKE2b-256 8d31b262fe5d4aadd5fcf2b6c88eae4ac3986ac28e382e8e7f25b9c6479ba8a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.15.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 72bfa50d564dafabb572abd7d3ca77a5e11ed757bf1e89f253ac84241cf3dcf7
MD5 1ba35e26d082e8e7ef343ad150fffd33
BLAKE2b-256 3fae6aa921b9c0dfe8388f6b9281fe7b85565feb16307131563d8acba11720c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.15.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 e73dd59e2f5e01577511d3d810c0b26df7efc5532b1c89c26af7c036ff742ec4
MD5 664b0befed3f51abf2b6c690f63d7797
BLAKE2b-256 e9bc68051383637a98c7b787dec8493ef0431bca3a04bb51ab0b3e1ddd711a51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.15.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b3b3ed7a4fec058c54f04ef341e82dd9090467ad30e6f0f16f010e8703a9854d
MD5 80c05534311b9de27ea0b42aca62125c
BLAKE2b-256 9a37e1c2fb1d6ec1b8b601e92543255d835b66a11386067f47f12a25a70221a5

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