mqt.core.bench.teleportation¶
Quantum teleportation benchmark instance.
Module Contents¶
- class Teleportation¶
A validated quantum teleportation benchmark.
The circuit teleports the fixed \(|+\rangle\) state and measures Bob’s qubit in the \(X\) basis. The one-bit result is zero on success; Alice’s measurements stay internal.
- evaluate(counts: Mapping[str, int]) Evaluation¶
Compare sampled counts with the ideal distribution.
- static from_instance_specification_json(json: str, *, source: str = '<instance-specification>') Teleportation¶
Parse a strict benchmark instance specification.
- static from_manifest_json(json: str, *, source: str = '<manifest>') Teleportation¶
Parse a strict benchmark manifest.