Hamiltonian simulation
The approximation of quantum time evolution generated by a specified Hamiltonian.
Also called quantum dynamics simulation
On this page
Definition and significance
Hamiltonian simulation constructs an operation approximating exp(-iHt) in units where hbar=1, or exp(-iHt/hbar) with physical units retained. It is a computational primitive for dynamics, phase estimation, spectroscopy and many algorithmic constructions. The Hamiltonian representation and access model determine which simulation method is appropriate.
The goal may be to approximate the full unitary, selected observables or a state trajectory. These are different tasks with different error criteria. A small observable error for one initial state does not establish a uniform operator-norm approximation over all inputs.
Mechanism and mathematical treatment
For a Hermitian H=sum_j E_j |E_j><E_j|, time evolution multiplies each eigencomponent by exp(-iE_j t). If H=sum_l H_l and the terms commute, exp(-it sum_l H_l)=product_l exp(-itH_l) exactly. Noncommuting terms require approximation or a more elaborate algorithm such as a linear-combination-of-unitaries or block-encoding method.
The norm, sparsity, coefficient sum, locality, target error and evolution time must accompany complexity claims. A rescaling H->cH with t->t/c leaves Ht unchanged, showing why “number of simulated seconds” without an energy scale is incomplete.
Fully worked reference example
For H=Z+X, H^2=2I. Therefore exp(-itH)=cos(sqrt(2)t)I-i sin(sqrt(2)t)(Z+X)/sqrt(2). Acting on |0> gives [cos(sqrt(2)t)-i sin(sqrt(2)t)/sqrt(2)]|0>-i sin(sqrt(2)t)/sqrt(2)|1>. The transition probability is P(1)=sin^2(sqrt(2)t)/2.
At t=pi/(2sqrt(2)), the state is -i(|0>+|1>)/sqrt(2), so both computational outcomes occur with probability 1/2. This exact two-level solution provides a reference against which an approximate product formula can be checked. The global factor -i does not change the predicted measurements.
Limitations and common misconceptions
Simulating a Hamiltonian is not the same as efficiently discovering its ground state. State preparation and measurement can remain hard even when time evolution is efficient. Real materials may also require a validated effective Hamiltonian, basis truncation and environmental model; numerical evolution cannot repair an incorrect physical model.
Scientific relationships
Time evolution supplies energy-dependent phases in spectral applications.
Ordered elementary evolutions approximate a noncommuting total Hamiltonian.
Excitation exchange with detuning
Consider the two-qubit Hamiltonian H=J(X0X1+Y0Y1)/2+h(Z0-Z1)/2. The states |00> and |11> have zero energy under this model. The one-excitation subspace spanned by |01>,|10> is invariant, and its Hamiltonian matrix is [[h,J],[J,-h]]. Its square is (h^2+J^2)I, so defining omega=sqrt(h^2+J^2) gives an exact exponential cos(omega t)I-i sin(omega t)H/omega within that subspace.
Starting from |01>, the amplitudes are cos(omega t)-i(h/omega)sin(omega t) on |01> and -i(J/omega)sin(omega t) on |10>. Therefore the transfer probability is [J^2/(J^2+h^2)]sin^2(omega t). Detuning h limits the maximum transfer even with perfect evolution. A failure to reach probability one in this model is a physical prediction of the specified Hamiltonian, not necessarily a simulation error.
Choose J=2,h=1. At t=pi/(2sqrt(5)), the state is -i(|01>+2|10>)/sqrt(5), and the transfer probability is 4/5. The total excitation remains one. The energy expectation remains one, its initial value: in the final two-component vector, <Z>=-3/5 and <X>=4/5, so h<Z>+J<X>=-3/5+8/5=1. Conservation provides an independent check of the state calculation.
State-specific behavior and a uniform simulation target
The full unitary acts as identity on the zero- and two-excitation states and as the derived two-dimensional evolution on the one-excitation sector. A simulator tested only on |00> would appear exact even if it implemented no gates at all. Testing only a conserved quantity such as total excitation is also insufficient: many incorrect unitaries preserve that quantity. The choice of validation observables must probe the actual dynamics that the application needs.
If an approximation V satisfies ||U-V|| at most epsilon in operator norm, then every normalized input vector changes by at most epsilon in Euclidean norm. For a bounded observable O, insert and subtract terms to obtain |<psi|U dagger O U|psi>-<psi|V dagger O V|psi>| at most 2||O||epsilon when U and V are unitary. This converts a uniform operation bound into a conservative observable bound.
The converse fails. A small error in one observable on one input does not bound ||U-V||. For the exchange example, measuring only excitation number gives exactly the same value for every state in the invariant sector, regardless of the relative amplitudes or phases. An application interested only in that conserved number may be easy, while an application requiring the transfer phase or an interference signal demands a richer simulation.
Separating Hamiltonian uncertainty from numerical error
Suppose the intended Hamiltonian is H but the implemented model is H+Delta. A Duhamel integral writes the difference of the two time evolutions as an integral of unitary factors surrounding Delta. Taking the norm gives ||exp[-i(H+Delta)t]-exp(-iHt)|| at most |t| ||Delta||. This bound assumes bounded Hermitian operators and applies independently of the chosen simulation algorithm.
For a synthetic perturbation with ||Delta||=0.01 and t=2, the model-induced unitary discrepancy is bounded by 0.02. A Pauli observable has norm one, so its expectation discrepancy is at most 0.04 by the previous bound. If the numerical simulation adds an operator error 0.005, a triangle inequality gives total unitary error at most 0.025 and observable error at most 0.05. These are upper bounds, not predicted typical errors or measured confidence intervals.
The decomposition is useful because reducing Trotter step size cannot remove an incorrect coupling constant or a missing interaction term. Likewise, a more accurate classical integrator cannot repair an inadequate basis truncation. The scientific model, its representation and the numerical evolution each need their own error statement. Only their combination supports a claim about a real physical system.
Implementing and comparing the small model
For this two-qubit Hamiltonian, direct diagonalization or the invariant-sector formula gives the exact evolution with very little classical work. A quantum circuit can synthesize the exchange interaction and the detuning terms, or approximate their sum by a chosen product formula. If J and h are both nonzero, the corresponding terms do not commute within the active sector, so simply applying one exchange and one detuning evolution is generally approximate.
The time variable has units inverse to those of J and h when hbar is set to one. Doubling both coefficients while halving time preserves Ht and the same ideal unitary. Any resource statement phrased in simulated seconds must therefore include the energy scale. For Hamiltonian-oracle algorithms, matrix sparsity, normalization and implementation cost determine the conversion from mathematical time to circuit resources.
Sources
Verification scope
Selected source text checked ·
Primary formal source anchor; original worked examples independently derived, not reported experiments.
Verification scope
Selected source text checked ·
Theorem assumptions include block access, polynomial parity and boundedness. No performance inference outside those models.