Skip to main content
KetQat

Appearance

Definition · intermediate

Quantum circuit equivalence checking

The task of deciding whether two quantum circuits implement the same unitary, exactly or up to a global phase, or approximately in operator norm. It verifies compiler passes and is hard in general but efficient for special classes such as Clifford circuits.

Established definitionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Given circuits C1,C2C_1, C_2 on nn qubits with unitaries U1,U2U_1, U_2:

  • Exact equivalence: U1=U2U_1 = U_2.
  • Equivalence up to global phase: U1=eiφU2U_1 = e^{i\varphi} U_2 for some φ∈R\varphi \in \R, equivalently U2†U1U_2\dagg U_1 is a multiple of the identity. This is the relevant notion for whole programs, but not for subcircuits that may later be controlled.
  • Approximate equivalence: min⁡φ∥U1−eiφU2∥≤δ\min_\varphi \norm{U_1 - e^{i\varphi}U_2} \le \delta in operator norm, for a tolerance δ\delta, as needed when rotations are synthesised approximately.
  • Equivalence on a subspace or up to permutation: restrictions to an invariant subspace (for example with ancillas starting in ∣0⟩\ket0), or equality after a known relabelling of qubits (as left by routing).

Equivalence checking decides one of these relations from the circuit descriptions. Because U2†U1U_2\dagg U_1 is implemented by the circuit C2−1C1C_2^{-1} C_1, every version reduces to an identity check. In its approximate form with a promise gap, deciding whether a circuit is far from every multiple of the identity (the yes case) or close to one is QMA-complete (Janzing, Wocjan and Beth); practical tools therefore use methods that work well on circuits produced by compilers, such as ZX-calculus rewriting, or decision diagrams combined with simulation of random inputs and with alternating gates of C1C_1 and C2−1C_2^{-1} so that intermediate representations stay close to the identity (Burgholzer and Wille).

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Dominik Janzing, Pawel Wocjan, Thomas Beth (2005). "Non-identity-check" is QMA-complete. International Journal of Quantum Information 3, 463-473. doi:10.1142/S0219749905001067arXiv:quant-ph/0305050
  2. Lukas Burgholzer, Robert Wille (2021). Advanced Equivalence Checking for Quantum Circuits. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 40, 1810-1824. doi:10.1109/TCAD.2020.3032630arXiv:2004.08420

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Definitions checked for consistency; complexity statement compared with Janzing, Wocjan and Beth, arXiv quant-ph/0305050, Definition 3 and Sec. 3; methods compared with Burgholzer and Wille, arXiv 2004.08420 (TCAD 40, 1810, 2021) full text: decision diagrams, simulation runs, and the G G'^-1 = I scheme kept close to the identity. Crossref metadata match.

    Two corrections. (1) The record said the identity check is QMA-complete without saying which side is the yes case; QMA-completeness holds with far from the identity as the yes case, so the sentence now says so. (2) The sentence citing Burgholzer and Wille listed ZX-calculus rewriting among its methods, but that paper uses decision diagrams, simulation and the alternating scheme only (ZX appears only in its bibliography); reworded so ZX is mentioned as a separate method without that citation.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision c0ec93e18cd64ff4. Source file knowledge/records/definition/quantum-circuit-equivalence-checking.md in the content repository (readable there once it is public).