Bell state: your first entangled pair

H on one qubit then CNOT creates two qubits whose measurement results always agree.

Beginner · 2 qubits · 2 gates · 1 two-qubit · depth 2 · reviewed November 2026

Open in the Circuit Builder

What is happening

After H, qubit 0 is in superposition. The CNOT copies its value into qubit 1 in a quantum way: it flips qubit 1 only on the branch where qubit 0 is |1⟩. The result is (|00⟩ + |11⟩)/√2, the Bell state often written Φ+.

Neither qubit has a definite value on its own, yet the two always match when measured. This is entanglement, and it is a resource for teleportation, superdense coding and quantum key distribution.

Step by step

  1. 1. H on q0

    q0 becomes (|0⟩ + |1⟩)/√2 while q1 stays |0⟩. The register is (|00⟩ + |10⟩)/√2.

  2. 2. CNOT with q0 as control

    On the |10⟩ branch q1 is flipped, so |10⟩ becomes |11⟩. The register is (|00⟩ + |11⟩)/√2.

  3. 3. Measure

    Only 00 and 11 appear, each about half the time. 01 and 10 never appear in an ideal run.

Expected result

Probabilities: 50% for |00⟩ and 50% for |11⟩. The Qubits tab shows both qubits as fully mixed, which is the sign of entanglement.

Qubit 0 is the leftmost bit. In Qiskit, bitstrings are printed in the reverse order.

Qiskit code

from qiskit import QuantumCircuit
from math import pi

qc = QuantumCircuit(2, 2)
qc.h(0)
qc.barrier()
qc.cx(0, 1)
qc.barrier()
qc.measure(0, 0)
qc.measure(1, 1)

# Qiskit prints bit strings with qubit 0 on the RIGHT; this site writes qubit 0 on the LEFT.

Try this

  • Add an X on q1 before the CNOT. Which Bell state do you get?
  • Turn noise on and watch 01 and 10 start to appear.
  • Open the Qubits tab and compare each qubit’s Bloch length to 1.

Common misunderstanding

Myth: Measuring one qubit instantly sends a signal to the other.

Fact: The outcomes are correlated, but each one on its own is random, so no message can be sent this way.

Gates used

Related reading

Questions

How many Bell states are there?

Four: Φ+, Φ−, Ψ+ and Ψ−. They form a basis for two qubits, and each can be made by adding X or Z gates before the CNOT.