---
title: "Simulating Hamiltonian Dynamics with a Truncated Taylor Series"
description: "Berry and colleagues use a truncated Taylor series to simulate Hamiltonian dynamics on a quantum computer with logarithmic precision cost."
canonical: "https://research.elamur.ai/free/en/papers/berry-2015-simulating-hamiltonian-dynamics-truncated-taylor/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/berry-2015-simulating-hamiltonian-dynamics-truncated-taylor/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2015](https://md.research.elamur.ai/free/en/papers/2015/) / Simulating Hamiltonian Dynamics with a Truncated Taylor Series

# Simulating Hamiltonian Dynamics with a Truncated Taylor Series

Paper · 2015 · Dominic W. Berry, Andrew M. Childs, Richard Cleve et al.

**Authors:** Dominic W. Berry, Andrew M. Childs, [Richard Cleve](https://md.research.elamur.ai/free/en/authors/richard-cleve/), Robin Kothari and [Rolando D. Somma](https://md.research.elamur.ai/free/en/authors/rolando-d-somma/) · **Year:** 2015 · **Venue:** Physical Review Letters · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[Cited by **11** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/berry-2015-simulating-hamiltonian-dynamics-truncated-taylor/cited-by/) · Physical Review Letters · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1412.4687)
- [DOI 10.1103/physrevlett.114.090502](https://doi.org/10.1103/physrevlett.114.090502)
- [arXiv 1412.4687](https://arxiv.org/abs/1412.4687)

## Summary

A Hamiltonian determines how a quantum system changes with time. Given a description of that Hamiltonian and a quantum state, the simulation problem is to reproduce the state’s evolution for a specified duration, within a chosen error. Berry and colleagues study how to do this when the Hamiltonian is supplied as a weighted sum of operations that a quantum computer can implement. Their algorithm divides the evolution into short segments and approximates the evolution in each segment with a truncated Taylor series. The short segments keep the series manageable, and the factorials in its coefficients make the discarded terms small as the order of truncation increases.

A Taylor polynomial gives a mathematical approximation. Turning it into a circuit requires a way to add operations with prescribed weights. The authors expand each power of the Hamiltonian into ordered products of its unitary components. An auxiliary quantum register holds the labels of these products in superposition. A controlled circuit applies the product associated with each label, and reversing the auxiliary state preparation brings the desired sum into a distinguished part of the joint state. At this point the sum is scaled down, and some of the state can occupy other auxiliary outcomes.

The authors recover the desired operation with a robust form of oblivious amplitude amplification. This procedure works without a description of the input state. Its robustness matters because a finite Taylor polynomial is generally only close to the exact unitary evolution. The paper shows that the same amplification circuit remains accurate when the polynomial is close to unitary and its coefficient sum is close to the value the circuit expects. The resulting segment error can be made small enough that the full sequence stays within the requested tolerance.

The evidence is mathematical. The paper derives error and resource bounds for Hamiltonians given as sums of implementable unitaries, works out gate costs for Pauli products and sparse oracle access, and outlines an extension to time-dependent evolution. For sparse Hamiltonians, the new construction recovers the asymptotic precision dependence of the authors’ earlier algorithm through a more direct route. The general construction also permits component unitaries that are not self-inverse. Its central result is that the order of the Taylor approximation, and hence the precision-dependent part of the circuit cost, grows only logarithmically in the sense used by the paper, which includes a division by a logarithm of a logarithm.

## Deep dive: Simulating Hamiltonian Dynamics with a Truncated Taylor Series

Berry and colleagues use a truncated Taylor series to simulate Hamiltonian dynamics on a quantum computer with logarithmic precision cost. · about 33 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What the simulation has to reproduce

The task begins with a quantum state and a rule for how it evolves. The Hamiltonian is the operator that supplies that rule. For a fixed Hamiltonian, the exact operation over a specified duration is a matrix exponential. Applying that operation to the input state gives the target output. A simulation algorithm has to realize approximately the same transformation with the gates and input access at its disposal. The desired guarantee concerns the transformation on a state supplied to the circuit, so the method has to work without being tailored to the particular input.

This distinguishes the simulation problem from evaluating a single matrix entry or estimating an observable on one selected state. The paper seeks a circuit whose output state approximates the evolved state. It can establish that guarantee by controlling the operator error of a short-segment approximation and following that error through the circuit. Taking a bound over input states gives the construction a way to account for its accuracy even when the state being evolved has no convenient classical description.

The authors motivate the task through the wider use of quantum computers for simulating quantum dynamics. They point to applications involving spins and quantum chemistry. These applications explain the interest in a general evolution procedure. Each use still has to supply a Hamiltonian in a suitable representation. In this paper, the representation matters because it determines which operations the circuit can use directly and how much work it takes to choose among them.

A Hamiltonian written explicitly as a sum of simple operations leads to a different implementation from one supplied through an oracle for a sparse matrix. In the explicit case, the list of terms and their coefficients can guide state preparation and controlled gates. In the oracle case, the algorithm has to obtain the effect of a selected term through the available oracle access. The paper first develops a construction that describes what the selection operation must do, then considers how to implement it for these different inputs.

#### Why the precision dependence mattered

The authors place their work after a line of quantum algorithms for Hamiltonian simulation that had already established efficient simulation and expanded the range of systems it could handle. Their immediate comparison is with their own earlier algorithm for a sparse Hamiltonian. A sparse matrix has relatively few non-zero entries in each row. The sparsity parameter in the comparison bounds how many entries can occur, and the matrix-entry scale helps determine the total effort. In that setting, a query is a use of the specified access to the Hamiltonian. The paper distinguishes these queries from the additional elementary gates that surround them.

According to the paper, the earlier algorithm greatly improved how simulation cost grows with the inverse error tolerance. It also achieved an optimal query bound in the sparse setting discussed there. The article uses “logarithmic” broadly for expressions involving logarithms and their combinations. Thus its precision claim allows a logarithm divided by a logarithm of a logarithm. The improvement is about how much more work is needed when the error target becomes more demanding. The duration, strength of the Hamiltonian, and cost of accessing its components still matter.

The earlier construction reached this precision behavior through an indirect approach and an unconventional query framework. The authors ask whether the same dependence can be obtained by approximating the evolution operator directly. Their answer uses the Taylor expansion of the exponential, whose coefficients exhibit the source of the precision behavior. Shortening the interval controls the size of the powers in the series. The factorial denominators then drive down the contribution of the omitted orders.

That explanation leaves a circuit-design question. A matrix polynomial is written as a sum of weighted operators, while a quantum circuit implements a sequence of gates. Even when the summands are unitary, their weighted sum can fail to preserve norms. The authors draw on earlier procedures for implementing linear combinations of unitaries. These procedures use auxiliary registers and controlled operations to make the terms contribute coherently to a common outcome.

Their earlier simulation work also supplied oblivious amplitude amplification. The relevant property is that the amplification can act using the auxiliary registers and the circuit for selection, without needing access to a description of the unknown system state. The version for an exactly unitary target gives a starting point. A Taylor polynomial, however accurately truncated, gives an approximately unitary target. The proof therefore has to account for the effect of amplification on that approximation.

#### What the Hamiltonian representation permits

The paper takes the Hamiltonian to be a weighted sum of unitary operators, each with a mechanism for its implementation. A unitary operator preserves the norm of a quantum state and has an inverse given by its adjoint. A unitary component in the Hamiltonian need not itself represent the full physical evolution. Its role is to provide an operation that the circuit can select when constructing a product from the Taylor expansion.

The authors explain that a Hamiltonian can be decomposed into unitaries, and that many useful decompositions have relatively few terms with accessible implementations. Local Hamiltonians provide one example. They can be expressed using tensor products of Pauli matrices that act nontrivially on only a constant number of qubits per term. The paper also considers sums with polynomially many Pauli products whose individual terms can have high weight, meaning that a term acts nontrivially on many qubits. It mentions such products in connection with the Jordan–Wigner transformation of fermionic operators.

The general construction draws on closure under multiplication. A sequence of unitary components is still unitary, so a product can serve as a selectable circuit operation even when it contains several different components. This remains true when the components fail to commute. Their order then matters, and the expansion retains it in the labels that identify each product. No simplification based on commutation is needed.

A component also need not be self-inverse, a property that would make applying it again equivalent to undoing it. The new method can use more general unitary components and can run the selection circuit in reverse when the amplification step calls for its adjoint. For the sparse oracle application, the paper still uses a decomposition into self-inverse operations. That is a property of the particular sparse construction, while the general argument depends on the availability of unitary operations and their reversals.

### The method, step by step

#### Bound the evolution on a short segment

The input is a finite-dimensional Hamiltonian, a duration, and an error tolerance. The circuit also receives the quantum state to be evolved. The authors begin with a time-independent Hamiltonian, so exact evolution over equal intervals is given by the same operation. In that setting the construction runs as follows.

Building a Taylor-series simulation of Hamiltonian evolution The steps in order.

The Hamiltonian representation is

```
H = ∑ℓ₌₁ᴸ αℓ Hℓ
```

Here `H` is the Hamiltonian, `L` is the number of supplied terms, and `ℓ` indexes them. Each `Hℓ` is unitary and each `αℓ` is its coefficient. The authors take the coefficients to be positive, absorbing phases into the unitary operations when needed. Multiplying a unitary by a phase preserves unitarity. Positivity then lets the coefficients determine the weights used in the auxiliary state preparation.

The exact operation over the full duration is

```
U = exp(−iHt)
```

Here `U` is the evolution operator, `t` is the duration, and `i` is the imaginary unit. The exponential is a matrix operation. The target is the action of `U` on the input state. A single polynomial approximation over the whole interval would have to handle powers at the full time scale. The authors instead divide the interval, keeping the size of the series argument under control before choosing the truncation order.

For a full segment, the exact operator and its finite approximation are related by

```
Uᵣ = exp(−iHt/r) ≈ ∑ₖ₌₀ᴷ (−iHt/r)ᵏ/k!
```

Here `r` is the number of segments, `t/r` is the length of an equal segment, and `Uᵣ` is its exact evolution. The order of a term is `k`, and `K` is the highest order retained. The notation `k!` denotes the factorial of `k`. The term of order zero is the identity. Higher orders contain powers of the same Hamiltonian, and the factor of `t/r` accompanies each occurrence of it.

The time-independent assumption means successive equal segments have the same exact operator. Their composition gives evolution for the total duration. The circuit approximates each of these steps, with a budget for the error contributed by each. The authors target a segment error on the scale of `ǫ/r`, where `ǫ` is the total permitted error. A bound of this kind allows all segment errors to accumulate in the worst direction and still keeps the total under control once the constants are chosen appropriately.

The paper gives the following sufficient order for the Taylor approximation when the number of segments is at least the Hamiltonian operator norm times the duration.

```
K = O(log(r/ǫ)/log log(r/ǫ))
```

The operator norm of `H` measures its largest action in norm on a unit vector. Here `O` bounds the growth of the required order up to constants, and `log log` denotes a logarithm applied to another logarithm. The condition on segment length keeps the series argument bounded in norm. Factorial decay then allows the omitted tail to reach a small tolerance without increasing `K` in proportion to the inverse error itself.

The order has a direct circuit meaning. It bounds the length of each product the selector may have to apply. It also determines how many auxiliary term registers the implementation allocates. Increasing accuracy by retaining more orders therefore increases identifiable parts of the circuit. The cost analysis follows those parts instead of treating the polynomial as a single unexplained operation.

#### Expand powers into ordered products

The component representation of the Hamiltonian turns the polynomial into a sum of operations that can be selected individually. The expansion for a segment is

```
Ũ = ∑ₖ₌₀ᴷ ∑ℓ₁,…,ℓₖ₌₁ᴸ [(−it/r)ᵏ/k!] αℓ₁⋯αℓₖ Hℓ₁⋯Hℓₖ
```

Here `Ũ` denotes the truncated approximation to `Uᵣ`. For each retained order `k`, the inner sum ranges over every ordered list `ℓ₁,…,ℓₖ` of component labels. Each label ranges from the first through the `L`th term. The product of the `α` coefficients supplies the weight from the Hamiltonian, and the ordered product of the `H` operators supplies the action on the system. At order zero, the list is empty and its product is the identity.

An ordered list is important when two Hamiltonian components do not commute. Two lists can contain the same components with the same coefficient product and still identify different matrix products. The expansion keeps each list, including lists with repeated labels. As a result, the selection circuit can follow the ordered product specified by its registers without deciding whether different lists happen to give equivalent operations.

The factor from the imaginary unit can be incorporated into the selected product. The authors use a single index `j` when discussing the resulting weighted sum in general.

```
Ũ = ∑ⱼ₌₀ᵐ⁻¹ βⱼ Vⱼ
```

Here `m` is the number of labels in the finite sum. The positive weight `βⱼ` for a label consists of the time factor, the factorial denominator, and the Hamiltonian coefficient product. The operation `Vⱼ` is the ordered product of the Hamiltonian components for that label, with the factor `(-i)ᵏ` included as a phase. A product of unitaries with a phase factor is unitary. This gives the circuit a collection of unitary choices even though their sum is generally nonunitary.

The sum has a label for every retained product. The circuit exploits the structure of those labels. It can store an order and a sequence of component choices, and carry out the indicated product with a bounded number of controlled selections. Likewise, it can use the factorization of the weights to prepare the labels without building a separate arbitrary state preparation for every product in the expression. These two uses of structure connect the number of retained orders to the gate cost.

#### Place the weighted sum in a distinguished auxiliary outcome

An auxiliary register, also called an ancilla, is a quantum register used by the circuit in addition to the system that undergoes evolution. Here its basis states encode the product labels `j`. The circuit uses a unitary state preparation `B` to set the relative amplitudes of these labels. The total coefficient weight is

```
s = ∑ⱼ₌₀ᵐ⁻¹ βⱼ
```

Here `s` is the sum of all retained positive weights. It serves as the normalization scale for state preparation and later as the scaling factor for the recovered operator. It is a property of the coefficients in the representation. The size of the evolution operator itself can be quite different because the products can interfere when added.

The preparation is specified by its action on a designated initial ancilla state.

```
B |0⟩ = (1/√s) ∑ⱼ₌₀ᵐ⁻¹ √βⱼ |j⟩
```

The ket `|0⟩` is the initial auxiliary basis state, and `|j⟩` is the basis state carrying label `j`. The square roots make the squared amplitudes add to unity after division by `s`. Only the action on the initial state is specified by this expression. Implementing it as a unitary supplies a reversible state preparation for use later in the circuit.

The selector acts conditionally on the label.

```
select(V) |j⟩|ψ⟩ = |j⟩ Vⱼ|ψ⟩
```

Here `|ψ⟩` is the system input state, `select(V)` is the unitary controlled selection, and `Vⱼ` is the operation for the chosen label. The selector preserves the label and applies its operation to the system. Since the label register was prepared in superposition, this action takes place coherently across all its terms. No measurement of the label is involved.

The authors then undo the auxiliary state preparation. They name the full sequence `W`.

```
W = (B† ⊗ I) select(V) (B ⊗ I)
```

The symbol `†` denotes the adjoint, which gives the inverse of a unitary. The tensor product `⊗` specifies the registers on which an operation acts, and `I` is the identity on the system. Reading the expression from right to left, `W` prepares the label state, applies the selector to both registers, and reverses the preparation on the label register.

The reversal determines how much of every selected product appears with the ancilla back in its initial state. Each product entered the selection step with an amplitude proportional to the square root of its weight. Its overlap with the initial state after the reversal contributes another factor of the same size. The two factors produce the original weight divided by the common normalization. Contributions from the different products then add in that auxiliary outcome.

The authors express this part of the action using a projection.

```
P W |0⟩|ψ⟩ = |0⟩ Ũ|ψ⟩/s
```

Here `P` is the orthogonal projector onto joint states whose ancilla is `|0⟩`, with the system unrestricted. `W` is the preparation, selection, and reversal circuit. The component it leaves in the projected subspace contains the desired polynomial action, scaled by `s`. Other components can be present with auxiliary states orthogonal to `|0⟩`. The full operation is unitary even though its projected part can implement a scaled nonunitary operator.

This is the point at which the polynomial acquires an operational meaning. The projected component gives a way to identify the weighted sum inside a larger circuit. Taking that component alone would amount to retaining a particular measurement outcome and would leave an outcome probability to account for. The paper instead builds a coherent amplification step and uses it in each segment before discarding the ancilla.

#### Set the normalization through the segment length

The sum of the Hamiltonian coefficients and the total duration determine a combined scale for the construction.

```
T = (α₁ + ⋯ + αL)t
```

Here `T` is the coefficient-weighted duration, `α₁` through `αL` are the positive coefficients of the chosen decomposition, and `t` is the duration. The parameter depends on how the Hamiltonian is presented. In particular, it is based on the sum of weights in that presentation. The authors use it to choose the segment length and to state the circuit costs for the general decomposition.

For a full segment they aim for `T/r` equal to `ln(2)`, where `ln` is the natural logarithm. To see what this achieves, consider all ordered products in the Taylor expansion before truncation. At a particular order, summing the coefficient products over all labels gives the corresponding power of the sum of the Hamiltonian coefficients. Including the time and factorial factors gives the scalar exponential series evaluated at `T/r`. Its sum is `2` at the chosen segment scale.

The same reasoning gives the normalization of the retained terms.

```
s = ∑ₖ₌₀ᴷ ln(2)ᵏ/k!
```

Here `s` is the truncated coefficient sum for a full segment and `k` ranges through the retained orders up to `K`. Each term is positive, so the truncated coefficient sum approaches the full value as the cutoff increases. The scalar tail bounds both the amount removed from this sum and the error in the operator approximation. For the latter bound, the omitted terms are weighted unitaries, each with operator norm equal to unity.

The paper chooses the cutoff to meet the tail bound

```
∑ₖ₌ᴷ⁺¹∞ ln(2)ᵏ/k! ≤ ǫ/r
```

Here the sum begins at the first discarded order and continues over the entire remainder of the series. `ǫ/r` is the target scale for the segment error. The inequality controls how far `s` is from `2` and how far `Ũ` is from `Uᵣ` for a full segment. These are separate requirements for the amplification argument, and this choice of weights lets the same cutoff meet both.

In terms of the coefficient-weighted duration, the sufficient order is written as

```
K = O(log(T/ǫ)/log log(T/ǫ))
```

Here `T` is the duration scale defined by the coefficients and `ǫ` is the overall error tolerance. The paper uses the growth bound with a segment count that scales with `T`. The distinction between the two parameters is practical. `T` sets how many short steps the evolution requires, while `T/ǫ` determines how far the series must be taken to make the individual steps accurate enough.

When the requested time leaves a remainder after full segments, the authors take the ceiling of `T/ln(2)` for the segment count. The final segment is shorter. Its coefficient sum is then below `2`, and the paper points to an additional auxiliary qubit to compensate for this change, using a construction from the earlier work. The homogeneous sequence of full segments makes the central calculation transparent. The remainder treatment lets the total evolution reach the requested duration without requiring an exact multiple of the full segment length.

#### Amplify an approximation that is almost unitary

The original exact amplification argument applies when the normalized block of `W` contains an exactly unitary target scaled by the desired amount. The reflection used in that argument is

```
R = I − 2P
```

Here `R` acts on the joint space, `I` is the identity on that space, and `P` projects onto the ancilla’s initial-state subspace. The reflection reverses the sign of the component in that subspace and leaves its orthogonal complement unchanged. Its condition concerns the ancilla, which is why it can be applied without knowing the system input state.

The composite unitary is

```
A = −W R W† R W
```

Here `A` is the amplified segment circuit, `W†` is the inverse of `W`, and each `R` is the same reflection. The overall sign is part of the authors’ definition. The exact ideal case has `s` equal to `2` and a unitary `Ũ`. Under those conditions, the action of `A` on an input with ancilla `|0⟩` leaves the ancilla in that state and applies `Ũ` to the system.

The construction for Hamiltonian simulation needs the behavior of `A` away from that ideal case. Expanding both reflections and using the unitarity of `W` gives

```
P A |0⟩|ψ⟩ = (3PW − 4PWPW†PW)|0⟩|ψ⟩
```

Here `P` selects the output component with the ancilla in `|0⟩`, and the products on the right use repeated projections and applications of `W` and `W†`. The factors `3` and `4` arise from expanding the reflections. The expression also uses the fact that the input is already in the range of `P`. This identity reduces the effect of amplification to a linear contribution and a contribution that revisits the selected block.

Substituting the action of the selected block gives the system operator explicitly.

```
P A |0⟩|ψ⟩ = |0⟩ (3Ũ/s − 4ŨŨ†Ũ/s³)|ψ⟩
```

Here `Ũ†` is the adjoint of the approximating polynomial, `s` is the coefficient sum, and `s³` is its cube. The cubic product comes from successive appearances of the selected blocks of `W`, its inverse, and `W` again. For an exactly unitary `Ũ`, the product `ŨŨ†Ũ` reduces to `Ũ`. With the ideal normalization, the whole expression then recovers the intended unitary action.

For the approximation, the expression shows what has to be small. The coefficient sum must be near `2`, and `Ũ` must be near the desired segment unitary. If the operator error is of order `δ`, where `δ` is a small error scale, then the departure of `ŨŨ†` from the identity is also of order `δ`. The scalar coefficients are stable as `s` varies close to `2`. Together these facts control the change in the amplified component.

The authors obtain the segment estimate

```
‖PA |0⟩|ψ⟩ − |0⟩Uᵣ|ψ⟩‖ = O(δ)
```

Here the double bars measure the norm of the difference between the projected joint output and the ideal joint state. `Uᵣ` is exact segment evolution. The estimate applies when the operator approximation and the normalization mismatch are both of order `δ`. The bound refers to the projected output before any normalization by an outcome probability.

The output used by the simulator is the system state after discarding the ancilla. Taking the partial trace is the mathematical operation that describes this discard. It removes cross terms between the distinguished auxiliary state and its orthogonal complement. The weight in the complementary part is controlled by how close the projected part is to a unit vector. Thus the system error can be bounded at order `δ` even though the projected formula describes only part of the joint output. No outcome has to be selected for the simulation to proceed.

The circuit initializes a fresh ancilla for each segment, applies `A`, and discards the ancilla. The state of the system is carried into the following segment. Bounding the error of the composition by the sum of the segment errors gives

```
overall error = O(rδ)
```

Here `r` counts the segments and `δ` controls the segment approximation. Taking `δ` on the scale of `ǫ/r`, with suitable constants, gives the desired overall tolerance. This is where the Taylor tail, the normalization bound, and the amplification calculation enter the same guarantee.

#### Realize state preparation and selection as gates

The abstract index for a term consists of the order and the ordered component list. The circuit represents the order in unary. A register of `K` qubits begins with a run of ones of length `k` and ends in zeros. Each position in the register says whether the component slot at that position is active. The circuit also allocates `K` registers for component labels. When a term has order smaller than the cutoff, labels after its last active slot are ignored by the selector.

This layout makes preparation feasible because the coefficient weight separates into a contribution from the order and a product of independent component weights. Summing over the component choices at a fixed order gives its total weight. Conditional on the order, each active slot can use the same normalized coefficient distribution. Extra label registers for inactive slots can be prepared in the same way because the selected operation does not depend on their values. The auxiliary space then supplies a realization of the weighted sum through its encoded labels, including these unused slots.

For the order register, successive controlled rotations prepare the desired amplitudes. A rotation on the first qubit starts the distribution, and later rotations continue the run of ones under the control of the preceding position. The paper bounds this part of the preparation by `O(K)` elementary gates. Each component register needs a state whose amplitudes are proportional to the square roots of the `α` coefficients. The authors give a cost of `O(L)` for preparing this state in the general case.

The controlled selection applies a component at a slot only if that slot’s unary flag is set. The slot’s label specifies the component. The phase for a Taylor term can be attached to these controlled operations, with the operation for an active slot including the factor `−i`. Applying the slots in the order required by the matrix product gives the desired `Vⱼ`. The circuit can use the same selection mechanism at each slot, with the relevant flag and label supplied as controls.

For Pauli products, a controlled component choice can be implemented by checking the label and then applying the corresponding controlled tensor product. The paper describes a generalized Toffoli gate for setting a control from the label and the active flag. The controlled Pauli action then works on the system qubits. The gate estimate uses an upper bound in terms of the full system width, so it also applies to high-weight products.

Each amplified segment uses forward and inverse selection along with state preparation and its inverse. The controlled products in the Taylor polynomial therefore become calls to concrete gate sequences. The abstract proof specifies the operation those sequences must implement, while the circuit analysis determines the costs of expressing it under the given input access.

There is no fitting or training stage. The weights in the circuit follow from the Hamiltonian coefficients, the segment duration, and the factorial denominators. The error tolerance determines how many orders are kept. When the Hamiltonian is given through a sparse oracle, the decomposition and its implementation have their own input-dependent costs. The underlying preparation and amplification still use the same mathematical roles for the weights and the selector.

#### Extend the construction to a varying Hamiltonian

When the Hamiltonian changes during evolution, a segment is no longer described by the exponential of a fixed matrix. The paper starts from the time-ordered exponential.

```
U(t) = 𝒯 exp{−i ∫₀ᵗ H(t′) dt′}
```

Here `U(t)` is the evolution from the initial time to `t`, and `H(t′)` is the Hamiltonian at the integration time `t′`. The differential `dt′` indicates integration over time. The symbol `𝒯` orders operator factors according to their times when the exponential is expanded. It is distinct from the scalar duration parameter `T` used for the coefficient-weighted time in the fixed-Hamiltonian case.

Time ordering preserves the chronology of the operations even if Hamiltonians at different times fail to commute. In the Taylor construction for a fixed Hamiltonian, the component list is already sufficient to specify the product. For the varying Hamiltonian, the expansion has to carry time arguments as well. The authors divide the evolution into segments as before and describe the procedure for the first segment, with the others using their corresponding time intervals.

They approximate the integrals by discrete sums. For the first segment the time grid is

```
tⱼ = (j/M)t/r
```

Here `M` is the number of subdivisions used in the discretization, `j` is a grid index starting at zero, and `tⱼ` is the associated time within the segment. The symbols `t` and `r` retain their meanings as total duration and number of segments. A product term may carry a different grid index for each of its factors.

With the orders truncated and the time grid in place, the approximation is

```
Ũ = ∑ₖ₌₀ᴷ [(−it/r)ᵏ/(Mᵏk!)] ∑ⱼ₁,…,ⱼₖ₌₀ᴹ⁻¹ 𝒯 H(tⱼₖ)⋯H(tⱼ₁)
```

Here `k` is the retained order, `K` is the cutoff, and the inner sum ranges over ordered lists of grid indices `j₁,…,jₖ`. Each index runs from zero through `M−1`. The factors `H(tⱼₐ)` are Hamiltonians evaluated at the corresponding grid times. The time-ordering operation `𝒯` arranges the factors, and the denominator includes the discretization factor `Mᵏ` along with the factorial. This is a finite sum that can be expanded further by expressing each sampled Hamiltonian in unitary components.

The circuit now needs registers for both kinds of label. It stores the order, allocates `K` slots for component labels, and assigns each slot an additional time register of size `log(M)`. The paper requires `M` to be large enough that time discretization fits the total error budget. It describes the required grid size as polynomial in the inverse error tolerance and the derivative bound

```
h′ = maxₜ ‖dH(t)/dt‖
```

Here `h′` measures the largest norm of the Hamiltonian’s time derivative over the evolution interval. The authors state that the dependence on `M` in the circuit complexity is logarithmic. This keeps the time-register contribution logarithmic in the precision and derivative parameters described in the paper, even when the time grid itself is large.

Once the finite sum is close enough to the exact segment evolution, the robust amplification argument can be used again. Each segment must represent the Hamiltonian values for its own interval. The time-independent version can reuse an identical full segment circuit, while the varying case supplies the corresponding time data as evolution proceeds. The paper presents the resulting state guarantee by combining the per-segment approximations over the full duration.

### Experiments and results

#### What the paper measures

The results are analytic error and complexity bounds. The paper gives no benchmark dataset, train or test split, measured hardware runtime, or empirical accuracy curve. Its inputs are classes of Hamiltonian descriptions. The comparisons concern how many segments, auxiliary qubits, oracle calls, or elementary gates the algorithms require for a selected error tolerance. The baseline for the main precision comparison is the authors’ earlier sparse simulation algorithm.

A resource bound answers a conditional question. Given a Hamiltonian in the stated representation, accessible component operations, and a requested duration and error, how does the required amount of circuit work grow? The paper’s comparison is asymptotic, so the formulas suppress constant factors. Within the new circuit, the definitions do also give exact subroutine counts for the elementary sequence that amplifies one segment.

Forward selection calls in the Taylor circuit before and after segment amplification The amplified segment makes more forward selections than the preparation and selection circuit alone.

**The numbers**

| System or setting | forward select(V) calls |
| --- | --- |
| Preparation, selection, and reversal W | 1 |
| Amplified segment circuit A (this paper) | 2 |

The comparison is per circuit application. `W` has the single forward selector in its definition. `A` uses two copies of `W` and one of `W†`, so the chart counts the forward instances and leaves out the inverse instance. The amplified circuit also uses three state preparations and three inverse preparations. The extra operations are the cost of recovering the segment evolution coherently. A single application of `W` gives the scaled auxiliary component, and `A` provides the output used in the simulation after the ancilla is discarded.

#### Error guarantee and resource accounting

The central result is that the sequence of segments can achieve overall error `ǫ` with a Taylor order bounded by `O(log(T/ǫ)/log log(T/ǫ))`. The metric is the discrepancy between simulated and ideal evolution, established by bounding the state error after discarding the ancilla at each segment. The number of segments scales as `O(T)` in the authors’ accounting. The Taylor order bounds the number of component selections per use of the selector, and the additional amplification operations occur a fixed number of times per segment.

The paper reports the following size for the auxiliary registers of the time-independent construction.

```
auxiliary qubits = O(log(L) log(T/ǫ)/log log(T/ǫ))
```

Here `L` is the number of components in the supplied decomposition, `T` is the coefficient-weighted duration, and `ǫ` is the target error for the full evolution. The expression accounts for the component registers and the unary order register. The system qubits are separate from this workspace. The count applies to the working space for a segment, since the ancillary state is initialized and discarded around each application.

For general coefficients, the bound for preparing the segment’s auxiliary state is

```
gates for B = O(L log(T/ǫ)/log log(T/ǫ))
```

The circuit `B` prepares the order and the component labels. The measure here is the number of elementary gates in that preparation, and `L`, `T`, and `ǫ` are the same input parameters. The factor in `L` comes from the generic preparation of the coefficient state for a component register. The paper later uses equal coefficients to obtain a different preparation cost in its sparse oracle case.

#### Pauli products and sparse oracle access

For a Hamiltonian given as a sum of Pauli products, the paper gives this bound for the selector.

```
gates for select(V) = O(L(n + log L) log(T/ǫ)/log log(T/ǫ))
```

Here `n` is the number of system qubits. The factor `n + log L` accounts for the controlled Pauli action and the test of a component label. The factor `L` reflects the implementation that goes through the candidate component operations to realize a controlled selection. The remaining factor bounds the number of active-slot selections the Taylor circuit has to support. The paper obtains the gate bound for the total duration by multiplying the selector bound by the segment count, with the fixed repetition of the segment subroutines absorbed into the asymptotic expression.

The sparse oracle case uses a different representation of the Hamiltonian. The earlier result quoted in the paper uses the duration parameter

```
τ = d² ‖H‖ₘₐₓ t
```

Here `d` is the sparsity parameter, `‖H‖ₘₐₓ` is the largest absolute matrix entry of `H`, `t` is the duration, and `τ` is the input scale for that query analysis. The earlier algorithm’s query bound is

```
queries to H = O(τ log(τ/ǫ)/log log(τ/ǫ))
```

The metric here is the number of oracle queries for simulating the sparse Hamiltonian within error `ǫ`. The paper reports the earlier algorithm’s additional two-qubit gate count as

```
additional two-qubit gates = O(nτ log²(τ/ǫ)/log log(τ/ǫ))
```

Here `n` is the system width and `log²` denotes the square of the logarithm. These are the baseline’s asymptotic bounds under sparse access, with different resource measures for oracle use and extra gates.

For the new construction under sparse oracle access, the paper gives a per-segment gate bound of

```
gates per sparse segment = O(n log²(T/ǫ)/log log(T/ǫ))
```

Here `T` is the duration scale of the unitary decomposition used for the oracle construction. In this case the authors bound it by `O(d² ‖H‖ₘₐₓ t)`, using the same sparsity and entry-size quantities as in `τ`. The paper describes the resulting scaling as matching the earlier approach. Its comparison concerns asymptotic resource requirements, with the per-segment formula tied to the new circuit and the earlier full-evolution formulas stated in terms of `τ`.

The sparse construction approximates the input Hamiltonian by a sum of unitaries with a common weight `γ`. The Hamiltonian approximation error is `O(γ)`, and the paper chooses `γ` on the scale `Θ(ǫ/t)` to control its effect on the evolution. The `Θ` notation specifies the scale up to constant factors in both directions. The number of terms in this construction satisfies `L = O(T/ǫ)`. Equal weights make the component labels cheaper to prepare, and the oracle permits a selected operation to be implemented without the explicit traversal of all `L` possible labels used in the Pauli circuit.

These results exhibit the link between the error proof and the gate counts. The Taylor tail fixes the number of slots required for a segment. The access representation fixes the work needed to prepare or act on each slot. The number of segments sets how frequently the resulting circuit is used. Consequently the improved dependence on accuracy and the resource cost of accessing the Hamiltonian are both visible in the bounds.

### What the ablations show

The paper has no empirical ablations. Its closest comparisons are the exact and perturbed amplification formulas, the segment-error bound compared with the earlier proof, and the circuit accounting under different representations of the Hamiltonian.

#### Exact amplification and perturbations

The amplification formula makes it possible to consider deviations in either of its two inputs. In the exact case, the coefficient sum has the intended value and the selected operator is unitary. The projected output then agrees with the full target action. With a finite Taylor cutoff, there is some missing coefficient weight and some operator error. The formula displays where each enters. The normalization affects both scalar factors, while the failure of exact unitarity affects the reduction of the cubic operator product.

Their combination shows why it is sufficient to control the Taylor tail. One tail estimate puts the normalization and the operator approximation on the same error scale. That control is then strong enough for amplification and for tracing out the auxiliary register. This is a proof of local stability around the exact procedure. It does not rely on observing favorable behavior for particular Hamiltonians or input states.

The authors contrast their resulting `O(δ)` segment error with the `O(√δ)` error in their earlier amplification analysis. Here `δ` represents the small approximation scale used in the respective error discussion. The new estimate is linear in that scale. The paper also explains why this change does not alter the overall asymptotic precision cost. The cost of making the underlying approximation small already varies logarithmically with the inverse error. The sharper bound concerns how approximation error passes through the amplification argument, while the leading precision dependence comes from the Taylor truncation.

#### Where the two circuit costs come from

The gate derivations for explicit Pauli products and sparse oracle access hold the principal Taylor and amplification mechanism fixed. They change how the constituent operations are found and applied. Each case still has an order register, component slots, preparation, controlled products, and their reversals. Those recurring parts make it possible to identify which costs arise from the series and which arise from the representation.

For the explicit Pauli case, the gate expression retains a factor for the list of possible component labels. The circuit tests these labels and applies each conditional action in the selection construction. In the sparse oracle case, the equal-weight decomposition changes preparation, and the oracle changes how a specified operation is carried out. These substitutions remove the need for the same explicit sequence over the full component list. The comparison therefore illustrates why the abstract existence of a unitary decomposition is only part of an efficiency argument.

The two cases do not form a timing comparison on a shared collection of Hamiltonians. They establish bounds under their respective assumptions. In particular, an explicit list of Pauli products and an oracle for sparse entries are distinct ways of supplying the input. The resource analysis shows how to account for each, with the error analysis carried over through their shared implementation of the weighted sum.

The paper also gives a mathematical comparison between retaining the full Taylor series and stopping at the chosen order. The coefficient sum of the full series would supply the desired normalization at the chosen segment length. The omitted terms control the shortfall in that normalization and bound the discrepancy from the exact segment evolution. That relation explains the use of a single cutoff for both parts of the proof. An empirical sweep over cutoffs would answer a different question about the behavior of specific inputs, which the paper leaves open.

### Limitations

#### Limits the authors identify

The authors focus their detailed presentation on time-independent Hamiltonians. Their outline for time-dependent evolution adds time ordering and a discretized grid, and states how the required grid size depends on precision and on a bound for the rate of change of the Hamiltonian. The explicit Pauli and sparse gate formulas are worked out in the time-independent circuit discussion. The time-dependent outline gives the structure of an extension and the precision argument, with additional time registers and access to the Hamiltonian at sampled times.

The amplification proof depends on an operator close to the desired unitary, with the coefficient sum close to `2`. The paper arranges these conditions using short segments and a Taylor tail bound. For a final segment of a shorter length, it points to an auxiliary-qubit adjustment from the earlier method. The stated robustness result concerns small deviations from the selected normalization and the unitary target. It is not a general procedure for implementing a weighted sum that is arbitrarily far from a unitary.

The gate discussion is conditional on being able to implement the decomposition’s components. The paper describes particular ways to do this for Pauli products and sparse oracle inputs. The sparse construction, in turn, adds an approximation of the input Hamiltonian itself. Its error must be budgeted in addition to the error from simulating a short segment. Choosing the common weight at the scale described in the paper is what makes that additional approximation compatible with the requested precision.

The paper states optimality for the query dependence in the sparse setting of the earlier work, and shows that the new approach achieves the same asymptotic complexity there. That comparison leaves the other resource measures to their separate bounds. In particular, the Pauli-product gate count depends explicitly on the number of terms and system width, alongside the coefficient-weighted duration and the chosen precision.

#### Limits visible in the setup

The resource bounds are sufficient upper bounds. They describe what the circuit can achieve across the stated inputs and do not determine the smallest cutoff, shortest circuit, or best term decomposition for a particular Hamiltonian. The tail bound uses the norms of omitted terms and their positive weights. It can therefore ignore cancellations that would allow a smaller approximation error for some instances. The analysis gives a reliable way to choose a cutoff from the supplied parameters without requiring instance-specific cancellation.

Similarly, the coefficient-weighted duration belongs to the chosen decomposition. A compact representation with inexpensive selectable terms gives different accounting from a representation whose terms are costly to implement or whose summed weights are large. The paper offers examples of useful input structures and gives the costs those structures support. It supplies no general method for finding a decomposition that jointly minimizes coefficient weight and circuit cost.

The use of fresh auxiliaries describes how segment error is accounted for when the ideal circuit is executed. The error tolerance covers the mathematical approximation to the target evolution, including the effects of finite truncation and, where applicable, the approximation of the Hamiltonian or its time dependence. The paper supplies no hardware measurements, gate-noise study, or empirical validation of the predicted resource scaling. The gate count describes circuit size under the paper’s gate and oracle assumptions.

Finally, the state guarantee concerns the evolution of the supplied quantum input. The discussion of spins, fermions, and chemistry identifies settings in which this operation can be useful. The derivations do not establish an end-to-end resource estimate for any named physical instance, from preparing its initial state through reading out a desired physical quantity. The simulation circuit supplies the evolution step and its error guarantee. Further costs depend on the application that calls it.

### What came after

A later citation appears in the 2023 survey by Dalzell and colleagues. Its stated scope is quantum algorithms, their applications, and the complexity of carrying out a full computation. Berry and colleagues’ contribution concerns one operation within that wider scope, with bounds for approximate evolution that depend on the input representation, the duration, and the error tolerance. The citation connects the simulation result to a broader treatment of quantum algorithm costs. [Quantum algorithms: A survey of applications and end-to-end complexities](https://md.research.elamur.ai/free/en/papers/dalzell-2023-quantum-algorithms-survey-applications-end/)

The citation establishes a survey connection. It does not establish that the survey proposes a new Taylor-series simulation circuit, revises the amplification proof, or reports a new implementation of the method.

## Cite

Cite as Dominic W. Berry, Andrew M. Childs, Richard Cleve, Robin Kothari and Rolando D. Somma. 2015. Simulating Hamiltonian Dynamics with a Truncated Taylor Series. Physical Review Letters.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1103/physrevlett.114.090502](https://doi.org/10.1103/physrevlett.114.090502) · [arXiv 1412.4687](https://arxiv.org/abs/1412.4687)

```bibtex
@article{berry2015simulating,
  title = {{Simulating Hamiltonian Dynamics with a Truncated Taylor Series}},
  author = {Dominic W. Berry, Andrew M. Childs, Richard Cleve, Robin Kothari and Rolando D. Somma},
  journal = {Physical Review Letters},
  year = {2015},
  doi = {10.1103/physrevlett.114.090502},
  eprint = {1412.4687},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1103/physrevlett.114.090502}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
