← Atlas

Algorithms · Quantum differential equations · linear

Quantum and classical algorithms for the heat equation

Solve the heat equation in a rectangular region of spatial dimension d, in the sense of approximately computing the amount of heat in a given region.

Attested & literatureUpdated

Open on the mapView frozen graph

  • Record typeLiterature reference
  • Reference implementationheat_eq_qsvt
  • Reported costAn at most quadratic quantum speedup for spatial dimension d ≥ 2, from an approach that applies amplitude estimation to an accelerated classical random walk; the alternative approach, based on a quantum algorithm for linear equations, is never faster than the best classical algorithms. The abstract states the comparison only in those terms: it quotes no complexity expression, no dependence on the error or the discretization, and no qubit or gate count, and the complexities of the ten algorithms it compares are given inside the paper.
  • Papers1

A part this method uses, worked through

This page says amplitude estimation — here is a concrete, runnable instance of it.

Canonical amplitude estimation

3 counting qubits estimating a = sin²(θ) for the one-qubit state A|0⟩ = RY(π/4)|0⟩, θ = π/8.

q0q1q2q3RY(π/4)Hadamard layer(3)Amplitude estimation powers(3)QFT inverse(3)

Where it ends up

  • 000125%
  • 011125%
  • 100125%
  • 111125%

The counting register reads 001 or 111, each equally likely: these are θ/π = 1/8 and its mirror 1 − 1/8 = 7/8, both exact in 3 bits by construction. Either one gives a = sin²(π/8) = (2 − √2) / 4 exactly, the standard amplitude-estimation formula a = sin²(πλ) applied to the smaller of the two readings.

Open this part in Studio
Record type
Literature reference
Reference implementation
heat_eq_qsvt
Reported cost
An at most quadratic quantum speedup for spatial dimension d ≥ 2, from an approach that applies amplitude estimation to an accelerated classical random walk; the alternative approach, based on a quantum algorithm for linear equations, is never faster than the best classical algorithms. The abstract states the comparison only in those terms: it quotes no complexity expression, no dependence on the error or the discretization, and no qubit or gate count, and the complexities of the ten algorithms it compares are given inside the paper.
Complexity basis
abstract of arXiv:2004.06516 (TeX rendered into Unicode: the abstract writes the inequality in inline math mode, here written d ≥ 2): "We find that, for spatial dimension d ≥ 2, there is an at most quadratic quantum speedup using an approach based on applying amplitude estimation to an accelerated classical random walk. However, an alternative approach based on a quantum algorithm for linear equations is never faster than the best classical algorithms." The same abstract fixes the task — "approximately computing the amount of heat in a given region" — and says the paper compares "the complexities of ten classical and quantum algorithms for solving it". It carries no big-O expression, no constant, and no resource count, which is why none appears above.
Circuit
Not supplied

References

  • Quantum vs. classical algorithms for solving the heat equation

    Noah Linden, Ashley Montanaro, Changpeng Shao · 2020

    Primary source: the detailed comparison of ten classical and quantum algorithms for the heat equation in a rectangular region, and the origin of both findings quoted here — the at most quadratic speedup for d ≥ 2 from amplitude estimation applied to an accelerated classical random walk, and the finding that the linear-equations route is never faster than the best classical algorithms. Consult it for the complexities themselves, for the assumptions they rest on, and for the other algorithms in the comparison; the abstract states none of that.

Attested & literature
  • Peer-reviewed paper
Method
Curation only. This record documents the algorithm a published reference implementation demonstrates, not the demonstration itself: nothing in Leona runs Qmod. The primary reference's title, authors and submission year were read from its arXiv abs page, and the complexity claim taken from a clause of that paper's abstract (abstract of arXiv:2004.06516 (TeX rendered into Unicode: the abstract writes the inequality in inline math mode, here written d ≥ 2): "We find that, for spatial dimension d ≥ 2, there is an at most quadratic quantum speedup using an approach based on applying amplitude estimation to an accelerated classical random walk. However, an alternative approach based on a quantum algorithm for linear equations is never faster than the best classical algorithms." The same abstract fixes the task — "approximately computing the amount of heat in a given region" — and says the paper compares "the complexities of ten classical and quantum algorithms for solving it". It carries no big-O expression, no constant, and no resource count, which is why none appears above.). No circuit was constructed, simulated or run.
Result
Pass · the record's problem statement and primary reference agree with the sources named above.
Caveat
This is a literature record. No circuit was built, compiled, simulated or run for it, no heat-equation instance was solved, and no timing or resource figure was produced here; the record documents the algorithm, and does not reproduce or verify any published demonstration of it. The result above is a complexity comparison inside the paper's own statement of the problem — the heat equation on a rectangular region, with the amount of heat in a given region as the quantity to be approximated — and it does not carry over to other output quantities, other domain shapes, or other boundary and initial conditions, on which the abstract says nothing. The at-most-quadratic finding bounds the advantage rather than promising it, and the abstract quotes no complexity expression, no constant factors, and no dependence on the error or the grid, nor does it address state preparation, readout, or hardware feasibility. The verdict on the linear-equations route is a comparison against the best classical algorithms as the paper reckons them, which is a statement about a state of the art rather than a proven lower bound. The abstract reports a comparison of ten algorithms, not an experiment: no run, on hardware or in simulation, is claimed by it, and none was performed for this record.
Quantum vs. classical algorithms for solving the heat equation ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
Citation metadata only; source publication terms apply
heat equationpdeamplitude estimationrandom walkcomplexity comparison

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.