This release is a pre-release and may not be stable for production use.
Tergite
The SDK in the Tergite software stack: a Qiskit provider for running circuits and pulses on the Swedish quantum computer.
This project is developed by a core group of collaborators. Chalmers Next Labs AB (CNL) takes on the role of managing and maintaining this project.
Version Control
The tergite stack is developed on a separate version control system and mirrored on Github. If you are reading this on GitHub, then you are looking at a mirror: its pull requests and issues are not read. Please get in touch via email contact.quantum@chalmersnextlabs.se instead.
Installation
pip install tergite
For pulse-level jobs written with oqpy, install the pulse extra:
pip install 'tergite[pulse]'
Dependencies
- Python 3.13+
- Qiskit 2.1+
- Tergite Frontend, and a Tergite Backend that runs circuits
Quick Start
-
Get an API token: create an account with QAL 9000, or run your own Tergite Frontend, and make an app token in its dashboard.
-
Connect, and pick a backend
from tergite import Tergite
provider = Tergite.use_provider_account(
service_name="MY_SERVICE_NAME",
url="https://api.qal9000.se", # or the URL of your own Tergite API
token="MY_API_TOKEN",
)
print(provider.backends())
backend = provider.get_backend("Loke")
- Run a circuit, transpiled to that backend
from qiskit import QuantumCircuit, transpile
qc = QuantumCircuit(2, 2)
qc.h(0)
qc.cx(0, 1)
qc.measure([0, 1], [0, 1])
job = backend.run(transpile(qc, backend), shots=1000)
job.wait_for_final_state()
print(job.result().get_counts())
To keep your account for later, pass save=True: see docs/accounts.md.
Documentation
| Document | Read it to |
|---|---|
| docs/accounts.md | save an account, take it from the environment, or use the SDK on a shared computer |
| docs/running_circuits.md | run circuits and set shots and measurement levels |
| docs/pulses.md | run pulse-level jobs, and migrate from Qiskit pulse schedules |
| examples/ | see notebooks and scripts that use the SDK |
| DESIGN.md | understand how the SDK is built, before changing it |
| CONTRIBUTING.md | run the tests and follow the code conventions |
Contribution Guidelines
If you would like to contribute to tergite, please have a look at our contribution guidelines
Authors
This project is a work of many contributors.
Special credit goes to the authors of this project as seen in the CREDITS file.
ChangeLog
To view the changelog for each version, have a look at the CHANGELOG.md file.
License
Acknowledgements
This project was sponsored by:
- Knut and Alice Wallenberg Foundation under the Wallenberg Center for Quantum Technology (WACQT) project at Chalmers University of Technology
- Nordic e-Infrastructure Collaboration (NeIC) and NordForsk under the NordIQuEst project
- European Union's Horizon Europe under the OpenSuperQ project
- European Union's Horizon Europe under the OpenSuperQPlus project
Metadata
Release files for tergite 2026.11.0rc6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tergite-2026.11.0rc6.tar.gz | 205.0 kB | Without provenance | Details for tergite-2026.11.0rc6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tergite-2026.11.0rc6-py3-none-any.whl | Python 3 | none | any | Details for tergite-2026.11.0rc6-py3-none-any.whl |
Total release size: 252.1 kB
Release files / tergite-2026.11.0rc6.tar.gz
| Download URL | tergite-2026.11.0rc6.tar.gz |
|---|---|
| Size | 205.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09d9c983e3d2d094e0718d9c1d68c9eb9e713e60b6af57b6853c5c099da077db
|
|
BLAKE2b-256 checksum How to use checksums |
ae3be9698d0f3139b7e4d10fb3392854b8b7ab86cf68351981e6e1ccba5137e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tergite-2026.11.0rc6-py3-none-any.whl
| Download URL | tergite-2026.11.0rc6-py3-none-any.whl |
|---|---|
| Size | 47.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e04b5f478aba6903c80805e7526881f712578927faba4ba1d11a5012c2fa3adc
|
|
BLAKE2b-256 checksum How to use checksums |
2cc411ac7661cdf22bbad67927379067c2af8137d71e8e9f60cc2c95d986e1a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for tergite 2026.11.0rc6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.