FAILURE MAP
← Case archive

FA-91238 / Quantum circuit simulation / Member archive

Error budget prices a Toffoli like one CNOT · case 03

A Toffoli costs (1-e2) instead of its six-CNOT, nine-single-qubit decomposition.

Member previewVariant 3 · 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 90.9702990.861859192Failed

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 ↗