Logical Operators in Stabilizer Codes
A stabilizer code reserves some of its Hilbert space for logical information. The operators that act on that protected qubit — the logical and — are themselves Pauli strings, but special ones. This lesson shows how to find them directly from the stabilizer, using the same symplectic algebra we have been building.
Three nested groups
The structure rests on three subgroups of :
- The stabilizer , the operators that act as identity on the codespace.
- The normalizer — the Paulis that commute with every element of . (For Pauli subgroups the normalizer equals the centralizer, since two Paulis either commute or anticommute.)
- Inside , the stabilizer itself.
An operator in commutes with all stabilizers, so it maps the codespace to itself. If it also lies in , it acts trivially (as ). The interesting operators are therefore those in but not in .
Definition of logical operators
A logical operator is a Pauli : it commutes with every stabilizer generator (preserving the codespace) but is not itself a product of stabilizers (so it acts non-trivially on the logical qubits).
Counting dimensions: has independent generators, has , so the quotient has independent generators. These pair up into logical 's and logical 's. They must satisfy the same Pauli algebra as bare qubits:
i.e. anticommutes with its partner and commutes with all other logical operators and all stabilizers.
Finding them in practice
To construct logical operators from the check matrix:
- Find Paulis whose binary vectors are symplectically orthogonal to every stabilizer row — these span .
- Discard those already in the row space of the check matrix — these are in .
- From the remainder, choose representatives obeying the canonical (anti)commutation relations. This is a linear-algebra problem over .
Logical operators are defined only up to multiplication by a stabilizer: and (for ) act identically on the codespace, so we are free to pick the lowest-weight representative. The minimum weight over all logical operators is the code distance .
Example: the bit-flip code
The three-qubit bit-flip code has , so , . Candidate logical operators:
- (equivalently or , since they differ by a stabilizer): all-, so it commutes with both -stabilizers; it is not a product of them, so it is a genuine logical.
- : it overlaps each weight-2 -stabilizer in two positions, so it commutes with both; it is not in .
These two anticommute (they overlap only at qubit , an -meets- position), realizing the logical qubit's , algebra. The distance is here ( has weight 1) — this code corrects bit flips but not phase flips, as expected.
Try it
Using the symplectic inner product, verify that and are valid logical operators of the bit-flip code: both commute with the stabilizers and , and they anticommute with each other.
Sign in on the full site to ask questions and join the discussion.