Source-verifiedLevel 1
Pauli-X Gate
The Pauli-X gate is the quantum equivalent of a classical NOT gate, flipping |0⟩ to |1⟩ and |1⟩ to |0⟩, corresponding to a 180-degree rotation about the x-axis of the Bloch sphere.
What it means
The Pauli-X gate, also known as the bit-flip gate or quantum NOT gate, is one of the three Pauli matrices used extensively in quantum computing.Its matrix representation is σₓ = [[0,1],[1,0]].On the Bloch sphere, it corresponds to a π rotation about the x-axis, exchanging the north and south poles while leaving the equatorial x-axis points fixed.The Pauli-X gate is Hermitian and unitary, meaning X = X† = X⁻¹, so it is its own inverse.It is fundamental in quantum error correction (correcting bit-flip errors), quantum teleportation (as a Pauli correction), and in constructing more complex gates.Together with Y, Z, and the identity I, the Pauli matrices form a basis for all 2×2 matrices.Everyday analogy
The Pauli-X gate is like a light switch — it flips the state from off (|0⟩) to on (|1⟩) and vice versa, just like a classical NOT gate but operating on quantum states.
Think of it as flipping a coin from heads to tails — whatever side was up is now down.
Common misconceptions
- The Pauli-X gate is NOT just a classical NOT gate — when applied to a superposition, it swaps the amplitudes rather than collapsing the state.
- The Pauli-X gate does NOT measure or observe the qubit — it is a unitary operation that coherently transforms the state.
Key takeaways
- The Pauli-X gate flips |0⟩ ↔ |1⟩, acting as a quantum NOT gate.
- On the Bloch sphere, it is a 180-degree rotation about the x-axis.
- It is Hermitian (X = X†) and self-inverse (X² = I).
Check your understanding
What is X|+⟩ where |+⟩ = (|0⟩+|1⟩)/√2?
- A.|−⟩
- B.|+⟩
- C.|0⟩
- D.|1⟩
Show the answer
Answer: B. |+⟩
Why: X|+⟩ = X(|0⟩+|1⟩)/√2 = (|1⟩+|0⟩)/√2 = |+⟩. The |+⟩ state is an eigenstate of the X gate with eigenvalue +1.
Builds on
Primary source: Barenco et al., Elementary gates for quantum computation, Phys. Rev. A 52, 3457 (1995), doi:10.1103/PhysRevA.52.3457
Learn it hands-on
This concept is part of a 46-level curriculum with an interactive simulator and Lumen, a tutor whose answers are verified before you see them. Levels 1–5 are free.
