Skip to main content
KetQat

Appearance

Theorem · intermediate

Three CNOTs suffice for any two-qubit gate

Every two-qubit unitary can be implemented, up to a global phase, with at most three CNOT gates and single-qubit gates, and three are needed for almost every two-qubit unitary.

Peer-reviewed resultMachine-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.

For every U∈U(4)U \in U(4) there is a circuit U=eiγ (A1⊗A2) CNOT (C1⊗C2) CNOT (D1⊗D2) CNOT (B1⊗B2)U = e^{i\gamma}\, (A_1\otimes A_2)\, \mathrm{CNOT}\, (C_1 \otimes C_2)\, \mathrm{CNOT}\, (D_1 \otimes D_2)\, \mathrm{CNOT}\, (B_1 \otimes B_2) with single-qubit gates Ai,Bi,Ci,DiA_i, B_i, C_i, D_i (CNOT directions fixed by the construction). By the Cartan decomposition it suffices to implement the core exp⁡(i(aXX+bYY+cZZ))\exp(i(a XX + b YY + c ZZ)) for arbitrary (a,b,c)(a, b, c), and one three-CNOT circuit with single-qubit rotations whose angles are explicit functions of a,b,ca, b, c does this.

The result was obtained independently by Vidal and Dawson, Vatan and Williams and Shende, Markov and Bullock, the last also for other gate libraries. Vatan and Williams show that two CNOTs suffice when UU is a real orthogonal matrix of determinant +1+1 (U∈SO(4)U \in SO(4)); a real UU of determinant −1-1, such as SWAP, may need three. That three are necessary for almost every UU follows from the parameter-counting bound with n=2n = 2.

Holds when

  • Gate library of CNOT and arbitrary single-qubit unitaries, no ancillas.
Stated in

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. G. Vidal, C. M. Dawson (2004). Universal quantum circuit for two-qubit transformations with three controlled-NOT gates. Physical Review A 69, 010301. doi:10.1103/PhysRevA.69.010301arXiv:quant-ph/0307177
  2. Farrokh Vatan, Colin Williams (2004). Optimal quantum circuits for general two-qubit gates. Physical Review A 69, 032315. doi:10.1103/PhysRevA.69.032315arXiv:quant-ph/0308006
  3. Vivek V. Shende, Igor L. Markov, Stephen S. Bullock (2004). Minimal universal two-qubit controlled-NOT-based circuits. Physical Review A 69, 062321. doi:10.1103/PhysRevA.69.062321arXiv:quant-ph/0308033

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)

    Compared with arXiv full texts of Vidal and Dawson (quant-ph/0307177, abstract and main result: three CNOTs necessary and sufficient), Vatan and Williams (quant-ph/0308006, Theorem 1 on SO(4) with 2 CNOTs and the det -1 case needing an extra SWAP) and Shende, Markov and Bullock (quant-ph/0308033, Table I and Prop. III.1). Reference metadata match. Necessity via kappa_2 = 3 recomputed.

    The record said two CNOTs suffice whenever U is real; Vatan and Williams prove this for U in SO(4) only (a determinant -1 real gate such as SWAP needs three). Restricted the sentence to real orthogonal U of determinant +1 and noted the SWAP counterexample.

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 678909d18ae083b5. Source file knowledge/records/theorem/three-cnots-suffice-for-two-qubit-gates.md in the content repository (readable there once it is public).