Skip to main content
KetQat

Appearance

Topic · advanced

Hamiltonian Simulation

Implementing the time evolution exp(-iHt) on a quantum computer - product formulas with commutator error bounds, randomized compilation, linear combinations of unitaries, qubitization, the matching lower bounds, and a comparison of costs.

ExpositionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Overview

Hamiltonian simulation is the task of applying the unitary e−iHte^{-iHt} to a quantum register, given a description of a Hamiltonian HH, an evolution time tt and an accuracy ε\varepsilon. It was the application that motivated quantum computers, and Lloyd showed that local Hamiltonians can be simulated efficiently by alternating short evolutions under their individual terms. It is also a subroutine: phase estimation of e−iHte^{-iHt} measures energies, and many linear-algebra algorithms need it.

Over two decades the cost has gone from polynomial in 1/ε1/\varepsilon to logarithmic, and the dependence on time has reached the linear lower bound. The main families are product formulas, which are simple and need no ancillas; methods based on linear combinations of unitaries (LCU), which achieve exponentially better precision; and qubitization with quantum signal processing, which is optimal in the query model.

Intuition

If the terms of H=∑jHjH = \sum_j H_j commuted, e−iHte^{-iHt} would equal the product of the e−iHjte^{-iH_jt} and simulation would be trivial. They usually do not, so product formulas cut the evolution into rr short steps; the error per step is governed by the commutators of the terms and is second order in the step size, so it can be made as small as wanted by taking more steps. For geometrically local models most pairs of terms commute, which is why product formulas perform much better than early worst-case bounds suggested.

LCU methods take a different route: write the desired operator, such as a truncated Taylor series of e−iHte^{-iHt}, as a weighted sum of easy unitaries, encode the weights in an ancilla state, and use amplitude amplification to make the result deterministic. Since the Taylor series converges factorially fast, the number of terms needed grows only logarithmically with 1/ε1/\varepsilon. Qubitization goes one step further: it turns a block encoding of HH into a walk whose eigenphases are ±arccos⁡(λ/α)\pm\arccos(\lambda/\alpha) for each eigenvalue λ\lambda, and quantum signal processing then applies an optimal polynomial approximation of e−iλte^{-i\lambda t} to those phases.

Prerequisites

Operator norms and matrix exponentials, the circuit model, and amplitude amplification. The qubitization part uses block encodings.

Mathematical Definitions

Problem. Given access to HH (a list of terms H=∑j=1LHjH = \sum_{j=1}^{L} H_j with known circuits for each e−iHjse^{-iH_j s}, a linear combination of unitaries, or a sparse-matrix oracle), t>0t > 0 and ε>0\varepsilon > 0, implement a unitary (or channel) VV with ∥V−e−iHt∥≤ε\lVert V - e^{-iHt}\rVert \le \varepsilon in operator norm (diamond norm for channels). Cost is counted in queries to the access model and in additional gates. In the sparse model, τ=d ∥H∥max⁡ t\tau = d\,\lVert H\rVert_{\max}\,t for row sparsity dd; in the LCU model, H=∑jαjUjH = \sum_j \alpha_j U_j and τ=αt\tau = \alpha t with α=∑j∣αj∣\alpha = \sum_j \lvert\alpha_j\rvert.

DefinitionBlock encodingEstablished definition

Let AA be a 2s×2s2^s \times 2^s complex matrix, α>0\alpha > 0, a∈Na \in \mathbb{N} and ε≥0\varepsilon \ge 0. A unitary UU acting on a+sa + s qubits is an (α,a,ε)(\alpha, a, \varepsilon)-block encoding of AA if

∥A−α (⟨0a∣⊗I2s) U (∣0a⟩⊗I2s)∥  ≤  ε.\big\lVert A - \alpha\, (\bra{0^a} \otimes I_{2^s})\, U\, (\ket{0^a} \otimes I_{2^s}) \big\rVert \;\le\; \varepsilon .

Equivalently, in the basis where the ancilla register is listed first, U=(A~/α∗∗∗)U = \begin{pmatrix} \tilde A/\alpha & \ast \\ \ast & \ast \end{pmatrix} with ∥A−A~∥≤ε\lVert A - \tilde A\rVert \le \varepsilon. Since a block of a unitary has norm at most 1, an exact block encoding (ε=0\varepsilon = 0) requires α≥∥A∥\alpha \ge \lVert A\rVert; α\alpha is the normalisation (or subnormalisation) and governs the cost of algorithms that use UU.

Applying UU to ∣0a⟩∣ψ⟩\ket{0^a}\ket{\psi} and post-selecting the ancilla on ∣0a⟩\ket{0^a} yields A∣ψ⟩/∥A∣ψ⟩∥A\ket{\psi}/\lVert A\ket{\psi}\rVert (for ε=0\varepsilon = 0) with probability ∥A∣ψ⟩∥2/α2\lVert A\ket{\psi}\rVert^2/\alpha^2. The term and the notation are those of Gilyén, Su, Low and Wiebe; the same object is called the standard form by Low and Chuang. Non-square matrices and different input and output projectors are handled by the more general projected unitary encoding Π~ U Π\tilde\Pi\, U\, \Pi of the same paper.

