mqt.core.bench

Typed benchmark instances and analytic references.

Submodules

Package Contents

class Output

One logical classical output register.

property name: str

The register name.

property width: int

The number of big-endian outcome bits.

class Evaluation

The result of comparing counts with a reference.

property total_variation_distance: float

The total variation distance from the ideal distribution.

property squared_hellinger_fidelity: float

The squared Hellinger fidelity with the ideal distribution.

property success_probability: float | None

The observed success probability, when defined.