Skip to main content

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

Project description

PyPI version Documentation Status

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 pytket.readthedocs.io

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 they 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

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

pytket-0.2.2-cp37-cp37m-manylinux1_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.7m

pytket-0.2.2-cp37-cp37m-macosx_10_6_intel.whl (2.4 MB view details)

Uploaded CPython 3.7m macOS 10.6+ intel

pytket-0.2.2-cp36-cp36m-manylinux1_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.6m

pytket-0.2.2-cp36-cp36m-macosx_10_6_intel.whl (2.4 MB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

File details

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

File metadata

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

File hashes

Hashes for pytket-0.2.2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 064ca03167f0b628a8250f5e24f3b7dd85371c659c032548da67b40f1a8d3407
MD5 46adc4e6d537dd5ef5ac0cca1721db12
BLAKE2b-256 dc5e88db1d03fa3ef090d06b8b09e56f103de9433e12929cb4b122e15b6a3676

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.2.2-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for pytket-0.2.2-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 eed18f0c9e2beda5f40d34546a7631b5383f2185f4bf38f22b11860d22fd0594
MD5 8309484141b70649c3014fa1e4d79760
BLAKE2b-256 288317949e70d7a1c5217d192a2264c7c9b0a05c21c30157a4379cbf915545e2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pytket-0.2.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8c161b88ab1856317258db50914eb4c750f2151a69432d0235f36929c00f83c3
MD5 77f3857691dfc61bcd693b0f3b04a685
BLAKE2b-256 31d13f4bfad70ff5a7e9de414419a1f390bbf07e1f442f31c7d9f435dad3dd4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.2.2-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for pytket-0.2.2-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 fc9ebd0b7f20e01f7c08935ce25b3b313ad741e4c670ca0b25d58aa5cedec900
MD5 2bfb854d4a1868bca08b14d922624941
BLAKE2b-256 73bebb508b34ea7523620166387a50f0aa9ed43d35ebae64f0b8906d62eedea3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page