EquationSuzuki product formulasEstablished result
S2k(δ)=S2k−2(ukδ)2 S2k−2((1−4uk)δ) S2k−2(ukδ)2,uk=14−41/(2k−1)S_{2k}(\delta) = S_{2k-2}(u_k\delta)^2\, S_{2k-2}\big((1-4u_k)\delta\big)\, S_{2k-2}(u_k\delta)^2, \qquad u_k = \frac{1}{4 - 4^{1/(2k-1)}}

The second-order (symmetric) formula is

S2(δ)=e−iH1δ/2⋯e−iHLδ/2  e−iHLδ/2⋯e−iH1δ/2,S_2(\delta) = e^{-iH_1\delta/2}\cdots e^{-iH_L\delta/2}\; e^{-iH_L\delta/2}\cdots e^{-iH_1\delta/2} ,

and Suzuki's recursion above defines S2kS_{2k} for k≥2k \ge 2. Then S2k(δ)=e−iHδ+O(δ2k+1)S_{2k}(\delta) = e^{-iH\delta} + O(\delta^{2k+1}): the formula agrees with the exact evolution to order 2k2k in δ\delta. The weights satisfy 4uk+(1−4uk)=14u_k + (1 - 4u_k) = 1, and uku_k is chosen so that the leading error terms of the five factors cancel; 1−4uk1 - 4u_k is negative, so one factor runs backwards in time. S2kS_{2k} contains 2⋅5k−1L2 \cdot 5^{k-1} L exponentials (fewer after merging adjacent equal terms).

With rr steps, ∥e−iHt−S2k(t/r)r∥=O(t2k+1/r2k)\lVert e^{-iHt} - S_{2k}(t/r)^r\rVert = O(t^{2k+1}/r^{2k}) with a constant given by nested commutators of depth 2k+12k+1 (Childs, Su, Tran, Wiebe and Zhu). The recursion is due to Suzuki; Berry, Ahokas, Cleve and Sanders used it to obtain sparse-Hamiltonian simulation with cost t1+1/(2k)t^{1 + 1/(2k)} up to factors growing like 52k5^{2k}, so that the best order grows slowly with the target accuracy.

Holds when
  • H=∑j=1LHjH = \sum_{j=1}^{L} H_j with Hermitian, bounded HjH_j; k≥2k \ge 2 for the recursion.
  • The order statement is about the Taylor expansion in δ\delta; the constant depends on the HjH_j (see the commutator bound).

Theorems

TheoremCommutator bound for the first-order product formulaEstablished result

Let S1(δ)=e−iHLδ⋯e−iH2δe−iH1δS_1(\delta) = e^{-iH_L\delta}\cdots e^{-iH_2\delta}e^{-iH_1\delta}. For every δ≥0\delta \ge 0,

∥e−iHδ−S1(δ)∥  ≤  δ22∑1≤j<k≤L∥[Hj,Hk]∥,\big\lVert e^{-iH\delta} - S_1(\delta) \big\rVert \;\le\; \frac{\delta^{2}}{2}\sum_{1 \le j < k \le L} \big\lVert [H_j, H_k] \big\rVert ,

and therefore, for rr steps of size δ=t/r\delta = t/r,

∥e−iHt−S1(t/r)r∥  ≤  t22r∑j<k∥[Hj,Hk]∥.\big\lVert e^{-iHt} - S_1(t/r)^{r} \big\rVert \;\le\; \frac{t^{2}}{2r}\sum_{j<k} \big\lVert [H_j, H_k] \big\rVert .

Accuracy ε\varepsilon is reached with r=⌈t2∑j<k∥[Hj,Hk]∥/(2ε)⌉r = \big\lceil t^{2}\sum_{j<k}\lVert[H_j,H_k]\rVert/(2\varepsilon) \big\rceil steps. If all terms commute the formula is exact.

The product-formula approach to simulation is due to Lloyd, who used norm bounds. The bound with commutators is the first-order case of the theory of Childs, Su, Tran, Wiebe and Zhu, who prove for a general pp-th order formula SpS_p an error O(α~comm tp+1/rp)O\big(\tilde\alpha_{\mathrm{comm}}\, t^{p+1}/r^{p}\big) with α~comm=∑γ1,…,γp+1∥[Hγp+1,…[Hγ2,Hγ1]… ]∥\tilde\alpha_{\mathrm{comm}} = \sum_{\gamma_1, \dots, \gamma_{p+1}} \lVert [H_{\gamma_{p+1}}, \dots [H_{\gamma_2}, H_{\gamma_1}]\dots] \rVert, the sum of nested commutators of depth p+1p + 1.

