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

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

Built distribution (wheel)

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

Total release size: 131.2 kB

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

Download URL deltakit_analyse-0.1.1.dev1794929507.tar.gz
Size 59.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c6b7efb20939768e0f5f4fe53108184364041a307b1310f9425a663acdac6e99
BLAKE2b-256 checksum
How to use checksums
3db90e84b055605ad4852e20274184a64f8aede07f4176e4c0cd1e0d96aeaf82
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 17, 2026.

Transparency log

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

Download URL deltakit_analyse-0.1.1.dev1794929507-py3-none-any.whl
Size 71.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0085ab05578cb331869daf646541f5b524ba3caa819e03098b491ca162662058
BLAKE2b-256 checksum
How to use checksums
17815ca2ae322ce6beee130c1b12d6107ece7a832e9cc453da3c83599e8dc652
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 17, 2026.

Transparency log

Security for deltakit-analyse 0.1.1.dev1794929507

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.dev1794929507.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 17, 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