Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Tergite

PyPI version license CI PyPI pyversions

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

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

Apache 2.0 License

Acknowledgements

This project was sponsored by:

Metadata

Release files for tergite 2026.11.0rc5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tergite 2026.11.0rc5
File Size Uploaded Provenance Actions
tergite-2026.11.0rc5.tar.gz 204.6 kB Without provenance Details for tergite-2026.11.0rc5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tergite 2026.11.0rc5
File Interpreter ABI Platform Actions
tergite-2026.11.0rc5-py3-none-any.whl Python 3 none any Details for tergite-2026.11.0rc5-py3-none-any.whl

Total release size: 251.3 kB

Release files / tergite-2026.11.0rc5.tar.gz

Download URL tergite-2026.11.0rc5.tar.gz
Size 204.6 kB
Tags Source
SHA-256 checksum
How to use checksums
377b6472869d1968d675c758cb38926f684a8618c750f8dabc06ee5235bf3811
BLAKE2b-256 checksum
How to use checksums
e8ebb5d7b5fff8ed1983736bc12ea8cd5057ae5196b09a04cfc011d2c0af5fa7
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":"24.04","id":"noble","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.0rc5-py3-none-any.whl

Download URL tergite-2026.11.0rc5-py3-none-any.whl
Size 46.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2afa6e0bc55c5f4a23e2773f3e3ac65147d8ac378a130c290a03e489a4b86a5
BLAKE2b-256 checksum
How to use checksums
963c9d28ece9526179908cadb6f785c4239b0fe9cfb1ceec4864ce01a893eb6a
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":"24.04","id":"noble","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.0rc5

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page