Level 5 · Advanced Topics
Quantum Simulation Deep Dive
About 4,763 words · roughly 22 minute read · sources checked December 2, 2026
Simulating quantum systems was the original reason to build a quantum computer. Richard Feynman’s observation was that nature is quantum, classical computers struggle to follow it, and a machine that is itself quantum might do the job naturally. Four decades later, this is still the application with the clearest physical argument, and also the one where claims most need careful reading.
This lesson explains how simulation works. We start with why classical simulation is hard, state what Lloyd proved in 1996, and then build the main tool, the Trotter product formula, with an error analysis that we verify by computing it. We turn it into a circuit for a spin chain, follow the path from chemistry to qubits and to the accuracy target of chemistry, and finish with an honest look at what costs and what evidence exist.
You should know the Level 3 lessons on algorithms (phase estimation in particular) and the Level 2 lesson on gates. The complexity lesson in this level explains why simulation is the most natural BQP-complete problem.
What you will learn
- Why simulating n quantum particles costs about 2ⁿ classically, with numbers.
- What Lloyd’s theorem says: efficient simulation of local Hamiltonians.
- The Trotter formula, first and second order, and how its error scales (computed, not assumed).
- How to turn a spin-chain Hamiltonian into a circuit and count its gates.
- How chemistry maps to qubits and what chemical accuracy demands.
- Why measuring an answer costs shots, and how many.
- Analog versus digital simulation, and the status of the advantage claims.
Helpful first: Quantum Algorithms, Quantum Gates, Quantum Complexity Theory.
Why classical simulation is hard
The state of n qubits is described by 2ⁿ complex amplitudes. The same is true for n spins, n electrons in orbitals, or any n quantum two-level systems. A classical simulator that stores the full state therefore needs memory that doubles with each extra particle.
Worked example
The memory wall
- Take 16 bytes per complex amplitude. 30 spins need 2³⁰ × 16 bytes ≈ 17 gigabytes, which fits on a large workstation.
- 50 spins need 2⁵⁰ × 16 bytes ≈ 1.8 × 10¹⁶ bytes, or 18 petabytes. That is the memory of a very large supercomputer, for one state of 50 spins.
- 300 spins need 2³⁰⁰ amplitudes, about 2 × 10⁹⁰, which exceeds the roughly 10⁸⁰ atoms in the observable universe (a commonly quoted estimate).
- Each extra spin doubles everything. This is the exponential wall, and it is why a molecule with a few hundred electrons cannot be simulated exactly by brute force on any conceivable classical machine.
Classical physicists do not give up. They use approximations that exploit structure: mean-field methods, density functional theory, tensor networks such as DMRG for one-dimensional systems, and quantum Monte Carlo. These work very well for many problems, which is why the question of when a quantum computer would beat them is a real one and not a foregone conclusion. They struggle for strongly correlated systems, for certain real-time dynamics, and in the high-accuracy regime. I give this as the standard picture and did not open a specific survey for it.
Lloyd’s theorem: what a quantum computer can simulate
Feynman conjectured in 1982 that a quantum computer could simulate quantum physics efficiently. Seth Lloyd proved a precise version in 1996. I opened the paper. Its abstract states that Feynman’s conjecture is correct: quantum computers can be programmed to simulate any local quantum system.
- The systems covered are closed systems with local Hamiltonians, where each term acts on only a few variables. Examples named in the paper include spin lattices, Hubbard models and lattice gauge theories.
- Open systems are also covered when the environment has finite correlation lengths, a technical condition.
- The cost, as the paper puts it, is a number of steps proportional to N for a local system of N variables, where a classical computer needs a number of steps exponential in N. The simulation time is proportional to the simulated evolution time.
‘Local’ is the key word. A Hamiltonian is local if it is a sum of terms, each acting on a few particles, such as a coupling between neighbouring spins. Nature’s Hamiltonians are overwhelmingly of this kind, because the fundamental forces are local or involve pairs of particles. The theorem therefore covers most of physics and chemistry.
What the theorem does not say
It says a quantum computer can follow the dynamics efficiently. It does not say that finding the lowest-energy state of a system is easy. That is a harder task, as the complexity lesson explained: the local Hamiltonian problem is QMA-complete in the worst case. Efficient dynamics and easy ground states are different claims.
The Hamiltonian simulation problem
Quantum states evolve under the Schrödinger equation, which for a time-independent Hamiltonian H gives |ψ(t)⟩ = e^(−iHt)|ψ(0)⟩. The operator e^(−iHt) is unitary. The Hamiltonian simulation problem is: given H and a time t, build a circuit that approximates e^(−iHt) to a chosen accuracy.
The difficulty is that H is a sum of many terms that do not commute with each other. If H = A + B where A and B commute, then e^(−i(A+B)t) = e^(−iAt) e^(−iBt) exactly, and each factor is easy. When they do not commute, this is false, and the failure is what gives the problem its content.
The Trotter formula
Divide the time t into n small steps of length t/n. In each step, apply the pieces one after another instead of all at once:
e^(−i(A+B)t) ≈ ( e^(−iAt/n) · e^(−iBt/n) )ⁿ
This is the idea in Lloyd’s paper, described there in words: evolve in small time slices, in each slice applying the local terms in turn. The more slices, the smaller the error. For many terms H = Σⱼ Hⱼ, each slice applies each exponential e^(−iHⱼt/n) in sequence.
A standard bound for the first-order formula, which I give from the literature without reopening it, says the error is at most about (t²/2n) times the size of the commutator ‖[A, B]‖. The error depends on how much the terms fail to commute. If the commutator is zero, the formula is exact for any n. This commutator dependence is what the Childs, Su, Tran, Wiebe and Zhu paper (arXiv 1912.08854), whose abstract I opened, makes systematic: it develops bounds that directly exploit the commutativity of the terms and applies them to electronic structure, k-local and power-law systems, the transverse-field Ising model and quantum ferromagnets.
A better formula: second order
The symmetric version applies half a step of A, a full step of B, then half a step of A again:
e^(−i(A+B)t) ≈ ( e^(−iAt/2n) · e^(−iBt/n) · e^(−iAt/2n) )ⁿ
Higher-order formulas exist, with error falling faster still, at the price of more exponentials per step.
Why the error depends on the commutator
The claim that Trotter error is controlled by how much the terms fail to commute can be seen with a short calculation. For small operators, the product of two exponentials expands as
e^(−iAδ) e^(−iBδ) = e^(−i(A + B)δ − (δ²/2)[A, B] + higher order)
The first term in the exponent is the correct evolution. The first error term is proportional to δ² and to the commutator. If [A, B] = 0 it vanishes and the product is exact, as claimed earlier.
Worked example
Checking the leading error numerically
- Take the single-qubit case A = X and B = Z. Then [X, Z] = −2iY, whose norm is 2, so the predicted leading error for a step of size δ is (δ²/2) × 2 = δ².
- I computed the actual error ‖e^(−i(X+Z)δ) − e^(−iXδ)e^(−iZδ)‖. For δ = 0.2 it is 0.0396 (predicted 0.0400). For δ = 0.1 it is 0.00998 (predicted 0.0100). For δ = 0.05 it is 0.00250 (predicted 0.00250).
- The error quarters each time δ halves, and matches δ² almost exactly, confirming the commutator formula.
- Now accumulate over n steps with δ = t/n. The total error is about n × δ² × (‖[A, B]‖/2) = (t²/n) × ‖[A, B]‖/2 = t²‖[A, B]‖/(2n). This is the bound quoted earlier, and the 1/n scaling seen in the table.
This explains two practical facts. Terms that commute cost nothing in Trotter error, so ordering terms into commuting groups reduces the cost. And the error grows with t², which is why long simulations need many more steps than short ones, even at fixed accuracy.
Measuring the Trotter error
Theory gives bounds. Let us see the real error on a small example, computed by building the exact evolution operator and the product formulas as matrices. Take two qubits and H = A + B with A = Z⊗I + I⊗Z and B = X⊗X, evolved for time t = 1. These two terms do not commute: the norm of their commutator is 4.
| Steps n | First-order error | Second-order error |
|---|---|---|
| 1 | 1.13 | 0.662 |
| 2 | 0.403 | 0.123 |
| 4 | 0.182 | 0.0279 |
| 8 | 0.0887 | 0.00683 |
| 16 | 0.0441 | 0.00170 |
| 32 | 0.0220 | 0.000424 |
| 64 | 0.0110 | 0.000106 |
Operator-norm distance between the exact evolution and the product formula, computed numerically.
Read the table for the scaling. In the first-order column each doubling of n cuts the error by about a factor of 2, so the error is about 0.70/n. In the second-order column each doubling cuts it by about 4, so the error is about 0.43/n². The standard bound at t = 1 gives t²‖[A, B]‖/(2n) = 2/n, which is above the true error (0.70/n), as a bound should be, and about three times too large.
Worked example
Steps needed for a target accuracy
- I searched for the smallest n that brings the error below the target, for each formula, on this example.
- Target 10⁻²: first order needs 71 steps, second order needs 7.
- Target 10⁻³: first order needs 704 steps, second order needs 21.
- Target 10⁻⁴: first order needs 7,037 steps, second order needs 66.
- Each decade of accuracy costs a factor of 10 in steps for the first-order formula, and a factor of √10 ≈ 3.2 for the second-order formula. At 10⁻⁴ the second-order formula uses about a hundred times fewer steps. Each second-order step has three exponentials instead of two, so the saving in exponentials is a factor of about 70, which is still large.
- This is the reason serious simulation algorithms use higher-order formulas, and why newer methods (such as qubitization and linear combinations of unitaries, which I mention but do not cover here) aim for a cost that grows only logarithmically in 1/error.
From Hamiltonian to circuit: an Ising chain
The transverse-field Ising model on a chain of N spins has the Hamiltonian H = −J Σ Zᵢ Zᵢ₊₁ − h Σ Xᵢ. It has two kinds of terms: nearest-neighbour ZZ couplings and single-spin X fields. The ZZ terms commute with each other, as do the X terms, but the ZZ and X groups do not commute. A Trotter step therefore applies all the ZZ rotations, then all the X rotations.
- The X-field part, e^(i h t Xᵢ / n), is a single-qubit X rotation on each qubit.
- The coupling part, e^(i J t ZᵢZᵢ₊₁ / n), is an entangling operation. It can be made from two CNOT gates with a Z rotation on the target in between. I verified numerically that CNOT · (I ⊗ Rz(θ)) · CNOT equals the exponential of ZZ.
Worked example
Gate count for a 50-spin chain
- N = 50 spins. One Trotter step uses 49 ZZ rotations, each with 2 CNOTs and 1 Rz, plus 50 X rotations.
- CNOT count per step: 2 × 49 = 98. Single-qubit rotations per step: 49 + 50 = 99.
- Suppose we need 1,000 steps to reach the target accuracy. That is 98,000 CNOTs and about 99,000 single-qubit rotations.
- At a two-qubit fidelity of 99.843% (the best figure in the hardware lesson, for a different machine) the chance of no error in 98,000 CNOTs is 0.99843^98,000 ≈ 10⁻⁶⁷. Even one step, with 98 CNOTs, succeeds only 86% of the time.
- Conclusion: a faithful 50-spin simulation of 1,000 steps cannot run on noisy hardware without error correction. This is the arithmetic behind the statement that useful simulation is a fault-tolerant application. Short, shallow simulations of a few steps can be attempted without correction, and their results must be checked against error.
Nearest-neighbour structure matters. On a chip with a grid or chain of qubits, the circuit above maps directly with no SWAP overhead. For molecules, where interactions are long-range, this is not the case, and routing adds more gates.
Gate count versus depth: why the cost is proportional to N
Two numbers describe a circuit. The gate count is the total number of operations. The depth is the number of layers when gates that touch different qubits run at the same time. Run time is set by the depth, and error accumulates with the gate count.
Worked example
The depth of one Trotter step is independent of N
- Split the ZZ couplings into two groups: even bonds (1–2, 3–4, …) and odd bonds (2–3, 4–5, …). Within a group no two bonds share a qubit, so all of them can run in parallel.
- One group of ZZ rotations takes three layers: a layer of CNOTs, a layer of Rz rotations, and a layer of CNOTs. Two groups take 6 layers. The X rotations on all qubits take 1 layer. A full step is therefore 7 layers, for any N.
- For N = 50 and 1,000 steps the depth is 7 × 1,000 = 7,000 layers, though the gate count is nearly 200,000. If a layer takes 1 µs, the run takes about 7 ms.
- The gate count grows in proportion to N, matching Lloyd’s statement that the number of steps is proportional to N, while the depth does not grow with N at all for this nearest-neighbour model.
- This is why large local systems are good targets: more spins add more parallel gates, not more layers.
Chemistry: from molecules to qubits
The most discussed application is computing the energies of molecules. The setting is the electronic structure problem: given fixed nuclei, find the lowest energy of the electrons. The Hamiltonian describes electrons moving in orbitals, with terms for each electron hopping between orbitals and for each pair of electrons repelling each other.
- Choose a set of orbitals (a basis). Each spatial orbital gives two spin orbitals, one for each electron spin.
- Map the fermionic operators to qubit operators. A standard map, Jordan–Wigner, uses one qubit per spin orbital, with the qubit’s value saying whether that orbital is occupied. This mapping is standard and I did not reopen a source for it.
- The Hamiltonian becomes a sum of Pauli strings with coefficients computed classically. The number of terms grows with the number of orbitals roughly as the fourth power, as pair interactions involve four orbital indices.
- Simulate and estimate the energy, either with phase estimation or with variational methods.
The smallest example is molecular hydrogen, H₂. In a minimal basis it has four spin orbitals, hence four qubits before symmetry reductions that can bring it down to one or two. This is the molecule behind the first quantum-chemistry experiments, such as the photonic one by Peruzzo and collaborators mentioned in the algorithms lesson, and I give the orbital count from standard knowledge.
Chemical accuracy and what phase estimation costs
Chemists need energies to about 1.6 millihartree (about 1 kcal/mol), called chemical accuracy, because that is the scale at which reaction rates and binding energies change. The hartree is the atomic unit of energy.
Worked example
How long must the simulation run?
- Phase estimation resolves an energy difference ΔE by evolving for a total time of about T = 2π/ΔE (the Heisenberg limit; each extra bit of precision doubles T).
- For ΔE = 1.6 × 10⁻³ hartree: T = 2π / 0.0016 ≈ 3,927 atomic units of time.
- One atomic unit of time is about 2.4 × 10⁻¹⁷ seconds (standard value, not reopened). So T ≈ 3,927 × 2.4 × 10⁻¹⁷ s ≈ 9.5 × 10⁻¹⁴ s, about 95 femtoseconds of simulated time.
- That sounds tiny, but the quantum computer must reproduce this evolution step by step. The total number of Trotter steps is T divided by the step size, and the step size must be small compared with the inverse of the largest energy scale in the Hamiltonian. The number of gates then depends on the molecule, the orbital basis and the accuracy of the formula.
- I cannot give a gate count for a specific molecule without opening a published resource estimate, so I do not give one. The point of the calculation is that the target accuracy sets a minimum evolution time, which in turn sets a minimum circuit depth.
The price of fermions
Electrons are fermions, and exchanging two of them flips the sign of the wave function. Qubits do not have this property, so the mapping has to build it in. In the standard Jordan–Wigner mapping, an operator that moves an electron from orbital i to orbital j becomes a product of Pauli operators acting not only on qubits i and j but also on every qubit in between. These intermediate Z operators keep track of the signs. I give this as standard background that I did not reopen.
Worked example
A long-range string
- A hopping term between spin orbitals 1 and 5 acts on qubits 1 to 5, a Pauli string of length 5 with Z operators on qubits 2, 3 and 4.
- Exponentiating a Pauli string of length w needs about 2(w − 1) CNOTs in the standard construction (a ladder of CNOTs down the string, one rotation, and a ladder back). For w = 5 that is 8 CNOTs, compared with 2 for a nearest-neighbour ZZ term.
- For a molecule in a basis of 100 spin orbitals, terms can span up to 100 qubits, giving up to about 200 CNOTs per term, and there are very many terms. This is a main reason chemistry circuits are far deeper than spin-chain circuits of the same qubit count.
- Other mappings exist that reduce the string length, at the cost of other complexities. They are active areas of work, and I do not give numbers for them.
The contrast
A spin chain has short, local terms and a depth that does not grow with size. Chemistry has long-range terms and many of them. Both are ‘local’ in Lloyd’s sense (each term involves a few particles), but their gate costs are very different, which is why chemistry estimates are so much larger.
A dynamics example: following an observable
Consider two spins with H = −J Z₁Z₂ − h(X₁ + X₂), J = 1 and h = 0.7, starting in |00⟩. We want ⟨Z₁⟩ as a function of time, which is the kind of quantity an experiment would read out. I computed the exact evolution and the first-order Trotter approximation with n = 2, 4 and 8 steps.
| Time t | Exact ⟨Z₁⟩ | Trotter n = 2 | n = 4 | n = 8 |
|---|---|---|---|---|
| 0.5 | 0.784 | 0.779 | 0.783 | 0.783 |
| 1.0 | 0.403 | 0.361 | 0.394 | 0.401 |
| 2.0 | 0.242 | 0.433 | 0.319 | 0.262 |
| 3.0 | −0.504 | 0.993 | −0.131 | −0.425 |
Computed with matrices. The step count is for the whole evolution, so steps get smaller as n grows.
- At early times a few steps are enough: at t = 0.5, even n = 2 is within 0.005.
- At t = 3, n = 2 gives +0.99 where the truth is −0.50, which is the wrong sign. The approximation has broken down completely.
- Even n = 8 is off by about 0.08 at t = 3. The step count must grow with the evolution time to keep the error fixed.
This table shows why simulation results need an accuracy check, and why a plot that looks plausible is not evidence that the algorithm is accurate. Without a reference value or a convergence test (repeat with twice the steps and compare), the error is invisible.
Beyond Trotter
Product formulas are simple, but their cost grows polynomially in 1/ε even at high order. Newer algorithms improve the dependence. Methods based on linear combinations of unitaries, quantum signal processing and qubitization are described in the literature as reaching a cost that grows only logarithmically in 1/ε. I mention these from the general literature and did not open sources for them here, so I give no figures.
There is also a limit. A result known as the no-fast-forwarding theorem, as I recall it from the literature and have not reopened, says that for general Hamiltonians the number of gates must grow at least linearly with the evolution time t. You cannot, in general, jump to a late time without paying for the time in between. That is why long simulations are expensive, whatever the formula.
Practical reading
Trotter formulas are the easiest to understand, and are used in many small demonstrations. Large-scale cost estimates for chemistry and materials tend to rely on the newer methods, which have better scaling with accuracy but need more qubits and more complex circuits.
The whole pipeline, and where the cost sits
| Stage | What happens | Main cost or risk |
|---|---|---|
| 1. Model | Choose the Hamiltonian, basis and approximations | A bad model gives a wrong answer however good the computer is |
| 2. Encode | Map particles to qubits (e.g. one qubit per spin orbital) | Qubit count; Pauli-term count |
| 3. Prepare | Create a starting state close to the one you want | Hard in general; a poor start gives a poor answer |
| 4. Evolve | Apply e^(−iHt) with Trotter or newer methods | Gate count; error accumulation; fault tolerance |
| 5. Read out | Phase estimation or repeated measurement | Shots (1/ε²) or long coherent circuits |
| 6. Verify | Compare with trusted classical results or convergence | Often impossible at the scale where the quantum computer is meant to win |
The sixth row is the quiet difficulty. A machine designed to solve problems classical computers cannot is, by construction, hard to check on those same problems. In practice, confidence comes from testing on smaller instances where classical answers exist, from internal consistency checks, and from agreement between different methods.
Getting the answer out: measurement and shot noise
A simulation does not hand back the wave function. It ends with a measurement, which returns one random outcome. To estimate an expectation value, such as the energy or the magnetisation, the experiment must be repeated many times and the results averaged. The statistical error of the average shrinks only as 1/√M for M repetitions, called shots.
Worked example
How many shots?
- An observable with outcomes ±1 has variance at most 1, so the standard error after M shots is at most 1/√M.
- To reach an error of 10⁻³ we need M ≈ 1/(10⁻³)² = 10⁶ shots. To reach 10⁻⁴ we need 10⁸ shots.
- A molecular energy is a sum of many Pauli terms, and each group of terms that cannot be measured together needs its own shots. The total shot count is therefore larger than for a single observable.
- At a repetition rate of 1 kHz, 10⁸ shots take 10⁵ seconds, about 28 hours. At 1 MHz it takes 100 seconds. The repetition rate of the hardware therefore matters as much as the gate fidelity.
- The 1/√M law is what variational algorithms such as VQE run into. Their many measurement rounds can dominate the run time, which is one reason phase estimation, with its much better scaling, is considered the long-term method for chemistry.
Phase estimation avoids this repetition by reading the energy directly into a register of qubits, at the price of long coherent circuits that need error correction. This trade, many short noisy runs against one long clean run, runs through the whole of near-term quantum computing.
Digital and analog quantum simulation
Everything above is digital simulation: the evolution is broken into gates. There is also analog simulation, in which a controllable quantum system is engineered so that its natural dynamics mimic the system of interest. Arrays of neutral atoms or trapped ions, or superconducting circuits, can be tuned so that their interactions realise a model such as the Ising or Hubbard model directly. The system evolves by its own physics, and one measures the result.
| Digital simulation | Analog simulation | |
|---|---|---|
| Idea | Compile the evolution into gates | Build a device whose physics is the model |
| Strength | Universal; accuracy can be improved; error correction possible | Can reach large sizes with modest control; no compilation overhead |
| Weakness | Deep circuits; needs fault tolerance for long runs | Limited to the models it can realise; errors accumulate and are hard to correct; precision limited by calibration |
| Status | Small demonstrations | Larger systems already used for physics studies |
Typical comparison from the general literature; I did not open a source for the ‘status’ row.
Analog simulators have already been used for physics questions that are hard classically. Whether they have solved a problem that classical methods cannot, and been verified to do so, is a question of ongoing debate, and I do not take a position on specific claims here.
What is established about advantage
It helps to separate three questions.
- Can a quantum computer simulate dynamics efficiently? Yes, by Lloyd’s theorem, for local Hamiltonians. This is a result about the algorithm.
- Does this give a speed-up over the best classical method for a problem people care about? For some problems, such as real-time dynamics of strongly interacting systems, the evidence is encouraging. For ground-state energies of molecules, the situation is more mixed, since classical methods are strong and state preparation is difficult. The algorithms lesson recorded that the speed-up for quantum simulation is classed as believed rather than proven, with strong classical heuristics as a caveat.
- How large a machine does it take, and when? That depends on resource estimates, which depend on error correction overheads, as the previous level showed.
A reasonable summary
Simulating quantum physics is the application where quantum computers are most clearly natural and where no unconditional proof of advantage is needed to see why they might win. But the practical question, for which molecules and materials, at which accuracy, on which hardware, and against which improved classical method, is open, and honest sources say so.
A sound reading habit is to look for four things whenever a simulation result is announced: the system size, the accuracy compared with a trusted classical result, whether classical methods were pushed as hard as they could be, and whether the quantum run used error correction or was limited to a few shallow steps.
Common misunderstandings
| Misunderstanding | Correction |
|---|---|
| Quantum computers will simulate any molecule exactly | They can in principle follow local dynamics efficiently, but the cost depends on the molecule, the accuracy and the overheads, and ground-state preparation is hard in the worst case. |
| Trotterisation is exact for fine enough steps for free | The error falls as 1/n or 1/n², but each step costs gates, and gate errors grow with the number of steps. |
| Simulation is easy because quantum computers are quantum | The efficiency comes from locality and structure. The theorem covers local Hamiltonians. |
| Lloyd’s theorem solves ground-state problems | It covers time evolution. Finding ground states is QMA-hard in the worst case. |
| The result of a simulation is the wave function | You get samples from measurements, and estimating an average to precision ε takes about 1/ε² shots. |
| Analog simulators are the same as quantum computers | They are special-purpose devices for particular models, without the universality or error correction of a digital machine. |
| Classical methods cannot compete | DFT, tensor networks and Monte Carlo are strong, and the border where quantum advantage begins moves as they improve. |
Practice problems
Check yourself
How much memory does an exact simulation of 40 spins need at 16 bytes per amplitude?
2⁴⁰ × 16 bytes ≈ 1.76 × 10¹³ bytes, about 17.6 terabytes.
If A and B commute, what is the Trotter error for any n?
Zero. e^(−i(A+B)t) = e^(−iAt) e^(−iBt) exactly.
A first-order Trotter error is 0.04 with n = 20 steps. What will it be with n = 80?
The error scales as 1/n, so it falls by 4 to about 0.01.
A second-order error is 0.04 with n = 20. What will it be with n = 80?
It scales as 1/n², so it falls by 16 to about 0.0025.
How many CNOTs does one Trotter step of the Ising chain need for N = 20 spins?
2(N − 1) = 38.
For that chain, with 500 steps, and gate fidelity 99.9%, estimate the chance of no error.
19,000 CNOTs: 0.999^19,000 = e^(−19.0) ≈ 5.5 × 10⁻⁹. Hopeless without error correction.
What does chemical accuracy mean, and how long must phase estimation evolve to reach it?
About 1.6 mHa. T ≈ 2π/0.0016 ≈ 3,927 atomic units, about 95 fs of simulated time.
How many shots to estimate an expectation value to ±0.01?
About 1/0.01² = 10,000 shots, in the worst case of a ±1 observable.
Why does Lloyd’s theorem not make ground-state energy easy?
It covers time evolution under local Hamiltonians. Finding ground-state energies is QMA-complete in the worst case.
Give one advantage and one disadvantage of analog simulation compared with digital.
Advantage: reaches large sizes with modest control. Disadvantage: limited to the models it can realise, and errors cannot be corrected.
References and further reading
I opened Lloyd’s 1996 paper and took its main claims from its abstract and text, and I opened the abstract of the Childs–Su–Tran–Wiebe–Zhu paper on Trotter error. All error scalings, gate counts, memory figures and shot counts were computed directly with matrices. Standard facts that I did not reopen are marked in the text: the Jordan–Wigner mapping, the size of the minimal-basis hydrogen molecule, the atomic unit of time, the form of the first-order Trotter error bound and the status of classical chemistry methods. Statements about advantage in chemistry are the cautious ones from earlier lessons and are not new research.
- Universal Quantum Simulators (S. Lloyd, Science 273, 1073 (1996)) Opened. Quantum computers can simulate local quantum systems efficiently; cost proportional to N, against exponential classically.
- Theory of Trotter Error with Commutator Scaling (arXiv 1912.08854, Childs, Su, Tran, Wiebe, Zhu; Physical Review X 11, 011020 (2021)) Abstract opened. Bounds that exploit commutativity of the terms, applied to electronic structure, Ising and other models.
- Quantum algorithms: an overview (npj Quantum Information, A. Montanaro, 2016) Opened earlier. Survey including quantum simulation.
- Quantum error correction below the surface code threshold (arXiv 2408.13687, Google Quantum AI, 2024) Opened earlier. Context for why long simulations need error correction.
- Physics 219 Quantum Computation: lecture notes (John Preskill, Caltech) Free notes covering quantum simulation. Not reopened for this page.
Key terms in the dictionary