Holds when
  • H=∑j=1LHjH = \sum_{j=1}^{L} H_j with each HjH_j Hermitian and bounded (finite-dimensional, or bounded operators on a Hilbert space).
  • Error measured in the operator norm; t≥0t \ge 0, integer r≥1r \ge 1.
Proof · Proof of the first-order commutator bound

Lemma 1. For Hermitian A,BA, B and s≥0s \ge 0: ∥[B,e−iAs]∥≤s ∥[A,B]∥\lVert [B, e^{-iAs}] \rVert \le s\,\lVert [A, B] \rVert.

Proof. ∥[B,e−iAs]∥=∥B−e−iAsBeiAs∥\lVert [B, e^{-iAs}]\rVert = \lVert B - e^{-iAs} B e^{iAs}\rVert because multiplying on the right by the unitary eiAse^{iAs} preserves the norm. Let g(u)=e−iAuBeiAug(u) = e^{-iAu} B e^{iAu}. Then g′(u)=−i e−iAu[A,B]eiAug'(u) = -i\,e^{-iAu}[A, B]e^{iAu}, so ∥g(s)−g(0)∥≤∫0s∥g′(u)∥ du=s∥[A,B]∥\lVert g(s) - g(0)\rVert \le \int_0^s \lVert g'(u)\rVert\, du = s\lVert[A,B]\rVert. □\square

Lemma 2 (two terms). For Hermitian A,BA, B and δ≥0\delta \ge 0: ∥e−i(A+B)δ−e−iBδe−iAδ∥≤δ22∥[A,B]∥\lVert e^{-i(A+B)\delta} - e^{-iB\delta}e^{-iA\delta}\rVert \le \tfrac{\delta^2}{2}\lVert[A,B]\rVert.

Proof. Let F(s)=ei(A+B)s e−iBse−iAsF(s) = e^{i(A+B)s}\, e^{-iBs} e^{-iAs}, so F(0)=IF(0) = I and the quantity to bound is ∥F(δ)−I∥\lVert F(\delta) - I\rVert (multiply on the left by the unitary e−i(A+B)δe^{-i(A+B)\delta}). Differentiating,

F′(s)=ei(A+B)s(i(A+B) e−iBs−iB e−iBs−e−iBs iA)e−iAs=i ei(A+B)s [A,e−iBs] e−iAs.F'(s) = e^{i(A+B)s}\big( i(A+B)\, e^{-iBs} - iB\, e^{-iBs} - e^{-iBs}\, iA \big) e^{-iAs} = i\, e^{i(A+B)s}\, [A, e^{-iBs}]\, e^{-iAs} .

By Lemma 1 (with the roles of AA and BB exchanged), ∥F′(s)∥=∥[A,e−iBs]∥≤s∥[A,B]∥\lVert F'(s)\rVert = \lVert [A, e^{-iBs}]\rVert \le s\lVert[A,B]\rVert, and ∥F(δ)−I∥≤∫0δs∥[A,B]∥ ds=δ22∥[A,B]∥\lVert F(\delta) - I\rVert \le \int_0^\delta s\lVert[A,B]\rVert\, ds = \tfrac{\delta^2}{2}\lVert[A,B]\rVert. □\square

LL terms. Induct on LL; L=1L = 1 is exact. Write H=H1+H>1H = H_1 + H_{>1} with H>1=∑k≥2HkH_{>1} = \sum_{k \ge 2} H_k, and S1(δ)=S1>1(δ) e−iH1δS_1(\delta) = S_1^{>1}(\delta)\, e^{-iH_1\delta} where S1>1(δ)=e−iHLδ⋯e−iH2δS_1^{>1}(\delta) = e^{-iH_L\delta}\cdots e^{-iH_2\delta}. Then

∥e−iHδ−S1(δ)∥≤∥e−iHδ−e−iH>1δe−iH1δ∥+∥(e−iH>1δ−S1>1(δ)) e−iH1δ∥.\lVert e^{-iH\delta} - S_1(\delta)\rVert \le \lVert e^{-iH\delta} - e^{-iH_{>1}\delta}e^{-iH_1\delta}\rVert + \lVert (e^{-iH_{>1}\delta} - S_1^{>1}(\delta))\, e^{-iH_1\delta}\rVert .

The first term is at most δ22∥[H1,H>1]∥≤δ22∑k≥2∥[H1,Hk]∥\tfrac{\delta^2}{2}\lVert[H_1, H_{>1}]\rVert \le \tfrac{\delta^2}{2}\sum_{k \ge 2}\lVert[H_1, H_k]\rVert by Lemma 2 and the triangle inequality. The second equals ∥e−iH>1δ−S1>1(δ)∥\lVert e^{-iH_{>1}\delta} - S_1^{>1}(\delta)\rVert, which by the induction hypothesis is at most δ22∑2≤j<k∥[Hj,Hk]∥\tfrac{\delta^2}{2}\sum_{2 \le j < k}\lVert[H_j,H_k]\rVert. Adding gives the single-step bound.

