Skip to main content
KetQat

Appearance

Proof · intermediate

Proof that Clifford circuit equivalence is efficient

A unitary commuting with all single-qubit X and Z operators commutes with every matrix and is therefore a phase; tableaux compute the conjugation action gate by gate.

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.

Only if. If U1=eiφU2U_1 = e^{i\varphi}U_2, the phases cancel in U1PU1†U_1 P U_1\dagg.

If. Put W=U2†U1W = U_2\dagg U_1. The hypothesis gives WPW†=PW P W\dagg = P, i.e. WP=PWWP = PW, for each generator PP, hence for every product of generators, which (up to phases) are all 4n4^n Pauli strings. The Pauli strings form a basis of the space of 2n×2n2^n \times 2^n complex matrices, so WW commutes with every matrix. Taking the matrix units Ejk=∣j⟩⟨k∣E_{jk} = \ketbra{j}{k}: WEjk=EjkWW E_{jk} = E_{jk} W applied to ∣k⟩\ket{k} gives W∣j⟩=⟨k∣W∣k⟩ ∣j⟩W\ket{j} = \bra{k}W\ket{k}\,\ket{j} for all j,kj, k, so WW is diagonal with all diagonal entries equal, W=cIW = c I. Since WW is unitary, ∣c∣=1\abs c = 1, so c=eiφc = e^{i\varphi} and U1=eiφU2U_1 = e^{i\varphi}U_2.

Algorithm. Represent a signed Pauli string on nn qubits by 2n2n bits and a sign bit. Starting from the identity tableau (row jj is XjX_j, row n+jn + j is ZjZ_j), apply the gates of C1C_1 in order, conjugating every row: H, S and CNOT map each Pauli string to another one with a sign given by a simple Boolean formula, and only the columns of the one or two qubits the gate touches change, so each gate costs O(n)O(n) operations on the 2n2n rows (Aaronson and Gottesman). Do the same for C2C_2 and compare the two tableaux, O(n2)O(n^2) bits. The total time is O(n(m1+m2)+n2)O(n(m_1 + m_2) + n^2).

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. Scott Aaronson, Daniel Gottesman (2004). Improved simulation of stabilizer circuits. Physical Review A 70, 052328. doi:10.1103/PhysRevA.70.052328arXiv:quant-ph/0406196

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)

    Proof checked line by line against theorem/clifford-circuit-equivalence-is-efficient: commutation with all Pauli strings (a matrix basis) forces W = cI via matrix units; unitarity gives |c| = 1; tableau update cost compared with Aaronson-Gottesman arXiv:quant-ph/0406196 (each CNOT, Hadamard or phase gate updates the tableau in O(n) time); comparison O(n^2); total O(n(m1+m2) + n^2).

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 3c6b076ffa0a99d9. Source file knowledge/records/proof/clifford-circuit-equivalence-is-efficient.md in the content repository (readable there once it is public).