
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Pytket is a python module for interfacing with TKET, a quantum computing toolkit and optimising compiler developed by Quantinuum. In addition to pytket there are several pytket extension modules for accessing a range of quantum hardware and classical simulators. The extension modules also allow circuit conversion between several widely used quantum software tools including qiskit, cirq and pennylane.
The source code for the TKET compiler can be found in this github repository.
Installation is supported for Linux, MacOS and Windows. Installation requires python 3.10, 3.11, 3.12 or 3.13.
To install run the pip command:
pip install pytket
See Installation troubleshooting for help with installation.
To install the pytket extension modules add a hyphen and the extension name to the command:
pip install pytket-quantinuum
For a list of pytket extensions see this page: https://docs.quantinuum.com/tket/api-docs/extensions.html.
Warning. There is a known issue with installing pytket in a conda environment on MacOS: you may not be able to install versions more recent then 1.11.0. The only known remedy is to use an official Python distribution instead.
API reference: https://docs.quantinuum.com/tket/api-docs/
To get started using pytket see the user guide.
For bugs and feature requests we recommend creating an issue on the github repository.
User support: tket-support@quantinuum.com
For discussion, join the public slack channel here.
There is also a pytket tag on quantum computing stack exchange.
Mailing list: join here.
If you wish to cite TKET in any academic publications, we generally recommend citing our software overview paper for most cases.
If your work is on the topic of specific compilation tasks, it may be more appropriate to cite one of our other papers:
FAQs
Quantum computing toolkit and interface to the TKET compiler
We found that pytket demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.