Transversal Gates
A transversal gate is the cleanest fault-tolerant construction: a logical operation built as a tensor product of single-qubit physical gates, one per qubit of the code block (or one per corresponding pair of qubits across two blocks). Because every physical gate touches only one qubit of any given block, a single faulty gate can corrupt at most one qubit of that block — exactly the propagation property fault tolerance demands.
Definition
Let a code use physical qubits per logical qubit. A single-block logical gate is transversal if it can be implemented as
where each acts on physical qubit alone. A two-block gate (such as a logical CNOT) is transversal if it is a tensor product of two-qubit gates, the -th one coupling qubit of block A to qubit of block B — never two qubits of the same block.
Contrast this with a non-transversal gate that, say, applies a Toffoli among three qubits of the same block. One faulty Toffoli could place errors on two qubits of that block at once, overwhelming a distance-3 code.
Transversal gates of the 3-qubit bit-flip code
The 3-qubit repetition (bit-flip) code encodes
Two of its logical gates are transversal:
- Logical is : it flips , i.e. .
- Logical is : it acts as on and on , i.e. , .
You can check that also equals on any single qubit (since and agree on the code space), but the symmetric three-qubit form is the transversal one and is what fault tolerance prescribes.
The Eastin–Knill obstruction
Why not just make every gate transversal and be done? The Eastin–Knill theorem proves that no quantum code with the ability to detect arbitrary single-qubit errors admits a universal set of transversal logical gates. Some gate in any universal set must be implemented by a non-transversal (and more expensive) construction. This is the deep reason the rest of the module exists: the Clifford gates are often transversal, but the gate that completes a universal set is not, and must be supplied by magic-state injection.
Try it
The starter code prepares the logical . Apply the transversal logical (a on each of the three qubits). The grader checks the resulting state vector, which should be — amplitude on index 0 and on index 7.
Sign in on the full site to ask questions and join the discussion.