The centralizer of a stabilizer group is
The nontrivial logical Pauli operators are represented by
or more invariantly by the quotient after phases are removed.
For , there are three cases. If , it acts as a scalar on the code. If , it anticommutes with a stabilizer and . If , it acts as a nontrivial logical operator and is not proportional to the identity. Therefore