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

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

Uploaded CPython 3.7m

pytket-0.3.0-cp37-cp37m-macosx_10_6_intel.whl (2.7 MB view details)

Uploaded CPython 3.7m macOS 10.6+ intel

pytket-0.3.0-cp36-cp36m-manylinux1_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.6m

pytket-0.3.0-cp36-cp36m-macosx_10_6_intel.whl (2.7 MB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

File details

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

File metadata

  • Download URL: pytket-0.3.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.6 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.3.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 376c0f580666fce384db7864c2f775934e49ae74642c3eccb307059e7dcb4e92
MD5 3cfdaac34289c1efc36f0e403d203a4e
BLAKE2b-256 cc9b2e96f7eb5def93266f5b0abae7cb435bfaf24ecc89723c3048ec8e5c22c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.3.0-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 2.7 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.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.3.0-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 4e02ea5818f17ba8bf0157db897bf76a95ea1a08574dfc3c3c39e0eac70cc99d
MD5 7caef7e904bb60fa93442d7d3a12f4fd
BLAKE2b-256 60d2e7d92f9e9328bbc141a493c6092203b4ff338db6bfc1575acbde985c9ba6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.3.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.6 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.3.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 da23e60eaa8bacf8ce815724af5b1406b75a1ce0645f2532316d82ff2b9fc7d3
MD5 384f0b1c37566aa1049a7bb443b08888
BLAKE2b-256 f51d3304bf28212082cc7a7c4d50f7981ebc957256aac09b59fc3b0bc84c4f47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytket-0.3.0-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 2.7 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.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.3.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 77b47d07e607743d4a98a1bc52ff24c98c48513923020ae528750295faff4b92
MD5 53cee407ea0929a755fc5b6707ff20e0
BLAKE2b-256 e2189855784314d63f386889a8f5d38bd14ab8b34c827b5a1c62ec34797f186b

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