Hamiltonian simulation: product formulas, LCU and qubitization
Algorithms that implement the time evolution e^(−iHt) of a quantum system on a quantum computer, from Lloyd's product formulas to qubitization and quantum signal processing with optimal query cost.
On this page16 sections
Simulating physics and chemistry is the most natural use of a quantum computer, and Hamiltonian simulation is also the subroutine inside phase estimation, linear-system solvers and Gibbs samplers.
Turning how a quantum system changes over time into a quantum circuit: the most natural quantum computing task.
- 1Quantum systems overwhelm classical memory
- 2Write energy as simple pieces
- 3Apply pieces in short time slices
- 4Smarter polynomial methods reach optimum
- 5Basis for chemistry and materials
Goal. The Schrödinger equation says a state evolves as , where the Hamiltonian is the energy matrix. For qubits is , but physical Hamiltonians are sums of a few simple local pieces, . The task is a circuit that implements to accuracy .
Product formulas (Trotter). If the pieces commuted, would equal . They usually do not, but over a short time step the error is small. Splitting into steps, with error shrinking like times the size of the commutators . Symmetric and higher-order versions do better. Each small exponential is a short circuit.
Optimal methods. Writing as a weighted sum of unitaries and embedding it in a bigger unitary (a block encoding) lets algorithms apply polynomials of . Quantum signal processing and qubitization approximate with a polynomial using about queries, where is the sum of the weights, which is provably optimal.
Limits. No general method can simulate time with cost much less than proportional to (no fast-forwarding). For local lattice models the best gate count is proportional to the number of qubits times , up to logarithms, and this is also proven optimal.
Example. For a chain of spins with nearest-neighbour coupling, splits into two groups of commuting terms (even bonds and odd bonds). Each Trotter step applies all even bonds in parallel, then all odd bonds, so one step is a circuit of depth two regardless of . The number of steps needed grows with the total time and the desired accuracy, so the total gate count grows roughly like times a slowly growing factor.
Choosing a method. Product formulas need no extra qubits and are often favoured for early machines; qubitization needs extra qubits for the block encoding but has the best asymptotic cost, and is used in most chemistry resource estimates.
Go deeper
The full technical text.
The task
Given a Hamiltonian on qubits (a sum of local terms, or a sparse matrix with oracle access to its entries), a time and an accuracy , implement a circuit within of . Feynman (1982) proposed using quantum devices to simulate quantum physics, and Lloyd (Science 1996) showed that local Hamiltonians can be simulated efficiently. The problem is BQP-complete, since any quantum circuit can be encoded as the evolution of a suitable Hamiltonian. The no-fast-forwarding theorem (Berry et al., 2007) shows that for general Hamiltonians the cost must grow at least linearly in .
Product formulas
Write with each easy to implement. The first-order Lie–Trotter formula approximates by , with error governed by the commutators and shrinking as ; Suzuki's higher-order formulas of order do better. Childs, Su, Tran, Wiebe and Zhu (PRX 2021) gave a theory of Trotter error in terms of nested commutators that is close to tight in examples. For geometrically local lattice Hamiltonians, Haah, Hastings, Kothari and Low (FOCS 2018) gave an algorithm with gates and proved a matching lower bound. Product formulas need no ancilla qubits, and in practice they are often competitive for lattice models (Childs, Maslov, Nam, Ross and Su, PNAS 2018).
Beyond product formulas
Berry, Ahokas, Cleve and Sanders (2007) simulated sparse Hamiltonians with oracle access. Childs and Wiebe (2012) introduced the linear combination of unitaries (LCU) method, and Berry, Childs, Cleve, Kothari and Somma (PRL 2015) used a truncated Taylor series to reach cost logarithmic in . Low and Chuang's quantum signal processing (PRL 2017) achieved query complexity for -sparse , matching lower bounds in all parameters, and qubitization (Quantum 2019) achieved queries for a Hamiltonian given as a block-encoding with normalisation , using at most two extra qubits. The quantum singular value transformation (Gilyén, Su, Low and Wiebe, STOC 2019) generalises these methods to polynomial transformations of block-encoded matrices and unifies much of quantum algorithm design.
Use in chemistry and materials
For electronic structure, qubitization combined with compressed representations of the Hamiltonian is the basis of most fault-tolerant cost estimates: Babbush et al. (PRX 2018) encoded electronic spectra with linear T complexity, and Lee et al. (PRX Quantum 2021) used tensor hypercontraction. Product formulas remain attractive for lattice models because they preserve locality.
Thermal states
Simulating dynamics is the building block for preparing thermal states with quantum Gibbs samplers, which run a dissipative evolution whose steady state is and call Hamiltonian simulation as a subroutine.
Words on this page (7)
- Hamiltonian
- The operator that gives a system's energy and drives its evolution.
- Schrödinger equation
- The equation describing how a quantum state changes in time.
- commutator
- AB − BA; zero when the order of two operations does not matter.
- Trotter formula
- Approximating the evolution under a sum by alternating short evolutions under each piece.
- block encoding
- Placing a matrix inside a corner of a larger unitary so a quantum computer can apply it.
- qubitization
- A method that turns a block-encoded Hamiltonian into a walk whose phases encode its energies.
- phase estimation
- A routine that reads out energies from time evolution.
New to this? Read first (2)
- Hamiltonian simulation (Wikipedia)Overview of product formulas and later methods.
- Quantum simulator (Wikipedia)Feynman's idea and the analog and digital approaches.
Understanding map
map of the whole wiki →What to read before Hamiltonian simulation: product formulas, LCU and qubitization (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.
- Start with
- Step 2
- Quantum algorithmsAlgorithm
- Step 3
- Then
Open problems & questions
No open problems or questions on this entry.
Progress timeline
- Dec 18, 2019Theory of Trotter errorsource
Childs et al. gave commutator-scaling error bounds for product formulas.
- Jun 5, 2018Quantum singular value transformationsource
Gilyén, Su, Low and Wiebe unified Hamiltonian simulation and other algorithms.
- Oct 20, 2016Qubitizationsource
Low and Chuang gave optimal simulation for block-encoded Hamiltonians.
- Jun 8, 2016Quantum signal processingsource
Low and Chuang gave query-optimal sparse Hamiltonian simulation.
- Dec 15, 2014Truncated Taylor seriessource
Berry, Childs, Cleve, Kothari and Somma reached cost logarithmic in the inverse error.
- Aug 23, 1996Universal quantum simulatorssource
Lloyd showed local Hamiltonians can be simulated efficiently with product formulas.