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.0rc4

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.0rc4
File Size Uploaded Provenance Actions
tergite-2026.11.0rc4.tar.gz 200.8 kB Without provenance Details for tergite-2026.11.0rc4.tar.gz

Built distribution (wheel)

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

Total release size: 246.3 kB

Release files / tergite-2026.11.0rc4.tar.gz

Download URL tergite-2026.11.0rc4.tar.gz
Size 200.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d02af335d7efac853477f72abcd0ace595a85843ee8f84332a39976c26e42f4c
BLAKE2b-256 checksum
How to use checksums
acda06968678e8e8ff229071d18980b7bd89fc3596f159fd19bbb9807d775b3f
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.0rc4-py3-none-any.whl

Download URL tergite-2026.11.0rc4-py3-none-any.whl
Size 45.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d8777a8bf83b876d1f4a46f517900370409340a267d4c4aa578bfebd25e266d
BLAKE2b-256 checksum
How to use checksums
87b77bb48631ac591287cb6293e2dc3cf27e528f9fc82dff8d8076969d09d389
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.0rc4

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