Quantinuum's TKET Quantum Compiler
Project description
tket
TKET is an open source quantum compiler developed by Quantinuum. Central to TKET's design is its hardware agnosticism which allows researchers and quantum software developers to take advantage of its powerful compilation for many different quantum architectures.
This is the Python front-end for TKET, providing a high-level interface for working with quantum circuits. See also the Rust library with the same name on crates.io.
Install
TKET can be installed via pip. Requires Python >= 3.10.
pip install tket
Usage
See the Getting Started guide and the other examples.
The API documentation for tket-py can be found at https://quantinuum.github.io/tket2/.
Development
This package uses pyo3 and
maturin to bind TKET functionality to
python as the tket package.
Recommended:
A clean python 3.10 environment with maturin installed. At which point running
maturin develop in this directory should build and install the package in the
environment. Run pytest in this directory to test everything is working.
Don't forget to use the --release flag when using Badger and other heavy
computational workloads.
See DEVELOPMENT.md for more information.
License
This project is licensed under Apache License, Version 2.0 (LICENCE or http://www.apache.org/licenses/LICENSE-2.0).
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 Distribution
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 tket-0.12.16.tar.gz.
File metadata
- Download URL: tket-0.12.16.tar.gz
- Upload date:
- Size: 465.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a60399d883f712c39c43c2eedba2f92fbd65b06a7195fd4332fec4533040e163
|
|
| MD5 |
0bcb72e14a30a57d63036a780cc0ef1f
|
|
| BLAKE2b-256 |
c87b5ba9cc8847161d7060e5b4340a027e7ec9d1746afbe731c404673de11486
|
Provenance
The following attestation bundles were made for tket-0.12.16.tar.gz:
Publisher:
python-wheels.yml on Quantinuum/tket2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tket-0.12.16.tar.gz -
Subject digest:
a60399d883f712c39c43c2eedba2f92fbd65b06a7195fd4332fec4533040e163 - Sigstore transparency entry: 869827691
- Sigstore integration time:
-
Permalink:
Quantinuum/tket2@d4dbaa3e4ab91c8d89fb00c0ff5044c6276d5151 -
Branch / Tag:
refs/tags/tket-py-v0.12.16 - Owner: https://github.com/Quantinuum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-wheels.yml@d4dbaa3e4ab91c8d89fb00c0ff5044c6276d5151 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tket-0.12.16-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: tket-0.12.16-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 9.9 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b102e31c2f65350fe1a12e6710babba589d58052ad593a1cbe995b17b96f5071
|
|
| MD5 |
6d0a418fd17ed174073e558ea0d72508
|
|
| BLAKE2b-256 |
c60891b7a63ee80138a5c2adaef9168977bb15a3499f9beba7d6eaec20e8041f
|
Provenance
The following attestation bundles were made for tket-0.12.16-cp310-abi3-win_amd64.whl:
Publisher:
python-wheels.yml on Quantinuum/tket2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tket-0.12.16-cp310-abi3-win_amd64.whl -
Subject digest:
b102e31c2f65350fe1a12e6710babba589d58052ad593a1cbe995b17b96f5071 - Sigstore transparency entry: 869827701
- Sigstore integration time:
-
Permalink:
Quantinuum/tket2@d4dbaa3e4ab91c8d89fb00c0ff5044c6276d5151 -
Branch / Tag:
refs/tags/tket-py-v0.12.16 - Owner: https://github.com/Quantinuum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-wheels.yml@d4dbaa3e4ab91c8d89fb00c0ff5044c6276d5151 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tket-0.12.16-cp310-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: tket-0.12.16-cp310-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 14.7 MB
- Tags: CPython 3.10+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e78c6af6742b8a165d8b595caef6cc0853468af49625f1bdc99c3965fce4be67
|
|
| MD5 |
5e8946b093a469349a09b2bf0f99f38f
|
|
| BLAKE2b-256 |
7919613e550bd989db008c9bbe7828ec59cfa2818a4a9dec67ca277e33556a3f
|
Provenance
The following attestation bundles were made for tket-0.12.16-cp310-abi3-musllinux_1_2_x86_64.whl:
Publisher:
python-wheels.yml on Quantinuum/tket2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tket-0.12.16-cp310-abi3-musllinux_1_2_x86_64.whl -
Subject digest:
e78c6af6742b8a165d8b595caef6cc0853468af49625f1bdc99c3965fce4be67 - Sigstore transparency entry: 869827695
- Sigstore integration time:
-
Permalink:
Quantinuum/tket2@d4dbaa3e4ab91c8d89fb00c0ff5044c6276d5151 -
Branch / Tag:
refs/tags/tket-py-v0.12.16 - Owner: https://github.com/Quantinuum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-wheels.yml@d4dbaa3e4ab91c8d89fb00c0ff5044c6276d5151 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tket-0.12.16-cp310-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: tket-0.12.16-cp310-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 13.2 MB
- Tags: CPython 3.10+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
362b0458d928bcd9563b19fe0d8c5ed24abfd57a949c7afbea4c0e3ca369d9a9
|
|
| MD5 |
c920aa6ccd16f4ff7e8c753cf572bcb1
|
|
| BLAKE2b-256 |
6c86d037ba5eaf4a957a42f90b5cb71429df86d4e29f3b7bf88c8962402baa7e
|
Provenance
The following attestation bundles were made for tket-0.12.16-cp310-abi3-manylinux_2_34_x86_64.whl:
Publisher:
python-wheels.yml on Quantinuum/tket2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tket-0.12.16-cp310-abi3-manylinux_2_34_x86_64.whl -
Subject digest:
362b0458d928bcd9563b19fe0d8c5ed24abfd57a949c7afbea4c0e3ca369d9a9 - Sigstore transparency entry: 869827698
- Sigstore integration time:
-
Permalink:
Quantinuum/tket2@d4dbaa3e4ab91c8d89fb00c0ff5044c6276d5151 -
Branch / Tag:
refs/tags/tket-py-v0.12.16 - Owner: https://github.com/Quantinuum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-wheels.yml@d4dbaa3e4ab91c8d89fb00c0ff5044c6276d5151 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tket-0.12.16-cp310-abi3-macosx_15_0_x86_64.whl.
File metadata
- Download URL: tket-0.12.16-cp310-abi3-macosx_15_0_x86_64.whl
- Upload date:
- Size: 11.0 MB
- Tags: CPython 3.10+, macOS 15.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c2412211c071ceb64d8027e28e5c8878c13f02a268cb5a76aa7905f0344bb3e
|
|
| MD5 |
af728e24a2f393cb21337f19285d1caf
|
|
| BLAKE2b-256 |
0880267272befa672d2557e57d3d29c8901afcfb0b2c26c2dd3c576d13662b71
|
Provenance
The following attestation bundles were made for tket-0.12.16-cp310-abi3-macosx_15_0_x86_64.whl:
Publisher:
python-wheels.yml on Quantinuum/tket2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tket-0.12.16-cp310-abi3-macosx_15_0_x86_64.whl -
Subject digest:
5c2412211c071ceb64d8027e28e5c8878c13f02a268cb5a76aa7905f0344bb3e - Sigstore transparency entry: 869827699
- Sigstore integration time:
-
Permalink:
Quantinuum/tket2@d4dbaa3e4ab91c8d89fb00c0ff5044c6276d5151 -
Branch / Tag:
refs/tags/tket-py-v0.12.16 - Owner: https://github.com/Quantinuum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-wheels.yml@d4dbaa3e4ab91c8d89fb00c0ff5044c6276d5151 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tket-0.12.16-cp310-abi3-macosx_13_0_arm64.whl.
File metadata
- Download URL: tket-0.12.16-cp310-abi3-macosx_13_0_arm64.whl
- Upload date:
- Size: 10.0 MB
- Tags: CPython 3.10+, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2e7123d4028371907bad76fffa101b9ba4d9678d5bc5ccae7cf1ba88b3fd8d4
|
|
| MD5 |
685d1e964ab305faafe155fe4a712a12
|
|
| BLAKE2b-256 |
37c712b9c3cbc9d04f48ff7d3be7d9fe16efa55739bb398969d45235e58082dc
|
Provenance
The following attestation bundles were made for tket-0.12.16-cp310-abi3-macosx_13_0_arm64.whl:
Publisher:
python-wheels.yml on Quantinuum/tket2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tket-0.12.16-cp310-abi3-macosx_13_0_arm64.whl -
Subject digest:
b2e7123d4028371907bad76fffa101b9ba4d9678d5bc5ccae7cf1ba88b3fd8d4 - Sigstore transparency entry: 869827694
- Sigstore integration time:
-
Permalink:
Quantinuum/tket2@d4dbaa3e4ab91c8d89fb00c0ff5044c6276d5151 -
Branch / Tag:
refs/tags/tket-py-v0.12.16 - Owner: https://github.com/Quantinuum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-wheels.yml@d4dbaa3e4ab91c8d89fb00c0ff5044c6276d5151 -
Trigger Event:
release
-
Statement type: