FAILURE MAP
← Case archive

FA-91230 / Quantum circuit simulation / Member archive

Error budget charges a CNOT once per operand · case 05

Each CNOT multiplies the success by (1-e2)^2.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

Input [ops, e1, e2, er] with decimal error rates. Success probability is the product of (1-e1) per single-qubit physical gate, (1-e2) per two-qubit gate, (1-e2)^6 (1-e1)^9 per three-qubit gate (Toffoli decomposition), and (1-er) per measured qubit; rz is virtual and barrier/id are free. Return the probability rounded to 9 decimals.

Why this case matters

Error budgets guide which circuit variant to run on hardware; miscounting gate classes skews every comparison.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression: random budget 150.8584044640.884680355Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