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, ensure that you have pip version 19 or above, and 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.

LICENCE

Copyright 2019 Cambridge Quantum Computing

Licensed under a Non-Commercial Use Software Licence (the "Licence"); you may not use this product except in compliance with the Licence. You may obtain a copy of the Licence in the LICENCE file accompanying these documents or at:

https://cqcl.github.io/pytket/build/html/licence.html

Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Licence for the specific language governing permissions and limitations under the Licence, but note it is strictly for non-commercial use.

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.4.0-cp37-cp37m-manylinux2010_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

pytket-0.4.0-cp37-cp37m-macosx_10_6_intel.whl (3.4 MB view details)

Uploaded CPython 3.7m macOS 10.6+ intel

pytket-0.4.0-cp36-cp36m-manylinux2010_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

pytket-0.4.0-cp36-cp36m-macosx_10_6_intel.whl (3.4 MB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

File details

Details for the file pytket-0.4.0-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pytket-0.4.0-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for pytket-0.4.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 56357fa9dffb8b9c154b279e73342affceae557bab31f439de052f6e54ab9be0
MD5 9a140d47f2162cd62effe2bf22da5502
BLAKE2b-256 caf811997ec6d64117b538a7c1019eedf46bdca7c565a60bfe55456cc0b8d0a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.4.0-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for pytket-0.4.0-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 399feef27d452a5c00609f772e2d2b8418c671054bea9074bbe8c3d4644fd1b4
MD5 409dbf705220d63c2c501e7b5a5942f6
BLAKE2b-256 07655c660a7d67e238371da1af5058812fcaf4bfb4eca7a729e5a2a0f1b0ec94

See more details on using hashes here.

File details

Details for the file pytket-0.4.0-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pytket-0.4.0-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for pytket-0.4.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 14fab81e9c079366046c02e2b1f41df42f5eb6798e3eb0f5677e8bcc62c900be
MD5 90e89c6cbf43d7d7b4df2b7012795a54
BLAKE2b-256 e2efd14589873e4788722b771b0d54c9e1eea01eb0df44fb911b1c4e2c6a910d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.4.0-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for pytket-0.4.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 8ab294420d5b77dc6ca35cdb587e10b3f13ab976fca732dc602912e2f8ee0184
MD5 70cf6b3a419e172a193d177995b915f9
BLAKE2b-256 7df748e304b5a6d7735eb45138fbe32a801d8985260465846a8a8f7e7b0e3aeb

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