RCQT Research Center for Quantum Technology · Chiang Mai University

Interactive lab › Entangle two, three and four qubits

Interactive lab · 27/47 · Entangling gates · 2, 3 and 4 qubits

Entangle two, three and four qubits

Single-qubit gates rotate; entangling gates make the qubits share a state that none of them has alone. Step through small circuits and watch the amplitudes and the entanglement of each qubit change. Then see how neutral atoms do it: a CZ gate from three laser pulses and the Rydberg blockade, whose quality depends on how strongly the blockade holds.

What you are seeing

  • The circuit runs left to right; the white line marks where the state is. H makes superpositions, CX flips the target when the control is 1, CZ adds a sign, Toffoli needs two controls.
  • Amplitudes: bar height is |a|, colour is the phase. A GHZ state has just two bars, all-zeros and all-ones.
  • Entanglement entropy of each qubit with the rest: 0 for a product state, 1 bit for a maximally entangled qubit.
  • Rydberg CZ: atom A to |r⟩, a 2π pulse on atom B, atom A back. If A is in |r⟩, B cannot be excited (blockade), and the phases add up to CZ. With V/Ω of a few, the blockade leaks and the fidelity drops; with V/Ω ≳ 20 it is above 99 %.

The numbers in the model

Qubits2 – 4 (exact state vector)
Rydberg CZ (Jaksch et al. 2000)π_A · 2π_B · π_A
Gate fidelityF = (|Tr U†_CZ U|² + Tr U†U)/20
Circuit fidelity estimate(1 − ε)^(number of two-qubit gates)

Go further

More labs on this theme