The repository or configuration that created this release differ from a previous release. View details.
Deltakit-analyse
Introduction
deltakit-analyse helps analyse quantum error correction (QEC) experiments by providing tools to post-process data from simulations or real quantum hardware execution and visualise the results.
Install
The deltakit-analyse package requires a Python version between 3.11 and 3.15.
You can install is as a stand-alone package with pip:
python -m pip install deltakit-analyse
If you use uv, you can install it in your current virtual environment with:
uv pip install deltakit-analyse
Alternatively, it is distributed with Deltakit together with other companion packages (pip install deltakit).
Quick Start
Below is an example of how deltakit-analyse can be used. Given logical failure data from a QEC experiment, the goal is to estimate the logical error probability per round, often called logical error rate (LER).
import matplotlib.pyplot as plt
from deltakit_analyse import (
calculate_lep_and_lep_stddev,
compute_logical_error_per_round,
)
from deltakit_analyse.plotting import interpolate_leppr, plot_leppr
# Synthetic data for the example, replace this with results obtained from
# simulations or real hardware execution.
failed_shots = [9949, 8434, 9649, 9926]
total_shots = [50_000, 20_000, 20_000, 20_000]
rounds = [5, 10, 15, 20]
# LER computation requires to compute the logical error probability (LEP) first.
lep, lep_stddev = calculate_lep_and_lep_stddev(failed_shots, total_shots)
estimate = compute_logical_error_per_round(rounds, lep, lep_stddev)
print(
f"Logical error probability per round: {estimate.leppr:.2%} ± {estimate.leppr_stddev:.2%}"
)
fig, _ = plot_leppr(interpolate_leppr(estimate))
plt.show()
Example output:
Logical error probability per round: 11.91% ± 0.31%
with the following plot generated:
Contributing
See the Deltakit contributing guide.
License
This project is licensed under the Apache License 2.0.
Metadata
Release files for deltakit-analyse 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deltakit_analyse-0.1.0.tar.gz | 59.3 kB | With provenance | Details for deltakit_analyse-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deltakit_analyse-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for deltakit_analyse-0.1.0-py3-none-any.whl |
Total release size: 130.9 kB
Release files / deltakit_analyse-0.1.0.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | deltakit_analyse-0.1.0.tar.gz |
|---|---|
| Size | 59.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7184595fab478da6042eac7b43f4ebca32713391cb41a44df3d415a216b5bcc4
|
|
BLAKE2b-256 checksum How to use checksums |
8405025f74a9df30860ff3ccb7bca48621b570dffaa2053b7a3753dbc5a6a133
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / deltakit_analyse-0.1.0-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | deltakit_analyse-0.1.0-py3-none-any.whl |
|---|---|
| Size | 71.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe25bc317ee073cab5652015f07f77f068d27bed512f0b4ae077bcb17e5f7f58
|
|
BLAKE2b-256 checksum How to use checksums |
4825988bfc09017abb30fdbc4f8f4f41021cda8abd6d0dd037e4edd9d77ffbb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for deltakit-analyse 0.1.0
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.
Change of provenance
The configuration that created this release differs from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Attestation for deltakit_analyse-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA 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.