Skip to main content

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

Project description

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.

Documentaion 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.2.2-cp310-cp310-win_amd64.whl (8.8 MB view details)

Uploaded CPython 3.10Windows x86-64

pytket-1.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pytket-1.2.2-cp310-cp310-macosx_11_0_arm64.whl (8.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pytket-1.2.2-cp310-cp310-macosx_10_14_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

pytket-1.2.2-cp39-cp39-win_amd64.whl (8.7 MB view details)

Uploaded CPython 3.9Windows x86-64

pytket-1.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pytket-1.2.2-cp39-cp39-macosx_11_0_arm64.whl (8.2 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

pytket-1.2.2-cp39-cp39-macosx_10_14_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

pytket-1.2.2-cp38-cp38-win_amd64.whl (8.8 MB view details)

Uploaded CPython 3.8Windows x86-64

pytket-1.2.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pytket-1.2.2-cp38-cp38-macosx_11_0_arm64.whl (8.2 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

pytket-1.2.2-cp38-cp38-macosx_10_14_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: pytket-1.2.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 8.8 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for pytket-1.2.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 06918bee4f11f2ebdbd50186eb82067ba6463329202f4d8ee189efdf63095d9a
MD5 1bb89beb4970b80eda552e6f81cf2eec
BLAKE2b-256 befdaf0597c30c8d19c2a708f367016a8a0826a03b03df0d116b19c41e744c80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d14e57a1367c067abbe5f6fd4a8d77dc7d7cb5e2be742932c6cccf0c75578dc9
MD5 d230f4d87e8bb6a3c5bd628fb24a115c
BLAKE2b-256 2f8608d4796de83e0a339ba655dc6ca4f8998db205b9885f51f6dece77125a33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.2.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89e7a79baf7584381ac4b2232e39f6ae72f3ea92b277925155b88dc9ca7f0452
MD5 61202236260bcab148a1041d5a3c6846
BLAKE2b-256 888744459d28a9bc8040445c303304e5127fd21eaa8b878e89ac0e0f36245851

See more details on using hashes here.

File details

Details for the file pytket-1.2.2-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.2.2-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1b805508a4559788e01199884a246abea4a4e4e4925b63e18e27741d9f831a3e
MD5 7d5486c1c0fd87324eed61755e657e6e
BLAKE2b-256 a36ab7eb90b89dded82ba3be2c4f058f06c2f16d31b14a4a4112bbcf9c87caff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-1.2.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 8.7 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for pytket-1.2.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 1e9a2a3e9a8ea8707d2d5150424dfc5b024fcc5039bf772d1b852017f1c676f9
MD5 f50833ed5457141481255fb9beb72d78
BLAKE2b-256 f4c98f28efa2e46d52214ace93c2ada38d7f2b1fbfc583554cc711b5ccf76518

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 056d12d370989a9f2c7b78a58665ebe1047edd213c89264a5521f5136d25afe4
MD5 697a6e511e4cf5acc718dcf1a18df9d8
BLAKE2b-256 bc9b2f0449812fe124ab1e48537b48492c14005cfecad6f44ab1014804ff1bcb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytket-1.2.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8baaaace2b5761c635339f7852afa20f92022aee4ae48f60126de50498f75056
MD5 ff43485241fd8a0b2f526ebf6fd49e16
BLAKE2b-256 4803f8dc101d92a92871ed387670bdf57b49e0e0e5f8e647cb46519e1392f224

See more details on using hashes here.

File details

Details for the file pytket-1.2.2-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.2.2-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 306fb3d03beccc9dc1586954dea1b68bab54c827b2395e1ca6857467d6f97a5a
MD5 b61e5dd9e0807510fb4296cd20ab993c
BLAKE2b-256 d46e1dd62e0edb9fbf55f82e13e1ccafbc882ed751823d73b9d861de2f074255

See more details on using hashes here.

File details

Details for the file pytket-1.2.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pytket-1.2.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 8.8 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for pytket-1.2.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e4971ac1778f12ebfef2e1924f8d4ac03a821bcf45b0b88a225d4282b37ace96
MD5 89fca1e424d8c92a694fbed0e96c4558
BLAKE2b-256 4717fc6fc900decf7eb7ef37382c23118ede5a9b4469bc8753fa3c1da47c5936

See more details on using hashes here.

File details

Details for the file pytket-1.2.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.2.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3f37858c501c965501a980ed564cdb80122d31beb773b6c6f7c32cbace2b443a
MD5 e280436fc5bbcdcda1503a263b4c10e0
BLAKE2b-256 d2943841e617c5d4fa68cd5f660fc79bf54c1d56a6883929265e167e17f89c18

See more details on using hashes here.

File details

Details for the file pytket-1.2.2-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pytket-1.2.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8e646e8b74fd1dd88e3fa48804a33ebd9061860668b5583c4ef70fa68b0b6264
MD5 4da51fe7628bd4754c97d2eafc8d7f40
BLAKE2b-256 0b2bbbc8bf3a82af62491ff8ddb625ebdf9658cefc8b5b0a85368d04f27aa8fa

See more details on using hashes here.

File details

Details for the file pytket-1.2.2-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pytket-1.2.2-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 21a702e292627127f9f2da5824a02198db0d784e6907ef01e7eab6ac7722437a
MD5 e83adf0996e05ed319e31731c2b5ca09
BLAKE2b-256 9254393f3940a147673c81fad791f46487285579d1ba262707041d48a3477915

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