rr steps. For unitaries, ∥Ur−Vr∥≤r∥U−V∥\lVert U^r - V^r\rVert \le r\lVert U - V\rVert (telescope Ur−Vr=∑m=0r−1Ur−1−m(U−V)VmU^r - V^r = \sum_{m=0}^{r-1} U^{r-1-m}(U - V)V^{m}). With U=e−iHt/rU = e^{-iHt/r} and V=S1(t/r)V = S_1(t/r) this gives r⋅(t/r)22∑j<k∥[Hj,Hk]∥r \cdot \tfrac{(t/r)^2}{2}\sum_{j<k}\lVert[H_j,H_k]\rVert.

The proof follows the first-order case of Childs, Su, Tran, Wiebe and Zhu, written out in full.

TheoremLinear combination of unitaries block encodingEstablished result

The unitary W=(PREP†⊗I) SEL (PREP⊗I)W = (\mathrm{PREP}\dagg \otimes I)\, \mathrm{SEL}\, (\mathrm{PREP} \otimes I) satisfies

(⟨0∣⊗I) W (∣0⟩⊗I)  =  Hα,(\bra{0} \otimes I)\, W\, (\ket{0} \otimes I) \;=\; \frac{H}{\alpha} ,

so it is an (α,⌈log⁡2K⌉,0)(\alpha, \lceil\log_2 K\rceil, 0)-block encoding of HH.

For a qubit Hamiltonian written as a sum of Pauli strings H=∑jcjPjH = \sum_j c_j P_j, one takes αj=∣cj∣\alpha_j = \lvert c_j\rvert, Uj=sgn⁡(cj)PjU_j = \operatorname{sgn}(c_j)P_j and α=∑j∣cj∣\alpha = \sum_j \lvert c_j\rvert, the 1-norm of the coefficients; this α\alpha then multiplies the cost of every algorithm built on WW. The construction goes back to Childs and Wiebe and was used for the truncated Taylor series method by Berry, Childs, Cleve, Kothari and Somma; it appears as a lemma in Gilyén, Su, Low and Wiebe.

Holds when
  • H=∑j=0K−1αjUjH = \sum_{j=0}^{K-1} \alpha_j U_j with αj>0\alpha_j > 0 (signs and phases absorbed into the unitaries UjU_j) and α=∑jαj\alpha = \sum_j \alpha_j.
  • PREP\mathrm{PREP} is any unitary on an index register with PREP∣0⟩=α−1/2∑jαj∣j⟩\mathrm{PREP}\ket{0} = \alpha^{-1/2}\sum_j \sqrt{\alpha_j}\ket{j}, and SEL=∑j∣j⟩⟨j∣⊗Uj\mathrm{SEL} = \sum_j \ketbra{j}{j}\otimes U_j (plus anything on unused indices).
Proof · Proof of the LCU block encoding

Let ∣p⟩=PREP∣0⟩=α−1/2∑jαj∣j⟩\ket{p} = \mathrm{PREP}\ket{0} = \alpha^{-1/2}\sum_j\sqrt{\alpha_j}\ket{j}. For any system vectors ∣ϕ⟩,∣ψ⟩\ket{\phi}, \ket{\psi}, (⟨0∣⊗⟨ϕ∣) W (∣0⟩⊗∣ψ⟩)=(⟨p∣⊗⟨ϕ∣) SEL (∣p⟩⊗∣ψ⟩)=∑j,kαjαkα⟨j∣k⟩⟨ϕ∣Uk∣ψ⟩=1α∑kαk⟨ϕ∣Uk∣ψ⟩=1α⟨ϕ∣H∣ψ⟩(\bra{0}\otimes\bra{\phi})\, W\, (\ket{0}\otimes\ket{\psi}) = (\bra{p}\otimes\bra{\phi})\,\mathrm{SEL}\,(\ket{p}\otimes\ket{\psi}) = \sum_{j,k} \frac{\sqrt{\alpha_j\alpha_k}}{\alpha}\braket{j}{k}\bra{\phi}U_k\ket{\psi} = \frac{1}{\alpha}\sum_k \alpha_k \bra{\phi}U_k\ket{\psi} = \frac{1}{\alpha}\bra{\phi}H\ket{\psi}, using SEL(∣k⟩∣ψ⟩)=∣k⟩Uk∣ψ⟩\mathrm{SEL}(\ket{k}\ket{\psi}) = \ket{k}U_k\ket{\psi} and ⟨j∣k⟩=δjk\braket{j}{k} = \delta_{jk}.

TheoremQubitization of a Hermitian block encodingEstablished result

