Go back to glossary list

Phase-flips

Phase-flips can be harder to understand than bit-flips because there is no classical comparison. A classical bit can be imagined as a light switch that is either OFF (0) or ON (1). A qubit can be imagined as a sphere (a unit sphere called a Bloch sphere).

Imagine this sphere is a globe and your location is marked by a pin. The north pole represents |0⟩ and the south pole represents |1⟩. Your latitude represents your measurement probability. The closer you are to |0⟩ the more likely you are to measure 0, and vice versa. A bit-flip effectively swaps the poles, so that north is now |1⟩ and south is now |0⟩. You can also imagine the poles staying put and your pin rotating 180° around an imaginary axis through Null Island, where the Prime Meridian and the Equator intersect. Either way, you’re swapping measurement probabilities.

Besides your latitude, you also have your longitude. This represents phase, which affects how qubits interfere with each other. You’ve probably never seen a light switch rotate inside a wall, not that it would do anything, but you can rotate around a sphere. A phase-flip is specifically a 180° rotation. Like tracing your finger around the Equator on a globe, your finger moves neither north nor south, so your measurement probabilities remain unchanged.

If you’ve ever gone square dancing or line dancing, or if you’ve ever done the Electric Slide or the Macarena, there’s a risk that everyone will turn opposite you and you’ll end up facing backward. Likewise, noise and other disturbances can cause undesirable phase-flips, causing the quantum state to face in the wrong direction when visualized as an arrow. In addition to error correction for bit-flip errors, there is also ongoing research into correcting phase-flip errors.