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.13.0.tar.gz (587.6 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.13.0-cp310-abi3-win_amd64.whl (9.5 MB view details)

Uploaded CPython 3.10+Windows x86-64

tket-0.13.0-cp310-abi3-manylinux_2_28_x86_64.whl (12.9 MB view details)

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

tket-0.13.0-cp310-abi3-manylinux_2_28_aarch64.whl (11.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

tket-0.13.0-cp310-abi3-macosx_11_0_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ x86-64

tket-0.13.0-cp310-abi3-macosx_11_0_arm64.whl (9.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file tket-0.13.0.tar.gz.

File metadata

  • Download URL: tket-0.13.0.tar.gz
  • Upload date:
  • Size: 587.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tket-0.13.0.tar.gz
Algorithm Hash digest
SHA256 7ccbcd6379f0bad5e6d701bc38b0e73ae09a89316a948ba79a4dd3d0800374bf
MD5 555ed2ca9f6ba56720708bae4f15b799
BLAKE2b-256 94727d1eddd68475a453fba17d010f5b0484061b370c4a669ef241e05f7c1136

See more details on using hashes here.

Provenance

The following attestation bundles were made for tket-0.13.0.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.13.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: tket-0.13.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 9.5 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tket-0.13.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2f147c0d378930f7a6f676ce5e880fda9c0258512ebed4f929b1add976a798f5
MD5 d1e2db6b685517a49314874a2de59cba
BLAKE2b-256 7bd10b478d69c744849cf94af21079d8b702c322eed85031c5cb6effb54ffdbf

See more details on using hashes here.

Provenance

The following attestation bundles were made for tket-0.13.0-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.13.0-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tket-0.13.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c044aa8b4a83ddd7362fd139e32c5dd1b5a9c132176cf8e31ccc9691d446463f
MD5 e1b8a93b01b9891828a5a0df97845d62
BLAKE2b-256 9482df1610831c76007a7146c0fb1ae9af9672c389dff24e727f8e7a498a6fba

See more details on using hashes here.

Provenance

The following attestation bundles were made for tket-0.13.0-cp310-abi3-manylinux_2_28_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.13.0-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tket-0.13.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fa73f33e83fe59c9669723d105cdc8b4cc9e494b5ca808be4aff8525b3ca3cdc
MD5 fbfbed4c1291d393df39b71fea940600
BLAKE2b-256 1f396a3d69429f25dd3c178de76c5e0d40f6526799e632357714c5ed4d55b449

See more details on using hashes here.

Provenance

The following attestation bundles were made for tket-0.13.0-cp310-abi3-manylinux_2_28_aarch64.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.13.0-cp310-abi3-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for tket-0.13.0-cp310-abi3-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 d3a3169e232eb3576fd529f1aacb87d5a2cfeffcd1b604f81ff80169c8ef35f9
MD5 81d2cbd3e3fa1548fce8e7329338da53
BLAKE2b-256 b3b909f1d165a64ffe2885a19bd1942c91cfaf0827df8328999eb5749ac4ed9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tket-0.13.0-cp310-abi3-macosx_11_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.13.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tket-0.13.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e4d6d7e02409c741b3db8d1feedb9ba24962ea09769d177eb18631ec7227cc11
MD5 b6d2473e5b1d50573f3fdbddccc3ec76
BLAKE2b-256 3462d56c2af222ceaf53e2b2366fd887aa813c9b9a795a5a09db18fda34289e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for tket-0.13.0-cp310-abi3-macosx_11_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