Let H∣λ⟩=λ∣λ⟩H\ket{\lambda} = \lambda\ket{\lambda} with ∥∣λ⟩∥=1\lVert\ket{\lambda}\rVert = 1, write x=λ/α∈[−1,1]x = \lambda/\alpha \in [-1, 1] and ∣0λ⟩=∣0a⟩∣λ⟩\ket{0_\lambda} = \ket{0^a}\ket{\lambda}. If ∣x∣<1\lvert x\rvert < 1 there is a unit vector ∣⊥λ⟩\ket{\perp_\lambda} with Π∣⊥λ⟩=0\Pi\ket{\perp_\lambda} = 0 such that, in the basis (∣0λ⟩,∣⊥λ⟩)(\ket{0_\lambda}, \ket{\perp_\lambda}),

U=(x1−x21−x2−x),W=R U=(x1−x2−1−x2x),U = \begin{pmatrix} x & \sqrt{1-x^2} \\ \sqrt{1-x^2} & -x \end{pmatrix}, \qquad W = R\,U = \begin{pmatrix} x & \sqrt{1-x^2} \\ -\sqrt{1-x^2} & x \end{pmatrix},

so WW acts on this plane as a rotation with eigenvalues x±i1−x2=e±iarccos⁡xx \pm i\sqrt{1-x^2} = e^{\pm i\arccos x}, and WkW^{k} has top-left entry Tk(x)=cos⁡(karccos⁡x)T_k(x) = \cos(k\arccos x), the Chebyshev polynomial. If ∣x∣=1\lvert x\rvert = 1 then U∣0λ⟩=x∣0λ⟩U\ket{0_\lambda} = x\ket{0_\lambda} and the plane degenerates to a line. Planes belonging to orthogonal eigenvectors are orthogonal, and together they contain ∣0a⟩⊗H\ket{0^a}\otimes\mathcal{H}.

This structure is the qubitization of Low and Chuang: phase estimation on WW reveals arccos⁡(λ/α)\arccos(\lambda/\alpha), and interleaving WW with ancilla phases (quantum signal processing) applies polynomials of H/αH/\alpha. The general, non-Hermitian version is the singular-value decomposition used in Gilyén, Su, Low and Wiebe.

Holds when
  • UU is a unitary on a+sa + s qubits with U=U†U = U\dagg (so U2=IU^2 = I) and (⟨0a∣⊗I)U(∣0a⟩⊗I)=H/α(\bra{0^a}\otimes I)U(\ket{0^a}\otimes I) = H/\alpha exactly.
  • Π=∣0a⟩⟨0a∣⊗I\Pi = \ketbra{0^a}{0^a}\otimes I and R=2Π−IR = 2\Pi - I.
Proof · Proof of the qubitization lemma

Since ΠU∣0λ⟩=∣0a⟩ (H/α)∣λ⟩=x∣0λ⟩\Pi U \ket{0_\lambda} = \ket{0^a}\,(H/\alpha)\ket{\lambda} = x\ket{0_\lambda}, we can write U∣0λ⟩=x∣0λ⟩+1−x2 ∣⊥λ⟩U\ket{0_\lambda} = x\ket{0_\lambda} + \sqrt{1-x^2}\,\ket{\perp_\lambda} with Π∣⊥λ⟩=0\Pi\ket{\perp_\lambda} = 0 and ∣⊥λ⟩\ket{\perp_\lambda} a unit vector (the norm is fixed by ∥U∣0λ⟩∥=1\lVert U\ket{0_\lambda}\rVert = 1). Applying UU again and using U2=IU^2 = I,

U∣⊥λ⟩=∣0λ⟩−x U∣0λ⟩1−x2=1−x2 ∣0λ⟩−x∣⊥λ⟩.U\ket{\perp_\lambda} = \frac{\ket{0_\lambda} - x\,U\ket{0_\lambda}}{\sqrt{1-x^2}} = \sqrt{1-x^2}\,\ket{0_\lambda} - x\ket{\perp_\lambda} .

This gives the matrix of UU; RR is diag⁡(1,−1)\operatorname{diag}(1, -1) in the same basis, and multiplying gives WW, whose characteristic polynomial is z2−2xz+1z^2 - 2xz + 1. For orthogonal eigenvectors ∣λ⟩,∣μ⟩\ket{\lambda}, \ket{\mu} of HH: ⟨0λ∣0μ⟩=0\braket{0_\lambda}{0_\mu} = 0; ⟨0λ∣⊥μ⟩=0\braket{0_\lambda}{\perp_\mu} = 0 because Π∣⊥μ⟩=0\Pi\ket{\perp_\mu} = 0; and expanding ⟨⊥λ∣⊥μ⟩\braket{\perp_\lambda}{\perp_\mu} with ∣⊥λ⟩∝U∣0λ⟩−xλ∣0λ⟩\ket{\perp_\lambda} \propto U\ket{0_\lambda} - x_\lambda\ket{0_\lambda} and U†U=IU\dagg U = I, U†=UU\dagg = U leaves only multiples of ⟨0λ∣0μ⟩=0\braket{0_\lambda}{0_\mu} = 0 and of ⟨0λ∣U∣0μ⟩=⟨λ∣H∣μ⟩/α=0\bra{0_\lambda}U\ket{0_\mu} = \bra{\lambda}H\ket{\mu}/\alpha = 0.

