Skip to main content

Plain-Language Intuition

Mode: Simple / School
Richard Feynman's original reason for wanting a quantum computer was simple: nature is quantum, so simulating it on an ordinary computer gets exponentially harder as the system grows. A quantum computer can simply imitate it. Here we simulate two tiny magnets (spins). Two things happen to them at once: - they interact, preferring to line up with each other; - an outside magnetic field tries to flip each one. A quantum computer cannot easily apply both effects simultaneously. The trick, called Trotterization, is to alternate: a brief moment of interaction, a brief moment of field, and repeat. With short enough moments this is indistinguishable from both acting together, like a film made of still frames. Add time steps and watch the spins evolve away from their starting state 00.

Quantum Simulation

Hamiltonian Simulation (Trotterization): quick reference

Simulates the time evolution of two interacting quantum spins by alternating short bursts of each term of the Hamiltonian.

Topic
Quantum Simulation
Level
Advanced
Circuit size
2 Qubits
Key result
Exponential advantage for simulating quantum systems

Concepts covered: Hamiltonian Simulation, Trotter-Suzuki Decomposition, Ising Model, Time Evolution

How Hamiltonian Simulation (Trotterization) works, step by step

  1. First Time Step. One slice of time: CNOT, T, CNOT applies the interaction between the spins; then H, T, H on each spin applies the field.
  2. Second Time Step. Repeat exactly the same slice. The state has now evolved for twice as long.
  3. Further Time Steps. More steps simulate later times. Use the control above to add a third.
  4. Measure the Spins. Measuring shows how likely each spin arrangement is after the evolution.

Frequently asked questions

What is Hamiltonian Simulation (Trotterization)?

Simulates the time evolution of two interacting quantum spins by alternating short bursts of each term of the Hamiltonian. It is a advanced-level topic in quantum simulation.

How many qubits does the Hamiltonian Simulation circuit use?

The QuanBit tutorial uses a 2 qubits circuit. Key result: Exponential advantage for simulating quantum systems.

Can I simulate Hamiltonian Simulation online for free?

Yes. The interactive Hamiltonian Simulation tutorial at https://www.quanbit.tech/learn/trotter-simulation runs free in the browser with nothing to install. You can step through the circuit gate by gate, watch the probabilities, statevector and Bloch spheres update, build the circuit yourself and take a short quiz.