Skip to main content
KetQat

Appearance

Theorem · intermediate

Transversal CNOT on CSS codes

For any CSS code, applying a CNOT from each qubit of one code block to the corresponding qubit of a second block maps the code space to itself and acts as a logical CNOT between corresponding logical qubits.

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.

Let two blocks of nn qubits each be encoded in the same CSS code CSS(C1,C2)\mathrm{CSS}(C_1, C_2), and let U=∏j=1nCNOTj→n+jU = \prod_{j=1}^{n} \mathrm{CNOT}_{j \to n + j} apply CNOT from qubit jj of the first block to qubit jj of the second. Then for all x,x′∈C1x, x' \in C_1,

U ∣x+C2⟩∣x′+C2⟩=∣x+C2⟩∣x+x′+C2⟩.U \, \ket{x + C_2} \ket{x' + C_2} = \ket{x + C_2} \ket{x + x' + C_2} .

Fix a linear isomorphism λ:C1/C2→F2k\lambda : C_1 / C_2 \to \F_2^{k} and label the logical basis state ∣zˉ⟩=∣x+C2⟩\ket{\bar z} = \ket{x + C_2} when λ(x+C2)=z\lambda(x + C_2) = z. The identity says that UU acts on the code space of the two blocks as ∣zˉ⟩∣zˉ′⟩↦∣zˉ⟩∣z+z′‾⟩\ket{\bar z} \ket{\bar z'} \mapsto \ket{\bar z} \ket{\overline{z + z'}}: a CNOT from logical qubit ii of the first block to logical qubit ii of the second, for every ii simultaneously. UU is transversal, so a single faulty CNOT damages at most one qubit in each block.

Equivalently, in the Heisenberg picture UU maps X(a)⊗I↦X(a)⊗X(a)X(a) \otimes I \mapsto X(a) \otimes X(a) and I⊗Z(b)↦Z(b)⊗Z(b)I \otimes Z(b) \mapsto Z(b) \otimes Z(b), which sends the stabilizer of the two blocks to itself. Transversal CNOT on CSS codes is used in the fault-tolerance constructions of Shor and Gottesman; see also section 10.6 of Nielsen and Chuang.

Holds when

  • Both blocks are encoded in the same CSS code CSS(C1,C2)\mathrm{CSS}(C_1, C_2) on nn qubits.
  • Logical computational-basis states are the coset states, labelled through a fixed linear isomorphism C1/C2≅F2kC_1 / C_2 \cong \F_2^{k}.

Proof

Proof that bitwise CNOT is a logical CNOT on CSS codesMachine-checked

On computational basis states, U∣u⟩∣v⟩=∣u⟩∣u+v⟩U \ket{u} \ket{v} = \ket{u} \ket{u + v} for u,v∈F2nu, v \in \F_2^n. With the coset states of the CSS parameter theorem,

U∣x+C2⟩∣x′+C2⟩=1∣C2∣∑y∈C2∑y′∈C2∣x+y⟩∣x+x′+y+y′⟩.U \ket{x + C_2} \ket{x' + C_2} = \frac{1}{\abs{C_2}} \sum_{y \in C_2} \sum_{y' \in C_2} \ket{x + y} \ket{x + x' + y + y'} .

For fixed yy, the map y′↦y+y′y' \mapsto y + y' is a bijection of C2C_2, so the inner sum equals ∑y′′∈C2∣x+x′+y′′⟩\sum_{y'' \in C_2} \ket{x + x' + y''}, independent of yy. The right-hand side therefore factors as

(1∣C2∣∑y∈C2∣x+y⟩)(1∣C2∣∑y′′∈C2∣x+x′+y′′⟩)=∣x+C2⟩∣x+x′+C2⟩,\Big( \frac{1}{\sqrt{\abs{C_2}}} \sum_{y \in C_2} \ket{x + y} \Big) \Big( \frac{1}{\sqrt{\abs{C_2}}} \sum_{y'' \in C_2} \ket{x + x' + y''} \Big) = \ket{x + C_2} \ket{x + x' + C_2} ,

and x+x′∈C1x + x' \in C_1 because C1C_1 is linear, so the result lies in the code space of the two blocks. Since λ\lambda is linear, λ(x+x′+C2)=z+z′\lambda(x + x' + C_2) = z + z', which is the logical CNOT on every pair of corresponding logical qubits. By linearity UU maps the code space of the two blocks onto itself.

For the Heisenberg-picture form: CNOT maps Xc↦XcXtX_c \mapsto X_c X_t, Xt↦XtX_t \mapsto X_t, Zc↦ZcZ_c \mapsto Z_c, Zt↦ZcZtZ_t \mapsto Z_c Z_t (the table in the Clifford group record), so the bitwise product maps X(a)⊗I↦X(a)⊗X(a)X(a) \otimes I \mapsto X(a) \otimes X(a), I⊗X(a)↦I⊗X(a)I \otimes X(a) \mapsto I \otimes X(a), Z(b)⊗I↦Z(b)⊗IZ(b) \otimes I \mapsto Z(b) \otimes I and I⊗Z(b)↦Z(b)⊗Z(b)I \otimes Z(b) \mapsto Z(b) \otimes Z(b). Each image of a stabilizer generator of the two blocks is a product of stabilizer generators, which gives a second proof that the code space is preserved. The argument is the standard one, as in section 10.6 of Nielsen and Chuang.

Mentions
Part of
Related
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. Peter W. Shor (1996). Fault-tolerant quantum computation. Proceedings of the 37th Conference on Foundations of Computer Science (FOCS), 56-65. doi:10.1109/SFCS.1996.548464arXiv:quant-ph/9605011
  2. Daniel Gottesman (1998). Theory of fault-tolerant quantum computation. Physical Review A 57, 127-137. doi:10.1103/PhysRevA.57.127arXiv:quant-ph/9702029
  3. Michael A. Nielsen, Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press. doi:10.1017/CBO9780511976667

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)

    Coset-state identity and Heisenberg-picture action re-derived; verified numerically on two Steane-code blocks (14 qubits, all four logical basis inputs; numpy script); use in fault tolerance compared with Gottesman, arXiv quant-ph/9702029 (bitwise CNOT on any CSS code); shor-1996-fault-tolerant and gottesman-1998-fault-tolerant metadata compared with Crossref. Nielsen-Chuang is not openly readable, so its section numbers were not checked.

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 c1230e0ffce730a7. Source file knowledge/records/theorem/transversal-cnot-on-css-codes.md in the content repository (readable there once it is public).