Skip to main content
KetQat

Appearance

Theorem · introductory

Exact universality of CNOT and single-qubit gates

Every unitary on n qubits is exactly a product of CNOT gates and single-qubit unitaries; one standard construction uses O(n^2 4^n) gates. Any two-qubit unitary needs at most three CNOTs.

Established 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.

The set consisting of CNOT and all single-qubit unitaries is exactly universal: for every n≥2n \ge 2 and every U∈U(2n)U \in U(2^n) there is a finite circuit of CNOT gates and single-qubit gates that implements UU.

The standard constructive proof writes UU as a product of at most 2n−1(2n−1)2^{n-1}(2^n - 1) two-level unitaries (each acting nontrivially on a two-dimensional subspace spanned by two computational basis states), then implements each two-level unitary with a Gray-code sequence of multiply-controlled NOT gates around one multiply-controlled single-qubit gate, and finally expands the controlled gates into CNOTs and single-qubit gates using the Z–Y–Z decomposition. This yields O(n24n)O(n^2 4^n) gates (section 4.5 of Nielsen and Chuang). The reduction of controlled gates to CNOT and single-qubit gates is due to Barenco et al.; that two-qubit gates suffice was shown by DiVincenzo.

Sharper counts are known. Every two-qubit unitary can be implemented with three CNOTs and single-qubit gates (Vidal and Dawson). For nn qubits, Shende, Bullock and Markov give a construction whose CNOT count grows as O(4n)O(4^n) and is within a factor of about two of a lower bound that holds for generic unitaries.

Holds when

  • Arbitrary single-qubit unitaries are available exactly, so the gate set is infinite.
  • Equality is up to a global phase.
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. Adriano Barenco, Charles H. Bennett, Richard Cleve, … Harald Weinfurter (1995). Elementary gates for quantum computation. Physical Review A 52, 3457-3467. doi:10.1103/PhysRevA.52.3457
  2. David P. DiVincenzo (1995). Two-bit gates are universal for quantum computation. Physical Review A 51, 1015-1022. doi:10.1103/PhysRevA.51.1015
  3. Michael A. Nielsen, Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press. doi:10.1017/CBO9780511976667
  4. 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
  5. Vivek V. Shende, Stephen S. Bullock, Igor L. Markov (2006). Synthesis of quantum-logic circuits. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 25, 1000-1010. doi:10.1109/TCAD.2005.855930arXiv:quant-ph/0406176

Contributors

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

Review history

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

    Two-level count d(d-1)/2 = 2^{n-1}(2^n-1) and O(n^2 4^n) re-derived; controlled-gate reduction compared with Barenco et al. arXiv:quant-ph/9503016 Lemmas 4.1-5.2; three CNOTs necessary and sufficient compared with Vidal-Dawson abstract (arXiv:quant-ph/0307177); factor-of-two lower bound compared with Shende-Bullock-Markov abstract (arXiv:quant-ph/0406176); DiVincenzo title/venue checked on Crossref.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 7a210242014338ad. Source file knowledge/records/theorem/exact-universality-of-cnot-and-single-qubit-gates.md in the content repository (readable there once it is public).