Skip to main content

Quantinuum's TKET Quantum Compiler

Project description

tket

pypi codecov py-version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tket-0.12.16.tar.gz (465.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tket-0.12.16-cp310-abi3-win_amd64.whl (9.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

tket-0.12.16-cp310-abi3-musllinux_1_2_x86_64.whl (14.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

tket-0.12.16-cp310-abi3-manylinux_2_34_x86_64.whl (13.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.34+ x86-64

tket-0.12.16-cp310-abi3-macosx_15_0_x86_64.whl (11.0 MB view details)

Uploaded CPython 3.10+macOS 15.0+ x86-64

tket-0.12.16-cp310-abi3-macosx_13_0_arm64.whl (10.0 MB view details)

Uploaded CPython 3.10+macOS 13.0+ ARM64

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

Hashes for tket-0.12.16.tar.gz
Algorithm Hash digest
SHA256 a60399d883f712c39c43c2eedba2f92fbd65b06a7195fd4332fec4533040e163
MD5 0bcb72e14a30a57d63036a780cc0ef1f
BLAKE2b-256 c87b5ba9cc8847161d7060e5b4340a027e7ec9d1746afbe731c404673de11486

See more details on using hashes here.

Provenance

The following attestation bundles were made for tket-0.12.16.tar.gz:

Publisher: python-wheels.yml on Quantinuum/tket2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for tket-0.12.16-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b102e31c2f65350fe1a12e6710babba589d58052ad593a1cbe995b17b96f5071
MD5 6d0a418fd17ed174073e558ea0d72508
BLAKE2b-256 c60891b7a63ee80138a5c2adaef9168977bb15a3499f9beba7d6eaec20e8041f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tket-0.12.16-cp310-abi3-win_amd64.whl:

Publisher: python-wheels.yml on Quantinuum/tket2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tket-0.12.16-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tket-0.12.16-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e78c6af6742b8a165d8b595caef6cc0853468af49625f1bdc99c3965fce4be67
MD5 5e8946b093a469349a09b2bf0f99f38f
BLAKE2b-256 7919613e550bd989db008c9bbe7828ec59cfa2818a4a9dec67ca277e33556a3f

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tket-0.12.16-cp310-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tket-0.12.16-cp310-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 362b0458d928bcd9563b19fe0d8c5ed24abfd57a949c7afbea4c0e3ca369d9a9
MD5 c920aa6ccd16f4ff7e8c753cf572bcb1
BLAKE2b-256 6c86d037ba5eaf4a957a42f90b5cb71429df86d4e29f3b7bf88c8962402baa7e

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tket-0.12.16-cp310-abi3-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for tket-0.12.16-cp310-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 5c2412211c071ceb64d8027e28e5c8878c13f02a268cb5a76aa7905f0344bb3e
MD5 af728e24a2f393cb21337f19285d1caf
BLAKE2b-256 0880267272befa672d2557e57d3d29c8901afcfb0b2c26c2dd3c576d13662b71

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tket-0.12.16-cp310-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for tket-0.12.16-cp310-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b2e7123d4028371907bad76fffa101b9ba4d9678d5bc5ccae7cf1ba88b3fd8d4
MD5 685d1e964ab305faafe155fe4a712a12
BLAKE2b-256 37c712b9c3cbc9d04f48ff7d3be7d9fe16efa55739bb398969d45235e58082dc

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page