Interactive lab › Quantum simulation, one gate at a time
Interactive lab · 30/66 · Digital simulation · neutral atoms
Quantum simulation, one gate at a time
A digital simulator does not need its hardware to look like the model: it breaks the evolution into short steps and builds each step from native gates. On neutral atoms the two-qubit gate is a controlled-Z made with the Rydberg blockade; a ZZ rotation costs two of them. More steps mean a smaller Trotter error but more gates, and every gate adds error. Quench a transverse-field Ising chain from all spins up, and look for the sweet spot.
What you are seeing
- Top: one Trotter step as the machine runs it, with the even and odd bonds as two parallel layers of CZ gates.
- The heat maps compare the exact ⟨Z_i⟩(t) with the machine's, one column per Trotter step, the signal shrinking as hardware errors accumulate.
- “The sweet spot”: Trotter infidelity falls with n, hardware infidelity rises with n, and the total has a minimum. Second order needs fewer steps for the same Trotter error, so it wins whenever gates are good enough.
- Press “Use the best n”, then lower the CZ error by a factor of ten and watch the best n move.
The numbers in the model
| Model | H = J Σ Z_i Z_{i+1} + h Σ X_i, N ≤ 8 |
|---|---|
| ZZ rotation | e^{−iθZZ} = H·CZ·H · Rz(2θ) · H·CZ·H |
| Trotter error | exact, from the state vector |
| Hardware error | F = (1 − ε₂)^{n_CZ} (1 − ε₁)^{n_1q} |
| Gate times | CZ 0.25 µs, single-qubit layer 0.5 µs |
Go further
- Glossary: digital quantum simulation
- Glossary: Trotter error
- Lab: the Rydberg CZ gate itself
- Lab: the analog route
More labs on this theme
- Program a quantum simulator made of single atoms
- Does the machine simulate the model?
- Make the Dancing Atomic Boy dance
- Turn a superfluid into a Mott insulator
- One atom per site, seen one by one
- Send an electron through a wall
- Watch disorder stop a quantum particle
- Compute a quantum system with random paths
- All 66 labs