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 view them here.

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

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

pytket-0.4.2-cp37-cp37m-macosx_10_6_intel.whl (3.5 MB view details)

Uploaded CPython 3.7m macOS 10.6+ intel

pytket-0.4.2-cp36-cp36m-manylinux2010_x86_64.whl (3.8 MB view details)

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

pytket-0.4.2-cp36-cp36m-macosx_10_6_intel.whl (3.5 MB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

File details

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

File metadata

  • Download URL: pytket-0.4.2-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/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pytket-0.4.2-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 edff3f6021cec627d208c0868be5fde6355a3ed1250b5610f3ca6524635dfbab
MD5 f722fc7f04cee6e823528d282a188ce4
BLAKE2b-256 76c798d82c4dbcc2930c5108d3f4e33035ab2a097f07aa3e857ca8b15d8a3826

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.4.2-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pytket-0.4.2-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 547ac701ba1f7b8a9e5c5c129797d44cc63c9b72cbde6df2729608395a6c3e16
MD5 fbe49d865b18deced80eb51f5ab0924a
BLAKE2b-256 5368b17111e509e4d04ba3776b7eb51852b154f11707b5b4ff2e9878a5352571

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.4.2-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pytket-0.4.2-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 474fc20d3ae19d0248d957c3410aef8e928c51c477a8ba3ce4bc6b176c964e6d
MD5 d5e1712ec6c845eb2e9a2cd645f27fd5
BLAKE2b-256 05a12a5e2e78b353e7599bdbd70b9e05327cad5da684b88037957b193c4e328a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.4.2-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pytket-0.4.2-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 6a90929e78aacae7c78348326b310ffa383df1c9ea0019998a162e8196cc4fc9
MD5 ec6ff1d965211c36a64796ede707f362
BLAKE2b-256 4d0ffef902612dec13f93ca6f5fc40ff740afe34059d5809ed9828e23550d269

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