Phase-flip repetition code
= Phase-flip repetition code
The $n$-qubit <phase-flip repetition code> is stabilized by $X_jX_{j+1}$ and has codewords $|+\rangle^{\otimes n}$ and $|-\rangle^{\otimes n}$. It has logical operators $\overline Z=X_1$ and $\overline X=Z_1\cdots Z_n$, so its distance against <phase flips> is $n$.