TheoremNo fast-forwarding of Hamiltonian simulationEstablished result

For sparse Hamiltonians with ∥H∥\lVert H\rVert bounded by a constant, any algorithm that approximates e−iHte^{-iHt} to constant precision for all such HH makes Ω(t)\Omega(t) queries (Berry, Ahokas, Cleve and Sanders). The construction encodes the parity of an unknown string of NN bits in a Hamiltonian whose evolution for a time proportional to NN reveals it, and computing parity needs Ω(N)\Omega(N) quantum queries.

Two refinements complete the picture in the sparse-oracle model, with τ=d ∥H∥max⁡ t\tau = d\,\lVert H\rVert_{\max}\, t for sparsity dd: Berry, Childs, Cleve, Kothari and Somma proved that the dependence on the precision ε\varepsilon must be Ω(log⁡(1/ε)/log⁡log⁡(1/ε))\Omega\big(\log(1/\varepsilon)/\log\log(1/\varepsilon)\big), and Berry, Childs and Kothari proved that no algorithm can depend sublinearly on τ\tau. An algorithm with query complexity O(τ+log⁡(1/ε)/log⁡log⁡(1/ε))O\big(\tau + \log(1/\varepsilon)/\log\log(1/\varepsilon)\big) is therefore optimal in all parameters; quantum signal processing achieves it.

Holds when
  • Sparse-oracle model - the Hamiltonian is given by an oracle that returns the positions and values of the nonzero entries in a row; queries to it are counted.
  • The bound is for algorithms that work for every Hamiltonian in the class; particular Hamiltonians (for example commuting or free-fermion ones) can be fast-forwarded.

Worked Examples

Product formulas on one qubit

Take H=X+ZH = X + Z and t=1t = 1, with H1=XH_1 = X, H2=ZH_2 = Z. Here [X,Z]=−2iY[X, Z] = -2iY, so ∥[X,Z]∥=2\lVert[X,Z]\rVert = 2 and the first-order bound predicts an error of at most t2⋅2/(2r)=1/rt^2\cdot 2/(2r) = 1/r. Computing ∥e−iHt−(e−iZ/re−iX/r)r∥\lVert e^{-iHt} - (e^{-iZ/r}e^{-iX/r})^r\rVert exactly (diagonalising the 2×22\times 2 matrices) gives:

steps rr first-order error bound 1/r1/r second-order error
1 0.799 1 0.314
10 0.0700 0.1 0.00274
100 0.00698 0.01 0.0000274

