beginner · Programming · Entanglement & Bell States
All Four Bell States
The four canonical maximally entangled two-qubit states are collectively called the Bell basis.
You already built the first one, ∣Φ+⟩. The complete set is:
These four states are orthonormal and span the entire two-qubit space, so they form a basis — the Bell basis. Any two-qubit state can be expressed as a linear combination of them; they do not, however, exhaust all maximally entangled two-qubit states, which form a continuous family.
Building all four from scratch
A single template circuit produces any Bell state. Begin in a computational basis state ∣xy⟩ (where x,y∈{0,1}), apply a Hadamard to qubit 0, then a CNOT from qubit 0 to qubit 1:
The x bit controls the relative phase (0 gives +, 1 gives −), while the y bit controls which pair of basis states appears (0 gives the Φ family, 1 gives the Ψ family). Starting from ∣00⟩, you can reach any of the four by pre-applying X gates before the Hadamard and CNOT.
Try it
Prepare ∣Ψ+⟩=21(∣01⟩+∣10⟩). You need to engineer the right input to the template circuit, starting from ∣00⟩. The grader checks the full state vector.
Run your code to see the quantum state.
Once you pass, try changing the starting X gates to reach the other three Bell states and observe how the amplitudes shift in the simulator.
Sign in on the full site to ask questions and join the discussion.