Skip to main content

Python module for interfacing with the CQC t|ket> library of quantum software

Project description

PyPI version

pytket is a python module for interfacing with CQC t|ket>, a set of quantum programming tools. We currently support circuits and device architectures from Google Cirq, IBM Qiskit, Pyzx, ProjectQ and Rigetti pyQuil, allowing the t|ket> tools to be used in conjunction with projects on these platforms.

Getting Started

pytket is available for python3.6 or higher, on Linux and MacOS. To install, run

pip install pytket

Note: attempting to install from source will not set up the required binaries for the t|ket> compiler, so we recommend the PyPI installation.

See the Getting Started page for a quick introduction to using pytket.

Documentation can be found at cqcl.github.io/pytket

To get more in depth on features, see the examples.

Interfaces

To use pytket in conjunction with other platforms you must download an additional separate module for each. This can be done from pip, or from source, as the binaries are included with the core pytket package.

For each subpackage:

Qiskit: pip install pytket-qiskit

Cirq: pip install pytket-cirq

PyQuil: pip install pytket-pyquil

ProjectQ: pip install pytket-projectq

PyZX: pip install pytket-pyzx

Note:this will need a separate install of pyzx from source.

Project details


Release history Release notifications | RSS feed

This version

0.2.3

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-0.2.3-cp37-cp37m-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.7m

pytket-0.2.3-cp37-cp37m-macosx_10_6_intel.whl (2.5 MB view details)

Uploaded CPython 3.7mmacOS 10.6+ Intel (x86-64, i386)

pytket-0.2.3-cp36-cp36m-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.6m

pytket-0.2.3-cp36-cp36m-macosx_10_6_intel.whl (2.5 MB view details)

Uploaded CPython 3.6mmacOS 10.6+ Intel (x86-64, i386)

File details

Details for the file pytket-0.2.3-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: pytket-0.2.3-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for pytket-0.2.3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0db50d1c71c8bacb9002b97ab6d68006b36173ba7f487db265bffb4fbfa2e0f1
MD5 6f70a463ecb776271db3d74990922707
BLAKE2b-256 ff7d8efdf1b354a2b6d76c0641b0125a3ed201effcf08464bdbf31e55261f09e

See more details on using hashes here.

File details

Details for the file pytket-0.2.3-cp37-cp37m-macosx_10_6_intel.whl.

File metadata

  • Download URL: pytket-0.2.3-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.7m, macOS 10.6+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for pytket-0.2.3-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 cec7529504d31031143ce450b57717f0525c7495080ce06ef1d193d1744882f3
MD5 3bb71592ae2aefe57c7935ee44acd40b
BLAKE2b-256 51f9a727bc7e7359c37584492b7987474e277cfb5606aa8c32ea363b2fa1da4d

See more details on using hashes here.

File details

Details for the file pytket-0.2.3-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: pytket-0.2.3-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for pytket-0.2.3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2c301286acb8e7ba09eeb437e97d982200d9743a20e5900e51002d1c542e6f75
MD5 f18795830e148196a2de5dcb35b9b469
BLAKE2b-256 bac0fceaa3c75c4585a85035e94bd642a3931aafdc2297c38cd5cbb0e93c4990

See more details on using hashes here.

File details

Details for the file pytket-0.2.3-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

  • Download URL: pytket-0.2.3-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.6m, macOS 10.6+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for pytket-0.2.3-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f9517aff0b2fcdfc6bfcfe300466af7f575bda9e73781b29e36ef492fd18b09b
MD5 8e46647534b03846663eeb3036e36c10
BLAKE2b-256 5ee2bc5288e093cb4db6d7df03d505041cad74d8e2a83331c75bb987625be645

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