The first-order error falls by a factor 10 per factor 10 in rr and sits within the bound; the symmetric second-order formula S2S_2 (from Suzuki's recursion) falls by a factor 100, as its O(t3/r2)O(t^3/r^2) error predicts. Reaching ε=10−3\varepsilon = 10^{-3} needs about 700 first-order steps but only about 17 second-order ones.

What the 1-norm costs

For a Pauli decomposition H=∑jcjPjH = \sum_j c_j P_j, the LCU construction gives a block encoding with α=∑j∣cj∣\alpha = \sum_j\lvert c_j\rvert. A one-dimensional Heisenberg chain H=∑i=1n−1(XiXi+1+YiYi+1+ZiZi+1)H = \sum_{i=1}^{n-1}(X_iX_{i+1} + Y_iY_{i+1} + Z_iZ_{i+1}) on n=50n = 50 spins has 3⋅49=1473 \cdot 49 = 147 terms of unit weight, so α=147\alpha = 147, an upper bound on ∥H∥\lVert H\rVert by the triangle inequality. Every LCU or qubitization method then needs at least about αt\alpha t queries; for t=10t = 10, about 1470 uses of the block encoding, each of which applies a controlled selection over 147 Pauli strings.

Algorithms and Implementations

Product formulas

S1S_1 and S2kS_{2k} need no ancillas, act with gates that respect the locality of HH, and have errors controlled by nested commutators (Childs, Su, Tran, Wiebe and Zhu). For a pp-th order formula, accuracy ε\varepsilon requires r=O(α~comm1/p t1+1/p/ε1/p)r = O\big(\tilde\alpha_{\mathrm{comm}}^{1/p}\, t^{1+1/p}/\varepsilon^{1/p}\big) steps, where α~comm\tilde\alpha_{\mathrm{comm}} is the sum of norms of nested commutators of depth p+1p+1. In the sparse-oracle model, Berry, Ahokas, Cleve and Sanders achieved O((log⁡∗n) t1+1/(2k))O\big((\log^\ast n)\, t^{1+1/(2k)}\big) queries for constant sparsity and norm.

Randomized compilation

Campbell (2019) proposed qDRIFT: sample term jj with probability ∣αj∣/λ\lvert\alpha_j\rvert/\lambda, where λ=∑j∣αj∣\lambda = \sum_j\lvert\alpha_j\rvert, and apply e−i sgn(αj)Hj′λt/Ne^{-i\,\mathrm{sgn}(\alpha_j) H_j' \lambda t/N} for the normalised term Hj′H_j'; repeating NN times approximates the evolution as a channel, and about 2λ2t2/ε2\lambda^2t^2/\varepsilon gates suffice. The count is independent of the number of terms LL, which suits chemistry Hamiltonians with very many small terms, at the price of a 1/ε1/\varepsilon rather than polylogarithmic precision dependence.

Linear combinations of unitaries and the Taylor series

Childs and Wiebe (2012) introduced simulation by implementing linear combinations of unitaries. Berry, Childs, Cleve, Kothari and Somma (2015) split tt into r=O(T)r = O(T) segments with T=αtT = \alpha t, apply in each the Taylor series of e−iHt/re^{-iHt/r} truncated at order K=O(log⁡(T/ε)/log⁡log⁡(T/ε))K = O(\log(T/\varepsilon)/\log\log(T/\varepsilon)) through the LCU construction, and use oblivious amplitude amplification (Grover's algorithm) to make each segment deterministic, for a total of O(Tlog⁡(T/ε)/log⁡log⁡(T/ε))O\big(T\log(T/\varepsilon)/\log\log(T/\varepsilon)\big) uses of the selection unitary.

Qubitization and quantum signal processing

Low and Chuang (2017) achieved O(t d∥H∥max⁡+log⁡(1/ε)/log⁡log⁡(1/ε))O\big(t\,d\lVert H\rVert_{\max} + \log(1/\varepsilon)/\log\log(1/\varepsilon)\big) queries for dd-sparse HH, matching the lower bounds in all parameters. Their qubitization paper (2019) states the result for a Hamiltonian given as the projection of a unitary oracle, with O(t+log⁡(1/ε))O\big(t + \log(1/\varepsilon)\big) queries in units where the normalisation is 1 (so O(αt+log⁡(1/ε))O(\alpha t + \log(1/\varepsilon)) in general) and at most two extra ancilla qubits. The polynomial-transformation view is developed in quantum signal processing and quantum singular value transformation (Gilyén, Su, Low and Wiebe).

Computational Complexity

Method Access model Cost for time tt, error ε\varepsilon Source
Product formula, order pp list of LL terms O(L α~comm1/pt1+1/p/ε1/p)O\big(L\,\tilde\alpha_{\mathrm{comm}}^{1/p} t^{1+1/p}/\varepsilon^{1/p}\big) exponentials Childs et al.
Suzuki, sparse oracle dd-sparse, constant dd and norm O((log⁡∗n) t1+1/(2k))O\big((\log^\ast n)\, t^{1+1/(2k)}\big) queries Berry et al. 2007
qDRIFT list of terms, 1-norm λ\lambda about 2λ2t2/ε2\lambda^2t^2/\varepsilon exponentials Campbell
Fractional queries dd-sparse O(τlog⁡(τ/ε)/log⁡log⁡(τ/ε))O\big(\tau\log(\tau/\varepsilon)/\log\log(\tau/\varepsilon)\big), τ=d2∥H∥max⁡t\tau = d^2\lVert H\rVert_{\max}t Berry et al. 2014
Truncated Taylor series LCU, T=αtT = \alpha t O(Tlog⁡(T/ε)/log⁡log⁡(T/ε))O\big(T\log(T/\varepsilon)/\log\log(T/\varepsilon)\big) Berry et al. 2015
Quantum walk with Bessel-weighted LCU dd-sparse nearly linear in τ=d∥H∥max⁡t\tau = d\lVert H\rVert_{\max}t, logarithmic in 1/ε1/\varepsilon Berry, Childs, Kothari
Quantum signal processing dd-sparse O(τ+log⁡(1/ε)/log⁡log⁡(1/ε))O\big(\tau + \log(1/\varepsilon)/\log\log(1/\varepsilon)\big), τ=d∥H∥max⁡t\tau = d\lVert H\rVert_{\max}t Low and Chuang 2017
Qubitization block encoding, normalisation α\alpha O(αt+log⁡(1/ε))O\big(\alpha t + \log(1/\varepsilon)\big) Low and Chuang 2019
Lower bound sparse oracle Ω(τ)\Omega(\tau) and Ω(log⁡(1/ε)/log⁡log⁡(1/ε))\Omega\big(\log(1/\varepsilon)/\log\log(1/\varepsilon)\big) no fast-forwarding

Limitations and Common Pitfalls

  • Asymptotics are not costs. Query counts hide the cost of each query: a block encoding of a chemistry Hamiltonian needs many ancillas and multi-controlled gates, while a product-formula step uses only the native terms. Compare compiled gate counts for the instance at hand.
  • The normalisation α\alpha matters as much as the algorithm. LCU and qubitization costs scale with the 1-norm of the coefficients, which can be much larger than ∥H∥\lVert H\rVert; reducing it by a better decomposition often helps more than changing the method.
  • Worst-case product-formula bounds are loose. Norm-based bounds can overestimate the needed number of steps by orders of magnitude for local Hamiltonians; use commutator bounds or empirical error estimates.
  • qDRIFT approximates a channel, not a unitary. Its guarantee is in diamond norm for the averaged evolution, which is what matters for expectation values but not for coherent uses inside other algorithms without further analysis.
  • Simulation is not state preparation. Algorithms for e−iHte^{-iHt} say nothing about preparing ground or thermal states, which can be much harder.

Quantum signal processing, quantum singular value transformation, quantum phase estimation for energy estimation, quantum chemistry and many-body simulation for applications, and the overview of quantum algorithms.

Builds on
Part of

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Seth Lloyd (1996). Universal quantum simulators. Science 273, 1073-1078. doi:10.1126/science.273.5278.1073
  2. Masuo Suzuki (1991). General theory of fractal path integrals with applications to many-body theories and statistical physics. Journal of Mathematical Physics 32, 400-407. doi:10.1063/1.529425
  3. Dominic W. Berry, Graeme Ahokas, Richard Cleve, Barry C. Sanders (2007). Efficient quantum algorithms for simulating sparse Hamiltonians. Communications in Mathematical Physics 270, 359-371. doi:10.1007/s00220-006-0150-xarXiv:quant-ph/0508139
  4. Andrew M. Childs, Nathan Wiebe (2012). Hamiltonian simulation using linear combinations of unitary operations. Quantum Information and Computation 12(11-12), 901-924. doi:10.26421/QIC12.11-12-1arXiv:1202.5822
  5. Dominic W. Berry, Andrew M. Childs, Richard Cleve, … Rolando D. Somma (2014). Exponential improvement in precision for simulating sparse Hamiltonians. Proceedings of the 46th Annual ACM Symposium on Theory of Computing (STOC 2014), 283-292. doi:10.1145/2591796.2591854arXiv:1312.1414
  6. Dominic W. Berry, Andrew M. Childs, Richard Cleve, … Rolando D. Somma (2015). Simulating Hamiltonian dynamics with a truncated Taylor series. Physical Review Letters 114, 090502. doi:10.1103/PhysRevLett.114.090502arXiv:1412.4687
  7. Dominic W. Berry, Andrew M. Childs, Robin Kothari (2015). Hamiltonian simulation with nearly optimal dependence on all parameters. 2015 IEEE 56th Annual Symposium on Foundations of Computer Science (FOCS 2015), 792-809. doi:10.1109/FOCS.2015.54arXiv:1501.01715
  8. Guang Hao Low, Isaac L. Chuang (2017). Optimal Hamiltonian simulation by quantum signal processing. Physical Review Letters 118, 010501. doi:10.1103/PhysRevLett.118.010501arXiv:1606.02685
  9. Guang Hao Low, Isaac L. Chuang (2019). Hamiltonian simulation by qubitization. Quantum 3, 163. doi:10.22331/q-2019-07-12-163arXiv:1610.06546
  10. Andrew M. Childs, Yuan Su, Minh C. Tran, … Shuchen Zhu (2021). Theory of Trotter error with commutator scaling. Physical Review X 11, 011020. doi:10.1103/PhysRevX.11.011020arXiv:1912.08854
  11. Earl Campbell (2019). Random compiler for fast Hamiltonian simulation. Physical Review Letters 123, 070503. doi:10.1103/PhysRevLett.123.070503arXiv:1811.08017
  12. András Gilyén, Yuan Su, Guang Hao Low, Nathan Wiebe (2019). Quantum singular value transformation and beyond: exponential improvements for quantum matrix arithmetics. Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing (STOC 2019), 193-204. doi:10.1145/3313276.3316366arXiv:1806.01838

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Topic body only (embedded records carry their own review states). Worked example recomputed exactly for H = X + Z, t = 1 (first-order errors 0.799/0.0700/0.00698, symmetric second-order 0.314/0.00274/2.74e-5; 699 and 17 steps for 1e-3); Heisenberg-chain 1-norm (147, 1470) recomputed. Complexity table and text compared with the arXiv abstracts or statements of Berry-Ahokas-Cleve-Sanders (quant-ph/0508139), Berry et al. 2014 (1312.1414, Theorems 1.1-1.2), truncated Taylor series (1412.4687), Berry-Childs-Kothari (1501.01715), Low-Chuang QSP (1606.02685) and qubitization (1610.06546: O(t + log(1/eps)), at most two ancillas), Campbell qDRIFT (1811.08017: N = 2 lambda^2 t^2/eps, independent of L) and Childs-Su-Tran-Wiebe-Zhu (1912.08854). Lloyd 1996 not opened.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 27b7fd5d5d95231a. Source file knowledge/records/topic/hamiltonian-simulation.md in the content repository (readable there once it is public).