Skip to main content

[Renamed] Quantinuum's TKET2 Quantum Compiler

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

tket2

pypi codecov py-version

[!WARNING] This package has been renamed to tket. Please update your dependencies accordingly.

Compiler functionality from the legacy pytket package will be incorporated into tket.

TKET2 is an open source quantum compiler developed by Quantinuum. Central to TKET2'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 TKET2, providing a high-level interface for working with quantum circuits. See also the Rust library with the same name on crates.io.

Install

TKET2 can be installed via pip. Requires Python >= 3.10.

pip install tket2

Usage

See the Getting Started guide and the other examples.

Development

This package uses pyo3 and maturin to bind TKET2 functionality to python as the tket2 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

tket2-0.12.0.tar.gz (76.0 kB view details)

Uploaded Source

Built Distribution

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

tket2-0.12.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file tket2-0.12.0.tar.gz.

File metadata

  • Download URL: tket2-0.12.0.tar.gz
  • Upload date:
  • Size: 76.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.21

File hashes

Hashes for tket2-0.12.0.tar.gz
Algorithm Hash digest
SHA256 8a81742cb835f9c0e4551af13e2f3228ad72ee67117b1ea98532eb0cf816c97d
MD5 8dee1e5c364aa87c6525a7c199aa6476
BLAKE2b-256 6e18af831faddaaf258e62508e8c20ba7fe42e53a6498fed899551c9d9c01d5a

See more details on using hashes here.

File details

Details for the file tket2-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: tket2-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.21

File hashes

Hashes for tket2-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d815c7586ad48c5cb5265a5f7b3f7ef24e046bcf8914eac8c28665933c6a9b8e
MD5 0416360ece88ac72c8a8f2c1382471ca
BLAKE2b-256 890551bc8595cf81a33c7766083a7f8c4ff707d10ff4b8c03f18607b325f459a

See more details on using hashes here.

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