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.dev1795175304

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.dev1795175304
File Size Uploaded Provenance Actions
deltakit_analyse-0.1.1.dev1795175304.tar.gz 59.4 kB With provenance Details for deltakit_analyse-0.1.1.dev1795175304.tar.gz

Built distribution (wheel)

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

Total release size: 131.2 kB

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

Download URL deltakit_analyse-0.1.1.dev1795175304.tar.gz
Size 59.4 kB
Tags Source
SHA-256 checksum
How to use checksums
95da302dd1cc395a384089a243507cd21e244f8523d42d144f7d6b6105076df4
BLAKE2b-256 checksum
How to use checksums
90a984c7ea51517e8f0bdf0360e56955d6b14f63dea7979b407284f440eedaeb
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.dev1795175304-py3-none-any.whl

Download URL deltakit_analyse-0.1.1.dev1795175304-py3-none-any.whl
Size 71.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fda6a35a90f007b390a784c0b45874dfe646c28d75f727e8738fdf113099be5c
BLAKE2b-256 checksum
How to use checksums
d02b0f0b151789af77bd45931afb06d19ce496200630bb001fb1dcf15d29ee37
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.dev1795175304

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.dev1795175304.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