Python module for interfacing with the CQC t|ket> library of quantum software
Project description
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, Rigetti pyQuil, AQT, Honeywell and Microsoft QDK, 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 - AQT:
pip install pytket-aqt - Honeywell:
pip install pytket-honeywell - Q#:
pip install pytket-qsharp
A command-line interface tket is also included in this repo, enabling basic compilation and running of circuits on any installed backends. Type tket -h for help.
LICENCE
Copyright 2019-2020 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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytket-0.5.5-cp38-cp38-manylinux2014_x86_64.whl.
File metadata
- Download URL: pytket-0.5.5-cp38-cp38-manylinux2014_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.8
- 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d921e4e8a72d42fbaae8e83625bea09e644562a4d6a6e3aa7eda1519e1fe6b26
|
|
| MD5 |
fd93e2b4f92d7b452c1d24214865424d
|
|
| BLAKE2b-256 |
f3eb2d81e31943cd30bdde8b454dc6cc02583232cdada90500557c9689144416
|
File details
Details for the file pytket-0.5.5-cp38-cp38-macosx_10_14_x86_64.whl.
File metadata
- Download URL: pytket-0.5.5-cp38-cp38-macosx_10_14_x86_64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.8, macOS 10.14+ 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34b089a22d6eeaa5a07874ceb8907f5641bf14f65cc204b728e9f2ebd4cf2452
|
|
| MD5 |
75311fddd925e8a77abbd08dcba30db0
|
|
| BLAKE2b-256 |
7b37a54e3a1476e1ce5cf19e60f62db2d51b4e26849edf1a1604826c91def394
|
File details
Details for the file pytket-0.5.5-cp37-cp37m-manylinux2014_x86_64.whl.
File metadata
- Download URL: pytket-0.5.5-cp37-cp37m-manylinux2014_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.7m
- 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbd5c604073f47a97e65c9ace47f063a0c4bbd335d605bc068d654640cc662fb
|
|
| MD5 |
8521a9256c773d081c645f73f3314d94
|
|
| BLAKE2b-256 |
5a867d30413918882a6d18e9552e43ef48e518d5913feb8148627350724b1dbe
|
File details
Details for the file pytket-0.5.5-cp37-cp37m-macosx_10_14_x86_64.whl.
File metadata
- Download URL: pytket-0.5.5-cp37-cp37m-macosx_10_14_x86_64.whl
- Upload date:
- Size: 4.3 MB
- Tags: CPython 3.7m, macOS 10.14+ 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aab896e9082cbfa3f17569b6b930569a9866f3e0af857145d6be7e5cb6bbc0d2
|
|
| MD5 |
47e3e7cc9d08dd4f62ec64ab0f33e0f1
|
|
| BLAKE2b-256 |
11b96eceba70fd017e4cc8be3133b272688ed89e97f8ba023643c5b3f01e1215
|
File details
Details for the file pytket-0.5.5-cp36-cp36m-manylinux2014_x86_64.whl.
File metadata
- Download URL: pytket-0.5.5-cp36-cp36m-manylinux2014_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.6m
- 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc7c944985050aaa412d4220116627c8a3f2013892370473d23e945e0a0bd685
|
|
| MD5 |
66af9fcf7ed88420bbe2d6b16f5995e6
|
|
| BLAKE2b-256 |
b9a472627bc70fadce27fad14dcfcb16e04eee7e684ebb1fa0d84951e2689072
|
File details
Details for the file pytket-0.5.5-cp36-cp36m-macosx_10_14_x86_64.whl.
File metadata
- Download URL: pytket-0.5.5-cp36-cp36m-macosx_10_14_x86_64.whl
- Upload date:
- Size: 4.3 MB
- Tags: CPython 3.6m, macOS 10.14+ 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e747ffdd32fc25e7022e69ab485dc84a41b996d8e03ab1d931bc61082b982b9
|
|
| MD5 |
c8eb57327b6679d7d19d0508a8a46d7b
|
|
| BLAKE2b-256 |
e455c7f2934342a8f3e7e64d1a77d51783945dabb771046e7f23a97a154f7b63
|