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 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
Built Distributions
File details
Details for the file pytket-0.4.1-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: pytket-0.4.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0e5bb5e6535fe1acc055c69ae969aca6d683211ce2e0c82101281a9f225553f |
|
MD5 | 20c6071a8883ff5354e0b093b30e52cd |
|
BLAKE2b-256 | 513bed5416f7939b1c9fe9cbcf05aefeedf82a0b4f70269061c4b2697556b40c |
File details
Details for the file pytket-0.4.1-cp37-cp37m-macosx_10_6_intel.whl
.
File metadata
- Download URL: pytket-0.4.1-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/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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 750514f31f2635c12c431f1ddf00ac3f1c60d0ad48eda47d9d8a854398a513bf |
|
MD5 | df730241dcdcbf136205e5c09593ff09 |
|
BLAKE2b-256 | d682ec26390300360815ddfd725f7015056ed698e84881b598f25cca1f0c4100 |
File details
Details for the file pytket-0.4.1-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: pytket-0.4.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 903303e526ddb45c539fb59ed9844fe641aca46cf297496229b85cca9d007941 |
|
MD5 | 0cbbd06d9e6d6b04415864c7a5cdaf90 |
|
BLAKE2b-256 | 508c00dbf218285f099a221e31918542ff66774ca5c9ee79c93aadf3f7819c84 |
File details
Details for the file pytket-0.4.1-cp36-cp36m-macosx_10_6_intel.whl
.
File metadata
- Download URL: pytket-0.4.1-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/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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 516bd43e2b2e983fa51e4ef37629638d3d920c6ea913875fd10c23500770e74d |
|
MD5 | 7f2582195611064654820ee8aa387288 |
|
BLAKE2b-256 | acb589eb1b30fb03ce7a3b9d209872d3c30704a44712d3430232a85384829b9f |