Skip to main content

Python module for interfacing with the CQC tket library of quantum software

Reason this release was yanked:

Released in error.

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

Uploaded CPython 3.11Windows x86-64

pytket-1.12.0-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.12.0-cp311-cp311-macosx_11_0_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

pytket-1.12.0-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.12.0-cp310-cp310-macosx_11_0_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

pytket-1.12.0-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.12.0-cp39-cp39-macosx_11_0_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

pytket-1.12.0-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.0rc0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.13.0rc0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b78012d5afeace82a70054f6d0ed6ef0ce2c5773bd99112f739e0f6f6544e64
MD5 e510c40d3df2cf18f3d37ec13a62ba50
BLAKE2b-256 23aefd983808b72a54dbf87f5f69799786fe25eb43e83c91f9124a07099bc405

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-1.12.0-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.12.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 44591b27f8070b815f2e24d2349a35028da5f2d46859e6e3cc07640c9da6667f
MD5 a354a8be5389643d10869555d40ca1bf
BLAKE2b-256 17896c4c974be2f8f7325819d8513f3d60816a31bca6ccaa202e927090f9bd1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.12.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8c8bb7b6a5f7e40236e5214a03afa609e5dc33871c0f8f31bf49635c3eac85dc
MD5 c3e36f5cc6e120bfb5286556645a501e
BLAKE2b-256 7b86f2e05da283ddb93799edd93ad93a7010b4cf6638fcd0f3b1818d334ff139

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.12.0-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 864004e6f3c47adb2b77feaffe7f27c338191ef47ba045d2ba7fd1a140b7d186
MD5 2faa4d8005976cbcfa22fa2ba05c66e9
BLAKE2b-256 dece358b025d38afb6a53a3b97326f1ab695bfa579db5a59bce401b2b15c3913

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.12.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f8ab12e0ee9dd290b1c54405acf845e8baaa40b674170f15a4f770889a5c311a
MD5 6a79a8dbedf6bd4767bf0f72351e4a0c
BLAKE2b-256 e869b3234129ef2e83da5a170dbd8f976b003bcc35006c37c6dff11c1dce8059

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-1.12.0-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.12.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6dd3dfc9f890a268ff9eb994d213c77d9310e4d720dc16aa77578bd94547b438
MD5 65cd32b9b51998ca282cf83735817f2c
BLAKE2b-256 131dcf611796c056a3285bb2ddfae317e1d7a3f7be4234d3c37bcbbdbfc619d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 78b674ece1986e0c2df9467664f66753418f5147b9685809cb5fbba5717682e9
MD5 78acdbdf2f54b9d5f18b74b0613a3970
BLAKE2b-256 78cdfbc48c87526f8aa2680344a52dcc47a8d7b56e05de1cb2ebdabb780cf06a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.12.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 50563dbbb5cc7e9d11ccb2d050f195e22ec50f6eecd46fa71b369441fc4089b1
MD5 7cc14197a678a0c60a2c169dea178563
BLAKE2b-256 0de4dc0eff3e6bcfed26f4970b7d53293e89fe3dd5dc2f0b68f1bd10f696d790

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.12.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c6ebfc9ba5839078677136451d0e9ade736cca9627620e869d2c3eff016052b7
MD5 be9a334851449d2c3cbd1e7b16432380
BLAKE2b-256 ff745418f2ebac5d6ecc674a89948bb04a1ddbbeac04360d029876d0775c1c31

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-1.12.0-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.12.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7fcb0c13a2feb39876f446646b094341fd089ea31dfe85bb9f1e0b1ecebad80d
MD5 f50b7fd50f4bb437245aa093c730c4e7
BLAKE2b-256 e3776a2d2b6bb0b2c9df5383d6bd15d4b9b0431ac3e6f42f2b5fdce7d54ee40f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.12.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 df51d9fbdbaa26ba387e3f668930056667b18e01a5ec3858932405b5853d853f
MD5 b8cd2178d30ace63b3792a0106060116
BLAKE2b-256 2a744a5959ca12ea438a7a04e167a1d9872b2dc371b14241a33bdf173735d339

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.12.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 13e321b1fd729975ecd2f41bd9b0c004bc90c5430333f99787f3977d6f7efc09
MD5 74f62800e5f94e9c5893086528f18d4b
BLAKE2b-256 a53e0cfb9e5b6a92c5a2587821e03ac558078a44f8d66a2653f66d755d62245d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.12.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 030c90781f9bf7c3e8c49fcf5a75d0daf762a2e50d564b0b77e0a2864e05438c
MD5 f00ede9f6133300c6c5053ba011c0d34
BLAKE2b-256 4037d396f90840eb3861510ee0ce08c71a1a503df2ffca8935c0bfab97e658d1

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