|q⟩ Bad Qubits

advanced · Programming · Advanced Hamiltonian Simulation

Comparing Simulation Methods

We now have a full toolbox: first-order Trotter, higher-order Suzuki formulas, LCU, qubitization, and QSP. None is universally best. This lesson lays the methods side by side so you can pick the right one for a given Hamiltonian, accuracy target, and hardware.

The cost dictionary

Let HH act on nn qubits, with evolution time tt, target error ε\varepsilon, and (for the algebraic methods) coefficient 1-norm α=α\alpha = \sum_\ell |\alpha_\ell| from the Pauli decomposition.

| Method | Gate / query cost | Ancillas | Error in ε\varepsilon | | --- | --- | --- | --- | | First-order Trotter | O ⁣((Λt)2ε)O\!\left(\dfrac{(\,\Lambda t)^2}{\varepsilon}\right) | 00 | 1/ε1/\varepsilon | | Order-2k2k Suzuki | O ⁣((Λt)1+1/2k(1/ε)1/2k)O\!\left((\Lambda t)^{1+1/2k}\,(1/\varepsilon)^{1/2k}\right) | 00 | (1/ε)1/2k(1/\varepsilon)^{1/2k} | | LCU (Taylor series) | O ⁣(αtlog(αt/ε)loglog())O\!\left(\alpha t \,\dfrac{\log(\alpha t/\varepsilon)}{\log\log(\cdots)}\right) | O(logL)O(\log L) | log(1/ε)\log(1/\varepsilon) | | Qubitization / QSP | O ⁣(αt+log(1/ε))O\!\left(\alpha t + \log(1/\varepsilon)\right) | O(logL)O(\log L) | log(1/ε)\log(1/\varepsilon) |

Here Λ\Lambda is a norm of the (commutators of the) Hamiltonian terms — for product formulas the relevant quantity is the sum of commutator norms, not α\alpha (Childs et al.). The headline contrasts are:

Where each method wins

First-order / low-order Trotter. Best when you have no spare qubits, the time tt is short, and modest accuracy suffices. The constant factors are tiny and the circuits are shallow — ideal for near-term noisy hardware where every ancilla and every gate costs fidelity.

Higher-order Suzuki. Best when you still want zero ancillas but need better accuracy, and tt is moderate. The 4th-order formula often hits the sweet spot: its (1/ε)1/4(1/\varepsilon)^{1/4} scaling beats first order long before the constant-factor overhead (a 4th-order step is several times longer than a 1st-order step) catches up.

LCU / qubitization / QSP. Best in the asymptotic, fault-tolerant regime: large tt, very small ε\varepsilon, and a Hamiltonian with a favourable (small) 1-norm α\alpha. The logarithmic accuracy dependence and optimal αt\alpha t scaling dominate once the problem is big enough to amortise the block-encoding overhead.

Commutator scaling: a subtle Trotter advantage

The table's worst-case Trotter bound is often pessimistic. Childs et al. proved that the true error scales with the sum of nested commutator norms of the Hamiltonian terms. When the terms nearly commute — as in geometrically local lattice Hamiltonians — these commutators are small, and product formulas can outperform their generic bounds by large factors. This is one reason Trotter remains competitive for physically structured problems despite its inferior ε\varepsilon-scaling.

Choosing a method: a checklist

  1. Do you have ancilla qubits to spare? No → product formula. Yes → consider LCU/qubitization.
  2. How accurate must the answer be? Low/medium → product formula. Very high → algebraic method.
  3. Is the evolution time large? Large tt favours the additive O(αt)O(\alpha t) scaling of qubitization/QSP over Trotter's super-linear tt.
  4. Is the Hamiltonian geometrically local? Then exploit commutator scaling — a high-order product formula may beat its worst-case bound substantially.
  5. What is the coefficient 1-norm α\alpha? A large α\alpha inflates every algebraic-method cost; pre-processing to reduce α\alpha (e.g. by re-grouping Pauli terms) is often worthwhile.

There is no single winner — the art of Hamiltonian simulation is matching the method to the structure of the problem and the constraints of the machine.

Sign in on the full site to ask questions and join the discussion.