Overview
Hamiltonian simulation is the task of applying the unitary to a quantum register, given a description of a Hamiltonian , an evolution time and an accuracy . 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 measures energies, and many linear-algebra algorithms need it.
Over two decades the cost has gone from polynomial in 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 commuted, would equal the product of the and simulation would be trivial. They usually do not, so product formulas cut the evolution into 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 , 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 . Qubitization goes one step further: it turns a block encoding of into a walk whose eigenphases are for each eigenvalue , and quantum signal processing then applies an optimal polynomial approximation of 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 (a list of terms with known circuits for each , a linear combination of unitaries, or a sparse-matrix oracle), and , implement a unitary (or channel) with in operator norm (diamond norm for channels). Cost is counted in queries to the access model and in additional gates. In the sparse model, for row sparsity ; in the LCU model, and with .
Let be a complex matrix, , and . A unitary acting on qubits is an -block encoding of if
Equivalently, in the basis where the ancilla register is listed first, with . Since a block of a unitary has norm at most 1, an exact block encoding () requires ; is the normalisation (or subnormalisation) and governs the cost of algorithms that use .
Applying to and post-selecting the ancilla on yields (for ) with probability . 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 of the same paper.
The second-order (symmetric) formula is
and Suzuki's recursion above defines for . Then : the formula agrees with the exact evolution to order in . The weights satisfy , and is chosen so that the leading error terms of the five factors cancel; is negative, so one factor runs backwards in time. contains exponentials (fewer after merging adjacent equal terms).
With steps, with a constant given by nested commutators of depth (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 up to factors growing like , so that the best order grows slowly with the target accuracy.
- with Hermitian, bounded ; for the recursion.
- The order statement is about the Taylor expansion in ; the constant depends on the (see the commutator bound).
Theorems
Let . For every ,
and therefore, for steps of size ,
Accuracy is reached with 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 -th order formula an error with , the sum of nested commutators of depth .
- with each Hermitian and bounded (finite-dimensional, or bounded operators on a Hilbert space).
- Error measured in the operator norm; , integer .
Proof · Proof of the first-order commutator bound
Lemma 1. For Hermitian and : .
Proof. because multiplying on the right by the unitary preserves the norm. Let . Then , so .
Lemma 2 (two terms). For Hermitian and : .
Proof. Let , so and the quantity to bound is (multiply on the left by the unitary ). Differentiating,
By Lemma 1 (with the roles of and exchanged), , and .
terms. Induct on ; is exact. Write with , and where . Then
The first term is at most by Lemma 2 and the triangle inequality. The second equals , which by the induction hypothesis is at most . Adding gives the single-step bound.
steps. For unitaries, (telescope ). With and this gives .
The proof follows the first-order case of Childs, Su, Tran, Wiebe and Zhu, written out in full.
The unitary satisfies
so it is an -block encoding of .
For a qubit Hamiltonian written as a sum of Pauli strings , one takes , and , the 1-norm of the coefficients; this then multiplies the cost of every algorithm built on . 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.
- with (signs and phases absorbed into the unitaries ) and .
- is any unitary on an index register with , and (plus anything on unused indices).
Proof · Proof of the LCU block encoding
Let . For any system vectors , , using and .
Let with , write and . If there is a unit vector with such that, in the basis ,
so acts on this plane as a rotation with eigenvalues , and has top-left entry , the Chebyshev polynomial. If then and the plane degenerates to a line. Planes belonging to orthogonal eigenvectors are orthogonal, and together they contain .
This structure is the qubitization of Low and Chuang: phase estimation on reveals , and interleaving with ancilla phases (quantum signal processing) applies polynomials of . The general, non-Hermitian version is the singular-value decomposition used in Gilyén, Su, Low and Wiebe.
- is a unitary on qubits with (so ) and exactly.
- and .
Proof · Proof of the qubitization lemma
Since , we can write with and a unit vector (the norm is fixed by ). Applying again and using ,
This gives the matrix of ; is in the same basis, and multiplying gives , whose characteristic polynomial is . For orthogonal eigenvectors of : ; because ; and expanding with and , leaves only multiples of and of .
For sparse Hamiltonians with bounded by a constant, any algorithm that approximates to constant precision for all such makes queries (Berry, Ahokas, Cleve and Sanders). The construction encodes the parity of an unknown string of bits in a Hamiltonian whose evolution for a time proportional to reveals it, and computing parity needs quantum queries.
Two refinements complete the picture in the sparse-oracle model, with for sparsity : Berry, Childs, Cleve, Kothari and Somma proved that the dependence on the precision must be , and Berry, Childs and Kothari proved that no algorithm can depend sublinearly on . An algorithm with query complexity is therefore optimal in all parameters; quantum signal processing achieves it.
- 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 and , with , . Here , so and the first-order bound predicts an error of at most . Computing exactly (diagonalising the matrices) gives:
| steps | first-order error | bound | 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 and sits within the bound; the symmetric second-order formula (from Suzuki's recursion) falls by a factor 100, as its error predicts. Reaching needs about 700 first-order steps but only about 17 second-order ones.
What the 1-norm costs
For a Pauli decomposition , the LCU construction gives a block encoding with . A one-dimensional Heisenberg chain on spins has terms of unit weight, so , an upper bound on by the triangle inequality. Every LCU or qubitization method then needs at least about queries; for , about 1470 uses of the block encoding, each of which applies a controlled selection over 147 Pauli strings.
Algorithms and Implementations
Product formulas
and need no ancillas, act with gates that respect the locality of , and have errors controlled by nested commutators (Childs, Su, Tran, Wiebe and Zhu). For a -th order formula, accuracy requires steps, where is the sum of norms of nested commutators of depth . In the sparse-oracle model, Berry, Ahokas, Cleve and Sanders achieved queries for constant sparsity and norm.
Randomized compilation
Campbell (2019) proposed qDRIFT: sample term with probability , where , and apply for the normalised term ; repeating times approximates the evolution as a channel, and about gates suffice. The count is independent of the number of terms , which suits chemistry Hamiltonians with very many small terms, at the price of a 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 into segments with , apply in each the Taylor series of truncated at order through the LCU construction, and use oblivious amplitude amplification (Grover's algorithm) to make each segment deterministic, for a total of uses of the selection unitary.
Qubitization and quantum signal processing
Low and Chuang (2017) achieved queries for -sparse , 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 queries in units where the normalisation is 1 (so 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 , error | Source |
|---|---|---|---|
| Product formula, order | list of terms | exponentials | Childs et al. |
| Suzuki, sparse oracle | -sparse, constant and norm | queries | Berry et al. 2007 |
| qDRIFT | list of terms, 1-norm | about exponentials | Campbell |
| Fractional queries | -sparse | , | Berry et al. 2014 |
| Truncated Taylor series | LCU, | Berry et al. 2015 | |
| Quantum walk with Bessel-weighted LCU | -sparse | nearly linear in , logarithmic in | Berry, Childs, Kothari |
| Quantum signal processing | -sparse | , | Low and Chuang 2017 |
| Qubitization | block encoding, normalisation | Low and Chuang 2019 | |
| Lower bound | sparse oracle | and | 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 matters as much as the algorithm. LCU and qubitization costs scale with the 1-norm of the coefficients, which can be much larger than ; 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 say nothing about preparing ground or thermal states, which can be much harder.
Related Research
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.