Skip to main content
Pre-release

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

Deltakit-analyse

PyPI Python versions License: Apache 2.0

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:

Example logical error probability per round plot

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.1.dev1795186958

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

Source distribution (sdist)

Source distribution for deltakit-analyse 0.1.1.dev1795186958
File Size Uploaded Provenance Actions
deltakit_analyse-0.1.1.dev1795186958.tar.gz 59.4 kB With provenance Details for deltakit_analyse-0.1.1.dev1795186958.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deltakit-analyse 0.1.1.dev1795186958
File Interpreter ABI Platform Actions
deltakit_analyse-0.1.1.dev1795186958-py3-none-any.whl Python 3 none any Details for deltakit_analyse-0.1.1.dev1795186958-py3-none-any.whl

Total release size: 131.2 kB

Release files / deltakit_analyse-0.1.1.dev1795186958.tar.gz

Download URL deltakit_analyse-0.1.1.dev1795186958.tar.gz
Size 59.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0bd5a4038bbf1e474be9b9078df9d7f21fb466b35ff7835a1171ac62455208fe
BLAKE2b-256 checksum
How to use checksums
8f1f9b6a74d33d17530fe69c15e3c58cbca8b89afa45fba5cf11b9785f4e2ae3
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 log

Release files / deltakit_analyse-0.1.1.dev1795186958-py3-none-any.whl

Download URL deltakit_analyse-0.1.1.dev1795186958-py3-none-any.whl
Size 71.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b96d1cefcbccc3c41fff6e67d1fbdf0f0d38fe6df5348ea51064f9530987daf5
BLAKE2b-256 checksum
How to use checksums
9a11f54664a2e17ef297d681391197a81e79aee14e24f25e3ad98b6b01f12845
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 log

Security for deltakit-analyse 0.1.1.dev1795186958

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for deltakit_analyse-0.1.1.dev1795186958.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 log

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