Q&ABeginnerentanglement

How do I create an entangled state in the lab?

Apply H to qubit 0, then CX(0,1), starting from |00⟩, to get |Φ+⟩ = (|00⟩+|11⟩)/√2.

The simplest way: start from $|00\rangle$ and apply a Hadamard to $q_0$, so the state becomes $\frac{1}{\sqrt2}(|00\rangle+|01\rangle)$; then a CNOT with $q_0$ as control and $q_1$ as target gives $\frac{1}{\sqrt2}(|00\rangle+|11\rangle)$. In the circuit builder, choose the ready-made “bell” example, or add the two gates by hand.

To get the other Bell states: add $X$ on $q_1$ before the Hadamard to get $|\Psi^+\rangle=\frac{1}{\sqrt2}(|01\rangle+|10\rangle)$, or $X$ on $q_0$ before the Hadamard to get $|\Phi^-\rangle=\frac{1}{\sqrt2}(|00\rangle-|11\rangle)$. For a three-qubit GHZ state, add a second CNOT from $q_1$ to $q_2$.

When you measure, you will see only 00 and 11, in proportions close to 50/50 (the exact numbers depend on the seed and the number of shots). In the entanglement lab you can change the measurement basis for each party to see the correlation in the $x$ and $y$ bases as well.

Related topics

References

  1. Michael A. Nielsen; Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press doi:10.1017/CBO9780511976667The standard reference for quantum computing; the Crossref record gives 2012 for the Cambridge Core online edition.
  2. John Watrous / IBM Quantum (2025). Basics of Quantum Information (course). IBM Quantum Learning quantum.cloud.ibm.com