Efficient Quantum Algorithms for Simulating Sparse Hamiltonians
Paper · 2006 · Dominic W. Berry, Graeme Ahokas, Richard Cleve et al.
Summary
A quantum state can evolve under a Hamiltonian whose matrix is far too large to list. The matrix may still be easy to use if each row has only a few non-zero entries and a procedure can find them on request. Berry and colleagues ask how a quantum computer can turn that kind of access into a simulation. They want the simulated evolution to be accurate for any starting state, and they measure how often the simulator needs to consult the procedure that supplies matrix entries.
The algorithm begins by dividing the matrix into pieces. In each piece, a basis state is coupled to at most one other basis state or has a diagonal entry of its own. Evolution under such a piece is easy to implement. To construct the pieces, the authors view the matrix as a graph and assign colors to its edges. Edges of the same color can go into the same piece if they share no endpoint. A local labeling procedure resolves conflicts by reading a short sequence of neighboring vertices and comparing their binary labels. Its query cost grows with the iterated logarithm of the number of qubits, a function that grows extremely slowly.
The simulator then combines evolutions under the individual pieces using higher-order product formulas. Each formula replaces a short stretch of the full evolution with a carefully ordered sequence of simpler evolutions. Higher order suppresses the approximation error more strongly as the stretches get shorter, at the cost of a longer sequence per stretch. The paper bounds the total cost and uses the bound to choose an order. For bounded sparsity and Hamiltonian norm, a fixed choice of order gives a time exponent that can be made arbitrarily close to linear.
The authors also show why a general simulator with access only to matrix entries cannot run with a sublinear number of queries in the norm-scaled evolution time. They construct a sparse Hamiltonian in which the evolution carries the parity of hidden bits into a qubit that can be measured. A simulator that used too few queries would therefore compute parity with fewer queries than its known lower bound permits. The upper bound applies to a broad class of sparse inputs, while the lower bound comes from a specially constructed family. Together they establish how far the simulated duration can be compressed when the simulator has only black-box access.
Deep dive: Efficient Quantum Algorithms for Simulating Sparse Hamiltonians
Berry and colleagues show how to simulate sparse quantum dynamics with nearly linear time scaling and prove a linear lower bound on queries. · about 33 minutes to read
The problem and its context
Specifying the dynamics without listing the matrix
A Hamiltonian specifies how a quantum state evolves. A simulator is given the Hamiltonian and a duration, and must apply the corresponding evolution to a quantum input state. The Hamiltonian and its evolution operator play different roles. The Hamiltonian specifies instantaneous couplings and energy terms. Its matrix exponential describes the accumulated effect of those couplings over the requested duration. Even when the Hamiltonian has very few entries per column, its exponential can describe a state that has spread far beyond the original basis state. Sparsity gives the algorithm a compact way to obtain the couplings, and the algorithm still has to work out how to compose their effects.
The paper considers two ways of specifying the input. In one, the Hamiltonian already comes as a sum of terms whose separate evolutions can be implemented efficiently. In the other, a procedure lists the non-zero entries in any requested column. In the first case, the challenge is to build the evolution of the sum from a sequence of term evolutions. In the second, the algorithm must first supply a useful decomposition of its own. The two problems call for different cost measures. A result about the length of a sequence of exponentials answers the first problem directly. For the second, the cost of obtaining the matrix information needed by each exponential also matters.
An entry listing provides both a location and a value. This distinction matters because a procedure that supplies a value for a specified row and column would still leave the simulator with the problem of finding which rows to ask about. The paper assumes access to the position of a non-zero entry by its index in a column's list. The order of the entries is allowed to vary from column to column. The location where one endpoint lists a coupling therefore need not agree with the location where the other endpoint lists it. The algorithm has to make a consistent decision about the coupling from either side.
The desired accuracy is stated as a bound on the trace distance between the exact and simulated output states, maximized over the starting state. Trace distance gives an operational way to understand why a state-level promise is valuable. It limits how far the probabilities of a measurement outcome may change when the exact output is replaced with the simulated one. A guarantee for an individual observable or a selected starting basis state would address a narrower task. The same state-level criterion also connects the paper's general algorithm to its lower bound, since the lower-bound construction eventually asks for the outcome of a measurement on a designated qubit.
The routes available in earlier work
As the authors describe it, Lloyd's approach starts from a quantum system built out of smaller subsystems. Its tensor product structure lets the simulator identify interaction Hamiltonians whose individual evolutions can be implemented efficiently. The decomposition has a physical interpretation because each term represents an interaction within that structure. The simulation can therefore begin with the task of combining an available collection of simpler evolutions.
Aharonov and Ta-Shma address a different input. A sparse Hamiltonian can arise from a computational construction even when there is no evident tensor product structure that identifies useful interactions. The paper mentions quantum walks and adiabatic quantum computation as places where this kind of representation can arise. In a walk, a matrix entry can specify a connection between labeled states. A short list of connections for each state is then a natural way to give the input. A graph description can be available even when a decomposition into conveniently implementable interactions is still missing.
On the approximation side, the authors draw on Suzuki's higher-order integrators. A product formula uses a sequence of exponentials of the terms in a sum. The order of the factors matters when those terms do not commute. Higher-order formulas arrange the factors and the time coefficients so that more of the low-degree discrepancies cancel when the product is expanded. The paper's question is how to turn that small-step property into a bound for a complete simulation. That requires tracking the growth in the length of the formula along with the accuracy gained from a shorter step.
On the decomposition side, the authors relate their procedure to deterministic coin tossing and to Linial's work on graph coloring. The connection concerns a local labeling problem. Adjacent objects need distinguishable labels, and the initial labels may be long because they identify vertices from a large space. Comparing neighboring labels gives a way to shorten them while preserving the distinction between neighbors. This approach fits the access problem because the colors must be computable when an edge is encountered, even if the simulator has never visited the rest of the graph.
These earlier lines of work address different parts of the same difficulty. An integrator can determine how many constituent evolutions to apply given access to them. A decomposition can determine how to obtain those constituent evolutions given access to a sparse matrix. The paper develops bounds for both parts and then asks a separate question about the time dependence itself. Even if an algorithm changed the decomposition or used a different approximation scheme, an input hidden behind queries might still force it to do work proportional to the duration being simulated.
The method, step by step
From the full evolution to operations on small pieces
The target is the evolution of a time-independent Hamiltonian over a specified duration.
U(t) = exp(−iHt)
Here U(t) is the exact evolution operator, t is the duration, H is the Hamiltonian, i is the imaginary unit, and exp denotes the matrix exponential. Because H is Hermitian, this exponential is unitary for real t. A unitary is a reversible transformation that preserves the norm of a quantum state.
The algorithm uses the magnitude of the Hamiltonian to express the duration on a scale that matters for evolution.
τ = ‖H‖t
The symbol τ is the norm-scaled time, and ‖H‖ is the operator norm of H. For this Hermitian matrix the norm measures the largest absolute eigenvalue. The same physical duration can require a finer subdivision when the Hamiltonian's magnitude is larger. The variable τ captures that dependence in the bounds.
The general integration problem begins with a decomposition.
H = ∑ⱼ₌₁ᵐ Hⱼ
The symbol Hⱼ denotes the term indexed by j, and m is the number of terms in the sum. The sum starts at index 1 and ends at m. Each term must admit an efficient evolution for the time coefficients the integrator asks it to use. In the sparse-input problem the terms are obtained by coloring the graph of H. The flow shows how that construction and the integration fit together.
From sparse matrix access to quantum evolution
The steps in order.
A term with at most one non-zero entry per row and column is called 1-sparse. After a suitable ordering of the basis states, its coupled portions involve pairs of states, with diagonal entries acting on single states. This follows from Hermiticity. If a state is coupled to another state, the reverse matrix entry belongs to the same term. Neither state can have another non-zero entry in that term. The cited simulation procedure exploits the resulting small blocks. It obtains the partner and value, uses that information to implement the relevant evolution, and reverses the lookup. The paper counts two calls to the term oracle for one such evolution, including the inverse call.
What the black box supplies
The sparse input is specified for a space of dimension at most 2ⁿ. The authors use n qubits to encode basis states and n-bit integers for their labels. The parameter d bounds the number of non-zero entries in a column. Hermiticity gives the corresponding row bound. The column oracle accepts a label and a list position.
f(x,s) = (yₛ,Hₓ,ᵧₛ) if s ≤ d′, and (x,0) if s > d′
Here f is the entry-listing function, x is the column label, s is the requested position, d′ is the actual number of non-zero entries in that column with d′ ≤ d, and yₛ is the row label at position s. The symbol Hₓ,ᵧₛ follows the paper's notation for the entry returned for those labels. The pair (x,0) pads unused positions. The value field distinguishes padding from a genuine diagonal entry.
The quantum algorithm assumes that a reversible form of the lookup is available.
U_f |x,s⟩|0⟩ = |φₓ,ₛ⟩|yₛ,Hₓ,ᵧₛ⟩
The symbol U_f is the unitary implementing f. The ket |x,s⟩ encodes the input and |0⟩ is an initialized output register. The ket |yₛ,Hₓ,ᵧₛ⟩ records the answer. The state |φₓ,ₛ⟩ accounts for other registers produced by the reversible computation. The inverse U_f†, where † denotes the adjoint, is also available. This interface lets the computation use matrix entries coherently when its input register contains a superposition of basis labels.
There are no fitted parameters or training examples. The matrix and the entry procedure are inputs to the algorithm. A choice such as the order of the product formula comes from the error and resource bounds. The bit strings used to demonstrate the decomposition are basis labels in a worked construction. The bits used in the lower-bound proof are hidden inputs to a query problem. Their role is to make the information needed by the simulation explicit.
Giving edges colors that can be recovered locally
The authors interpret a non-zero off-diagonal entry as an undirected edge between basis labels. The complex matrix value is still retained for the evolution. The undirected graph records which pairs are coupled because a Hermitian matrix supplies the conjugate entry in the opposite direction. Coloring an edge means assigning it to one of the terms in the decomposition. If incident edges have different colors, a term formed from one color satisfies the required sparsity condition.
The initial label records the positions of an edge in the neighbor lists of both endpoints. To decide which position comes first, the algorithm orders the endpoints by their integer labels. If the smaller endpoint is x and the larger endpoint is y, it records the position of y at x before the position of x at y. A query starting from the larger endpoint can recover that same ordered label. This common convention keeps the two conjugate entries together in the decomposition.
The two list positions almost solve the coloring problem. At any vertex, two edges going to larger vertices must use different list positions at that vertex and therefore differ in the first part of their labels. Two edges coming from smaller vertices differ in the second part. A collision can occur between an edge from a smaller vertex and an edge to a larger one. The list position at the shared vertex occupies a different part of the label in these two cases. As a result, the ordered pairs can coincide even though the edges use different slots in that vertex's list.
For a fixed ordered pair, the conflicting edges form increasing chains. A vertex can have at most one forward edge with that pair because the first list position determines its forward candidate. It can have at most one backward edge because the second position determines its backward candidate. There is no cycle along increasing labels. This structure reduces the remaining coloring problem to choosing a supplementary label that differs for neighboring edges of a chain. The authors use the color of the smaller endpoint in the chain to supply that supplementary label.
The local procedure starts at the smaller endpoint and follows the chain forward. At each step it looks up the proposed next vertex in the appropriate list slot, then checks that the next vertex lists the current one in the reciprocal slot. It stops when the chain ends or when it has looked sufficiently far ahead. There is no need to find the first vertex of the whole chain. That would make a lookup depend on where the requested edge falls within a potentially long chain.
Shortening the labels while preserving differences
At the start, the labels along an increasing chain are distinct n-bit strings. In a shortening round, each label is compared with its immediate successor. The new label stores the position of the first bit where they differ, together with the value of that bit in the current label. The procedure gives the terminal label a default position and retains its value at the first bit. The new labels can be interpreted as strings with a common layout for the next round.
To see why neighbors remain distinct, consider what each member of a neighboring pair records. If their recorded positions differ, the new labels differ in the position field. If the positions coincide, the bit field of the left label comes from a position where it differs from the right label. The bit field of the right label comes from that same position in its own label. Their bit fields therefore differ. At a terminal position the default can coincide with the position stored by the preceding label. In that case the first bits distinguish the pair. The invariant needed at each round is adjacency distinction. A label can recur farther along the chain.
The palette, meaning the set of possible labels, shrinks according to the following map.
ℓ ↦ 2⌈log₂ ℓ⌉
Here ℓ is the number of possible labels before a round, log₂ is the base-2 logarithm, and ⌈ ⌉ denotes rounding upward to an integer. The ceiling gives the number of bit positions in a fixed-width representation of the old labels, and the factor 2 allows either bit value at each position. The integer zₙ is the number of applications of this map needed to bring the palette from 2ⁿ possibilities down to 6 or fewer. The final label at the starting endpoint supplies the color component ν.
The depth grows like an iterated logarithm.
log* n = min{r | log₂⁽ʳ⁾ n < 2}
The expression log* n is the iterated logarithm under the paper's convention. Here r is the number of logarithm applications, log₂⁽ʳ⁾ means applying the base-2 logarithm repeatedly r times, and min selects the smallest qualifying count. The vertical bar means “such that.” This r is an iteration count in the definition. The integration formulas use the same letter for a different quantity, the number of time intervals.
The bounded search needs a consistency argument. Adjacent edges are colored by starting at different vertices, so the two searches have shifted windows. If both searches reach the same true end of the chain, their computations agree on the common suffix. The color at the start of one window can be compared with the next color in the other window. Neighbor distinction then does the required work.
When the windows stop at different vertices because of the search limit, artificial terminal labels may disagree in the overlapping portion. The local rule gives a bound on the reach of this disagreement. Each new label uses its previous value and the previous value immediately to its right. A discrepancy can therefore move left by at most one position per round. The windows extend far enough to keep agreement for the shifted pair of labels used in the final comparison. The proof uses this dependency to show that coloring an edge by an independently computed window gives a consistent answer wherever that edge is queried, and that adjacent edges using the same list positions get distinct supplementary labels.
Turning a color into an oracle
The complete edge color has the form (i,j,ν). In the coloring discussion i and j are neighbor-list positions, while ν is the supplementary label. The term indexed by this color contains only the entries assigned to it.
m = 6d²
Here m counts the available terms, including any that happen to be empty, and d is the maximum column sparsity. The factor 6 comes from the final palette for ν, and d² counts the ordered pairs of list positions. An actual input may use fewer colors. The guarantee follows from having a fixed collection of possible terms whose entries can be recovered on demand.
The authors describe a term lookup g that takes a column and a color. It first allows a diagonal entry when the two positions coincide and the supplementary label is 0. Reserving that label for the diagonal avoids copying the same diagonal entry into several terms. A candidate diagonal obtained from padding has value zero and therefore adds nothing to the term. For an off-diagonal entry going to a larger vertex, the lookup uses position i at the input vertex and checks position j at the candidate. For an entry going to a smaller vertex, it uses position j at the input vertex and checks position i at the candidate. It computes the supplementary label from the smaller endpoint in both cases. If an entry passes the tests for the requested color, the lookup returns its row and matrix value. Otherwise it returns the padded zero answer.
For a fixed color and a column, the two off-diagonal cases cannot both succeed because that would give incident edges the same full color. A diagonal entry also has its own slot at that vertex. An off-diagonal candidate with the same pair of slots would have to use the diagonal slot as a neighbor position, which cannot give the required larger or smaller endpoint. These checks let the lookup serve both as an implementation of the decomposition and as a test of whether a given term does anything to a specific basis state.
The resulting lookup must leave the input and the wanted output available without retaining the temporary work used to compute the color. The authors implement a reversible computation of the lookup, copy the encoded answer into a fresh register, and run the computation backward. Uncomputing in this way restores the temporary registers. The clean interface is
U_g |x,i,j,ν⟩|0⟩ = |x,i,j,ν⟩|y,(H₍ᵢ,ⱼ,ν₎)ₓ,ᵧ⟩
Here U_g is the clean term oracle, x is the queried column, i and j are the slot positions, and ν is the supplementary color. The ket |0⟩ is the initialized answer register. The value y is the row returned by the lookup, and (H₍ᵢ,ⱼ,ν₎)ₓ,ᵧ is the corresponding entry in the term for that color. The first register on the right retains the input. The cost of the forward and reverse computations has the same order of growth as the local coloring lookup.
Approximating each time interval
Once separate term evolutions are available, the authors can apply the same integration analysis whether those terms came from the coloring or from the original description of the system. The basic product uses a sweep through the terms followed by a sweep in reverse order.
S₂(λ) = (exp(H₁λ/2) ⋯ exp(Hₘλ/2))(exp(Hₘλ/2) ⋯ exp(H₁λ/2))
The symbol S₂ denotes the base symmetric product, λ is its argument, H₁ through Hₘ are the terms of H, and the dots stand for the intervening factors in the indicated order. For evolution, the argument is an imaginary time coefficient. Each occurrence of a term uses half that coefficient. The two sweeps give the full coefficient across the occurrences of the term, while the reversal makes the sequence symmetric. The adjacent factors for the middle term can be merged.
Higher-order formulas reuse the preceding sequence at rescaled arguments.
S₂ₖ(λ) = [S₂ₖ₋₂(pₖλ)]² S₂ₖ₋₂((1 − 4pₖ)λ) [S₂ₖ₋₂(pₖλ)]²
Here k is the integer order parameter, S₂ₖ is the new product, S₂ₖ₋₂ is the preceding product, and a square means two consecutive applications of the indicated sequence. The coefficient pₖ sets the rescaling for the repeated outer blocks. The center uses the coefficient 1 − 4pₖ. The symmetric sequence keeps the intended total argument while changing which higher-degree terms survive in the expansion.
pₖ = (4 − 4^(1/(2k−1)))⁻¹, k > 1
The symbol pₖ is the Suzuki coefficient at the recursion step indexed by k, and the superscript −1 means reciprocal. The condition k > 1 distinguishes these recursion steps from the base formula. The central coefficient can be negative. For a unitary constituent evolution this calls for the evolution with the opposite time sign, which is consistent with the assumed ability to apply term evolutions at the required times.
Suzuki's cancellation result controls the local approximation.
exp(λH) − S₂ₖ(λ) ∈ O(|λ|^(2k+1)) as |λ| → 0
The exponential on the left is the exact operation at argument λ, S₂ₖ(λ) is the product approximation, and |λ| is the magnitude of the argument. The notation O bounds how quickly the discrepancy vanishes near zero. The exponent 2k+1 describes the order of the local error term. This result establishes the benefit of raising k. A quantitative cost bound also needs explicit control of the constants as the formula grows.
The authors obtain that control by expanding the target exponential and the product formula. At a given degree, the target expansion has contributions from ordered products of the individual Hamiltonian terms. The order must be tracked because the factors need not commute. The formula expansion produces its own ordered products, from combinations of powers taken from constituent exponentials. Once the matching low-degree terms are canceled, the authors bound the tail using the number of factors in the formula and bounds on the size of the operator products. Their argument uses ‖Hⱼ‖ ≤ ‖H‖. For the coloring construction this is compatible with the fact that each term consists of individual couplings and diagonal entries drawn from H.
From local error to a total cost
The simulator uses the same product formula for each time interval.
U_approx = [S₂ₖ(−it/r)]ʳ
Here U_approx is the approximate evolution, r is the number of intervals, and −it/r is the argument for a single interval. The outer power means repeating that interval's procedure r times. The full operator error is bounded by the paper's lemma when the chosen intervals meet its size conditions.
‖exp(−iHt) − [S₂ₖ(−it/r)]ʳ‖ ≤ 5(2 × 5^(k−1)mτ)^(2k+1)/r^(2k)
The norm on the left is the operator norm of the difference between exact and approximate evolution. The quantity m counts the terms, τ is the scaled time, k is the order parameter, and r is the number of intervals. The factor 5^(k−1) reflects the growth of the product sequence under recursion. The denominator describes the rate at which the bound falls when the same total duration is divided more finely.
4m5^(k−1)τ/r ≤ 1 and (16/3)(2 × 5^(k−1)mτ)^(2k+1)/r^(2k) ≤ 1
Both inequalities are conditions on the use of the preceding bound. The first controls the magnitude of the argument entering the estimate of the expansion tail. The second controls the accumulation estimate over the repeated intervals. The quantities m, k, τ, and r retain their meanings, and 16/3 is the numerical constant in the second condition.
An operator-norm bound gives a guarantee uniform over normalized input state vectors. Applying the difference of the two operators to any such vector produces a vector difference no larger than that norm. The paper then bounds the trace distance between the corresponding output states by the vector difference. This step converts the estimated approximation error for the integrator into the state error required by the simulation problem.
To keep the error within tolerance, the authors choose this number of intervals.
r = ⌈4 × 5^(k−1/2)(mτ)^(1+1/(2k))/ε^(1/(2k))⌉
Here ε is the permitted error and the ceiling produces an integer interval count. The choice is used in the parameter range of the theorem. The authors multiply the number of intervals by an upper bound of 2m5^(k−1) on the count of constituent exponentials per interval. The result, with the rounding accounted for, is the following exponential-count bound.
N_exp ≤ 2m5^(2k)(mτ)^(1+1/(2k))/ε^(1/(2k))
The symbol N_exp counts the exponentials of individual Hⱼ terms used in the sequence. The remaining variables are the term count m, scaled time τ, order parameter k, and error tolerance ε. The paper gives the bound for ε ≤ 1 ≤ 2m5^(k−1)τ. It is a bound on the number of constituent evolutions. Their implementation cost enters separately when the terms are supplied by a sparse oracle.
The expression has competing dependencies on k. The time exponent decreases as k rises, and the explicit prefactor grows. The authors estimate a suitable integer order using the logarithm of the ratio of mτ to ε.
k = round[(1/2)√(log₅(mτ/ε)) + 1]
Here round means rounding to an integer, √ is the square root, and log₅ is the logarithm to base 5. The argument mτ/ε combines the number of terms, scaled time, and target accuracy. The expression is the paper's prescription for deriving a bound with the order already chosen. The + 1 and rounding are part of that prescription.
N_exp ≤ 4m²τ exp(2√(ln 5 · ln(mτ/ε)))
The count N_exp is still the number of constituent exponentials. The functions exp and ln here are the scalar exponential and natural logarithm, · denotes multiplication, and m, τ, and ε retain their meanings. The paper gives this version for ε ≤ 1 ≤ mτ/25. It exposes the near-linear dependence by writing the bound as a factor proportional to τ times an additional factor that grows with the logarithm of the ratio.
For the sparse problem, each constituent evolution has to be implemented through access to a color oracle. The forward and inverse term lookups each use a number of original oracle calls of order log* n. Together with the term count and integration cost, this gives the bound for the original query interface.
N_bb ∈ O((log* n)d²5^(2k)(d²τ)^(1+1/(2k))/ε^(1/(2k)))
The symbol N_bb counts calls to the original sparse black box, including the work of accessing the terms. The iterated logarithm depends on the number n of qubits, d is the sparsity bound, k is the chosen order, τ is scaled time, and ε is the error tolerance. The O notation expresses an upper bound in order of growth. The grouping separates the iterated-logarithm query overhead from the factors involving decomposition size and integration.
Accounting for finite precision
The authors represent the real and imaginary parts of a matrix element separately, with n′ bits for each part. This means that the numerical inputs to the constituent evolutions are approximate. The paper treats this approximation as an additional source of error. It bounds the error in an individual exponential due to the representation and then bounds its accumulation over the product formula.
n′ > 5 + log₂(τd²5ᵏ/ε)
Here n′ is the number of bits per real or imaginary part, log₂ is the base-2 logarithm, and the argument contains scaled time τ, sparsity d, order k, and the full error allowance ε. Under this choice the paper budgets less than ε/2 for finite-precision effects. It also chooses the integrator to keep its own contribution within ε/2. The precision requirement addresses how accurately entries must be represented to support the overall trace-distance guarantee.
Experiments and results
What is measured
The paper evaluates the algorithm through proofs and worked examples. Its inputs are mathematically specified Hamiltonians and oracle interfaces. Its main metrics are the number of constituent exponentials, the number of original matrix lookups, and the growth of auxiliary operations. Its accuracy metric is the worst-case trace distance of the final state. There is no experimental data split, measured runtime, or empirical comparison on a collection of physical systems. The comparison with earlier methods is between resource scalings under the problem descriptions given by the authors.
For the integration problem the reported fixed-order time dependence is t^(1+1/(2k)) when the other parameters relevant to that comparison are fixed. The paper contrasts this with t^(3/2) for the Aharonov and Ta-Shma method and t² for Lloyd's method. The comparison concerns the dependence on evolution time, with the qualifications about the input decomposition in each case. The paper also gives the order-selected bound from the preceding section. The two statements serve different purposes. The fixed-order bound shows how the power of time depends on the formula order. The order-selected bound accounts for the cost of moving to higher order as the size or accuracy requirement of a simulation changes.
For sparse input the authors compare their log* n query dependence on the number of qubits with the n⁹ dependence they attribute to the implicit scaling of Aharonov and Ta-Shma's method and the n² dependence they give for Childs's method. This is a comparison of the size dependence of query counts. The calculation that produces a color still works with vertex labels containing n bits. The authors bound that auxiliary work separately.
O(n(log* n)²d²5^(2k)(d²τ)^(1+1/(2k))/ε^(1/(2k)))
The expression bounds auxiliary operations in the sparse simulation. The leading n comes from operations on the basis labels, log* n is the iterated-logarithm factor, d is the sparsity bound, k is the integrator's order parameter, τ is scaled time, and ε is the accuracy parameter. The paper compares the size dependence of this auxiliary cost with the n¹⁰ scaling it reports for Aharonov and Ta-Shma's method. Keeping the two metrics separate explains how the number of queries can be very small in its dependence on n even though processing the answers requires work that grows with the length of the labels.
What the coloring example demonstrates
The paper illustrates the label-shortening procedure with n = 18 and zₙ = 4. It starts with 2¹⁸ possible basis labels. The chart follows the remaining palette after each shortening round. Its metric counts possible labels under the encoding, including labels that may never occur in the particular chain shown.
Possible labels after each shortening round in the n = 18 chain example
The palette shrinks at each round and reaches the size used for the supplementary edge color.
The numbers
| System or setting | possible labels |
|---|---|
| First shortening round | 36 |
| Second shortening round | 12 |
| Third shortening round | 8 |
| Final shortening round (this paper) | 6 |
In the worked chain, the incident edges considered share the position pair (1,3), so the supplementary label must separate them. The tables follow two calculations, one beginning at x and another beginning at its predecessor w. One of the windows ends earlier along the shared chain, giving some different values near that boundary in successive rounds. The final label starting at x is 000. The final label starting at w is 100. The distinction is exactly what the edge-coloring construction requires. The tabulation illustrates a specific instance of the shift argument used in the proof. It gives no estimate of how common long conflicting chains are.
The paper gives 2(zₙ + 2) as a bound on the number of original queries needed to determine the supplementary label. The factor accounts for looking up candidate successors and checking reciprocal positions. The full term routine also needs to carry out its case checks and provide a reversible interface. These operations preserve the iterated-logarithm order of the query overhead. The example demonstrates why the window can be short even when a basis label has many possible values. The general guarantee depends on the contraction of the palette and the one-position dependency in each shortening round.
The limit obtained from hidden parity
The lower bound is a separate construction. The authors first consider a weighted chain with basis states labeled from 0 to N, where N will also be the number of hidden bits in the augmented construction. Neighboring states have the coupling
⟨j+1|H|j⟩ = ⟨j|H|j+1⟩ = √((N − j)(j + 1))/2
Here j is the index at the lower end of a chain edge, H is the Hamiltonian of the weighted chain, and the two bracketed expressions give the entries in opposite directions. The square root gives the weight before division by 2. The authors identify this chain Hamiltonian with a spin operator. At evolution time π the chain transfers the starting state at one end to the other, with any global phase irrelevant to the measurement used in the reduction. The operator norm is N/2.
The augmented chain uses a qubit to distinguish two copies of each position. Each hidden bit determines whether the couplings between consecutive positions preserve or exchange the copy label. With bit value 0, the two couplings stay within their respective labels. With bit value 1, they switch the labels. A path from a specified starting point still has the same consecutive weights as the original chain. The Hamiltonian is 2-sparse because each internal state has a continuation in each direction along its path.
kⱼ ⊕ kⱼ₊₁ = Xⱼ₊₁
Here kⱼ is the auxiliary qubit label on the path at position j, Xⱼ₊₁ is the hidden bit controlling the next link, and ⊕ denotes exclusive OR. Along the path beginning with k₀ = 0, the final label kₙ with index N is the parity of all the hidden bits. Each exchange contributes a flip. Two flips restore the original label, so only the parity of the exchanges survives in the auxiliary qubit.
A simulator can be used to recover that final bit by evolving the state from the starting endpoint and measuring the auxiliary qubit. A trace-distance approximation controls the probability of seeing the wrong parity. Each queried column of the Hamiltonian can be supplied with at most two queries to the hidden bits, because its neighbors involve only the preceding and succeeding links. The query lower bound for parity quoted by the authors is N/2 at error 1/4. Transferring that bound to Hamiltonian queries yields their theorem.
τ = πN/2, with at least τ/(2π) queries at precision 1/4
Here τ is the scaled duration of the constructed evolution, π is the chosen evolution time for the chain, and N counts the hidden bits. The expression τ/(2π) counts the required Hamiltonian queries in the theorem. The precision 1/4 is the permitted trace-distance error. This is a worst-case statement over a family of row-computable Hamiltonians, with the available number of qubits allowed to grow with the construction.
The paper also gives a corresponding result for integrators whose cost is measured in exponentials. It splits the weighted path at alternating links. Each collection of links gives a 1-sparse Hamiltonian because a path vertex meets at most one link from each collection. A query to either term needs just one hidden-bit lookup. The authors can therefore convert a proposed short sequence of term exponentials into a parity algorithm. Their corollary rules out a general integrator for the sum of the two terms with fewer than τ/(2π) exponentials at trace-distance error 1/4. Here “general” means the integrator is chosen from scaled time and does not exploit which Hamiltonian was supplied.
What the ablations show
The paper reports no empirical ablations, and its component-level evidence comes from the bound as the integration order varies, the local analysis of coloring conflicts, the worked labeling example, and the parity reduction.
When a higher order helps
The integrator analysis exposes which costs move when the order changes. Raising the order improves the time exponent and weakens the dependence on inverse error in the fixed-order bound. Each short interval can then be approximated more accurately at the same interval size. At the same time, the formula contains more constituent exponentials because its recursive definition repeats blocks from the preceding order. A comparison of error orders alone would miss the cost of those extra blocks.
The order-selection argument instead examines the parts of the bound that compete. The prefactor grows exponentially in k, while a term involving the logarithm of mτ/ε is divided by k in the exponent of the rewritten bound. With a large scaled duration or a small error allowance, increasing the order can buy enough improvement to pay for the longer sequence. For a fixed problem, the upper bound eventually grows if the order is raised too far. This analysis explains why the paper presents both a family of fixed-order guarantees and a choice that eliminates k from a final bound. It compares proven cost estimates. It does not measure a crossover between orders on a quantum device.
The interval count is another variable in the same tradeoff. Subdividing more finely at fixed order makes each local approximation easier, and it requires applying the formula more times. The proof supplies sufficient conditions for an interval count to control the overall error. It therefore gives a reproducible analytical comparison between increasing the number of intervals and increasing the formula order, even though it never searches over implementations to find the cheapest sequence for a particular Hamiltonian.
What the supplementary label contributes
The decomposition argument provides a direct comparison between the position pair alone and the full color. The pair separates edges competing for the same type of list slot at a vertex. It leaves a specific ambiguity when an incoming and an outgoing edge place the shared vertex's slots in different fields. The supplementary label is needed precisely along chains where that ambiguity persists. The proof establishes distinguishability on those chains while allowing supplementary colors to be reused at nonadjacent places.
The example with x and w also isolates the effect of truncating the search. The two calculations share much of their sequence of vertices. Their boundary conditions differ, so some shortened labels in the overlap can differ as well. Correctness turns on how far a boundary change can propagate in a given number of rounds. The calculations agree at the shifted location needed for the final color comparison, and the final colors for the two incident edges are distinct. This illustrates a stronger property than shortening labels on a chain whose full extent is already known. It shows why the shorter, independently computed windows are sufficient.
The query analysis distinguishes the cost of acquiring labels from the cost of processing them. Only the initial chain construction queries the original neighbor lists to obtain the vertices. The subsequent label transformations use information already collected. Their later rounds operate on shorter strings. That separation explains why the original oracle cost can scale with the number of logarithmic reductions while the auxiliary operation count must include operations on the initial n-bit strings.
What the lower bound isolates
The parity construction keeps the magnitudes of the chain couplings fixed and changes which endpoints the links join. The hidden bits appear in the wiring of the two paths. This makes it possible to supply a local Hamiltonian query using only nearby bits, while the end-to-end evolution collects a property of all of them. Both features are necessary for the reduction. If a single local query already returned global information about the hidden bits, the parity query lower bound would give less control over the number of Hamiltonian queries.
The integrator corollary uses alternating links to make each term easy to simulate in isolation. The information burden then remains in composing those simple evolutions. In that construction neither higher local degree nor expensive constituent dynamics is needed to force a linear cost. The lower bound follows from the information needed to reproduce the output of the full evolution. It applies independently of the particular coloring procedure in the upper bound.
Limitations
Conditions the authors state
The lower bound is for black-box access. It applies when the Hamiltonian is made available through queries and the algorithm must work across the specified input family. The authors explicitly leave room for more efficient simulations of individual Hamiltonians whose structure can be used directly. Their hard family encodes unknown bits and requires a state space large enough to contain the paths. If the qubit count can increase at least logarithmically as scaled time increases, the paper states the linear obstruction. The construction does not give the same conclusion for indefinitely increasing scaled time on an arbitrarily fixed register.
The accuracy in the lower-bound theorem is fixed at 1/4. This establishes a time barrier even for that constant tolerance. It supplies no corresponding characterization of the best dependence on much smaller errors. The hard example is 2-sparse, which is sufficient to rule out a general sublinear query bound even in a very sparse class. It does not reveal how the smallest achievable cost varies with d over the full range of sparsity.
The upper bounds have their own stated conditions. The integration analysis uses a sufficiently small argument at each interval, with explicit inequalities in the lemma. The fixed-order theorem and the order-selected expression each have a range of scaled duration and precision attached to them. These are sufficient conditions for the bounds as presented. The efficient simulation of individual terms is also part of the first problem's setup. When that capability is supplied externally, a count of exponentials leaves the cost of each implementation to the application.
For the sparse-input theorem, the entry routine must return non-zero positions along with their values and have a reversible implementation whose inverse can be called. An arbitrary description of a sparse matrix does not itself specify such a routine. The paper's cost begins from this access interface. It provides an auxiliary-operation estimate for the decomposition and a bit-precision requirement for the entries. Those quantities complement the black-box count, whose units are queries rather than gates or elapsed device time.
The finite-precision analysis allocates separate portions of the error allowance to the integrator and the representation of matrix entries. This controls those approximation sources within the mathematical procedure. It assumes that matrix elements can be supplied to the selected precision and that the operations used in the simulation realize the prescribed unitary transformations to the accuracy being counted.
Limits that follow from the setup
The upper bound comes from a norm estimate that counts terms in an expansion and bounds their products. This kind of estimate is designed to cover inputs whose terms interact in many different ways. It does not resolve how much a particular instance benefits from commuting terms or other simplifications. The chosen order and interval count minimize or control this bound. Their performance as choices for an individual system would depend on the behavior of that system and on the costs of its constituent evolutions.
The norm argument explicitly uses ‖Hⱼ‖ ≤ ‖H‖. That relation is appropriate to the sparse construction because a color term retains isolated matrix entries from the full Hamiltonian. For an arbitrary decomposition supplied as input, the individual terms can be large while their sum is small through cancellation. A reader applying the integration estimate to such a decomposition has to check the norm premise used in the proof. The norm of the sum alone need not give the bound on every factor that the error calculation uses.
The coloring guarantee gives the simulator a way to query each term without building a global coloring. This is an advantage under the stated access assumptions. The resulting palette of 6d² terms is a sufficient construction. It does not establish the fewest terms possible for a given graph, and the paper's example is designed to expose a collision case rather than measure how many colors actual applications would use. Since the term count enters the integration bound as well as the decomposition, a different representation of a specific input could change the overall cost.
The query and auxiliary-operation results establish different aspects of efficiency. A reversible matrix-entry routine can itself have a substantial implementation cost, and that cost is abstracted into the query interface. The precision estimate determines how many bits are sufficient for the analysis. It does not specify hardware-level resources for reversible arithmetic, memory, or noise. The paper provides no device measurements from which to infer those quantities.
The linear lower bound and the near-linear upper bound leave room between them. The lower bound prevents sublinear time dependence for general black-box simulation in the stated regime. It does not establish that the extra factor in the order-selected upper bound is unavoidable. The exponent and query results also use different units, with a separate corollary to address the exponentials of a general integrator. Those distinctions matter when comparing a new algorithm to the paper. A reduction in constituent exponentials becomes a reduction in total queries only after accounting for the cost of implementing those exponentials under the relevant access assumptions.
What came after
The later survey by Dalzell and colleagues cites this work in a study of quantum algorithms organized around applications and end-to-end complexities. The scope indicated by the survey's title is broader than the simulation subroutine analyzed by Berry and colleagues. For sparse Hamiltonian simulation, the paper gives a concrete example of why an end-to-end accounting has several inputs. The number of component evolutions, the cost of accessing each component, and the additional operations required to use those answers are separately stated quantities. The survey provides a later point of reference for the broader resource question. Quantum algorithms: A survey of applications and end-to-end complexities
Cite
Cite as Dominic W. Berry, Graeme Ahokas, Richard Cleve and Barry C. Sanders. 2006. Efficient Quantum Algorithms for Simulating Sparse Hamiltonians. Communications in Mathematical Physics.
@inproceedings{berry2006efficient,
title = {{Efficient Quantum Algorithms for Simulating Sparse Hamiltonians}},
author = {Dominic W. Berry, Graeme Ahokas, Richard Cleve and Barry C. Sanders},
booktitle = {Communications in Mathematical Physics},
year = {2006},
doi = {10.1007/s00220-006-0150-x},
eprint = {quant-ph/0508139},
archivePrefix = {arXiv},
url = {https://doi.org/10.1007/s00220-006-0150-x}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/berry-2006-efficient-quantum-algorithms-simulating-sparse/