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 n qubits each be encoded in the same
CSS codeCSS(C1,C2), and let
U=∏j=1nCNOTj→n+j apply CNOT from qubit j of the first block
to qubit j of the second. Then for all x,x′∈C1,
U∣x+C2⟩∣x′+C2⟩=∣x+C2⟩∣x+x′+C2⟩.
Fix a linear isomorphism λ:C1/C2→F2k and label the logical basis
state ∣zˉ⟩=∣x+C2⟩ when λ(x+C2)=z. The identity says that
U acts on the code space of the two blocks as ∣zˉ⟩∣zˉ′⟩↦∣zˉ⟩∣z+z′⟩: a CNOT from logical qubit i of the first block
to logical qubit i of the second, for every i simultaneously. U is
transversal, so a single faulty CNOT damages at most
one qubit in each block.
Equivalently, in the Heisenberg picture U maps X(a)⊗I↦X(a)⊗X(a)
and I⊗Z(b)↦Z(b)⊗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) on n qubits.
Logical computational-basis states are the coset states, labelled through a fixed linear isomorphism C1/C2≅F2k.
For fixed y, the map y′↦y+y′ is a bijection of C2, so the inner sum equals
∑y′′∈C2∣x+x′+y′′⟩, independent of y. The right-hand side therefore
factors as
and x+x′∈C1 because C1 is linear, so the result lies in the code space of
the two blocks. Since λ is linear, λ(x+x′+C2)=z+z′, which is the
logical CNOT on every pair of corresponding logical qubits. By linearity U maps the
code space of the two blocks onto itself.
For the Heisenberg-picture form: CNOT maps Xc↦XcXt, Xt↦Xt,
Zc↦Zc, Zt↦ZcZt (the table in the
Clifford group record), so the bitwise product maps
X(a)⊗I↦X(a)⊗X(a), I⊗X(a)↦I⊗X(a),
Z(b)⊗I↦Z(b)⊗I and I⊗Z(b)↦Z(b)⊗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.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
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
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
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).