← Atlas

Algorithms · Quantum linear algebra

Approximating the top eigenvector of a Hermitian matrix

Given query access to the entries of a d × d Hermitian matrix A, output a classical description of a good approximation of its top eigenvector, the eigenvector belonging to the largest eigenvalue.

Attested & literatureUpdated

View frozen graph

A small worked example, computed in your browser. It is not a result from this record's papers.

Phase estimation of P(3*pi/4)

3 counting qubits estimating the phase of P(3π/4), which is 2π·3/8 exactly: a phase 3-bit QPE can represent exactly.

q0q1q2q3Step 1 of 4 · XXStep 2 of 4 · Hadamard layer(3)Hadamard layer(3)Step 3 of 4 · Controlled phase powers(3)Controlled phase powers(3)Step 4 of 4 · QFT inverse(3)QFT inverse(3)

Step 1 of 4 · X

Probability of each outcome after this step

  • 1000100%
  1. Puts the target qubit into |1⟩, which is an eigenstate of P(3*pi/4): applying the gate to it multiplies it by a phase and changes nothing else. That is the whole requirement QPE places on its input.

    The whole state moves from 0000 to 1000 — one certain outcome before, one certain outcome after, no superposition either side.

  2. Spreads the 3 counting qubits over all 8 values they can hold at once. Each one will later ask about a different power of the phase.

    Probability spreads from 1 outcome to 8. All 8 are equally likely.

  3. Counting qubit k applies P(3*pi/4) to the target 2^k times, controlled on itself. The target never changes — it is an eigenstate — so the phase it would have picked up is kicked back onto the control instead. This is the step that writes the answer into the register.

    The outcome probabilities do not move at all. What this step changes is phase — 8 distinct relative phases across the state now — which no measurement can see until a later step turns it back into probability.

  4. The inverse Fourier transform reads that phase pattern back out as a binary number. Phase in, bits out.

    Probability gathers from 8 outcomes onto 1. 1011 goes from 12.5% to 100.0%.

Readout The counting register reads 011 = 3 with probability 1: angle/(2π) = 3/8, recovered exactly.

Open in Studio
  • Record typeLiterature reference
  • Speedup class (secondary source)Polynomial
  • Primary source on the speedupNot checked against the primary source yet
  • Reported costTwo algorithms for a d × d Hermitian matrix under an assumed constant eigenvalue gap: one of time complexity Õ(d^1.75), one of time complexity d^(1.5+o(1)), against the best-possible classical algorithm, which the abstract states needs Ω(d²) queries to the entries of A and hence Ω(d²) time. The same abstract states time q·d^(1.5+o(1)) for a classical description of the subspace spanned by the top-q eigenvectors, and a nearly-optimal lower bound of Ω̃(d^1.5) on the quantum query complexity of approximating the top eigenvector. The Zoo instead gives a single figure, Õ(d^(3/2)) against a best classical Õ(d²), which matches neither of the abstract's two upper bounds exactly.
  • Papers1

Quantum vs classical

Classical baseline

Compare Quantum linear algebra with the strongest classical method for the same instance, input budget, and output metric.

Quantum claim

This reference exposes a quantum circuit pattern; it does not imply an application-level speedup without a matched benchmark.

How to compare

Report input loading, circuit depth, repetitions, classical preprocessing, post-processing, and wall-clock time together.

References

  • A Quantum Speed-Up for Approximating the Top Eigenvectors of a Matrix

    Yanlin Chen, András Gilyén, Ronald de Wolf · 2024

    Primary source: it states the query-access input model, the constant eigenvalue gap assumption, the two time complexities Õ(d^1.75) and d^(1.5+o(1)), the classical Ω(d²) it measures them against, the q·d^(1.5+o(1)) extension to the top-q eigenvector subspace and the Ω̃(d^1.5) quantum query lower bound. It also names the two mechanisms, Gaussian phase estimation for the entry-by-entry route and block-encoding plus unbiased pure-state tomography for the state-based route. Consult it for the ℓ₂-error dependence of each algorithm and for what the o(1) in the exponent hides, neither of which the abstract states.

Attested & literature
  • Peer-reviewed paper
Method
Curation only. The problem statement was recorded from the literature; the speedup class is not yet checked against the record's own primary paper; the primary reference's title, authors and submission year were read from its arXiv abs page; the complexity claim was taken from a clause of that paper's abstract (abstract of arXiv:2405.14765 (TeX rendered into Unicode: the abstract's tilde-O written Õ, tilde-Omega written Ω̃, math delimiters removed): "We give two different quantum algorithms that, given query access to the entries of a Hermitian matrix A and assuming a constant eigenvalue gap, output a classical description of a good approximation of the top eigenvector: one algorithm with time complexity Õ(d^{1.75}) and one with time complexity d^{1.5+o(1)}", "Both of our quantum algorithms provide a polynomial speed-up over the best-possible classical algorithm, which needs Ω(d^2) queries to entries of A, and hence Ω(d^2) time", "We extend this to a quantum algorithm that outputs a classical description of the subspace spanned by the top-q eigenvectors in time qd^{1.5+o(1)}", and "We also prove a nearly-optimal lower bound of Ω̃(d^{1.5}) on the quantum query complexity of approximating the top eigenvector." The single Zoo figure is from the Quantum Algorithm Zoo entry "Computing the Principal Eigenvector" (widetilde O rendered Õ, math delimiters removed, reference number and its spacing left as written): "The quantum of [ 462 ] runs in time Õ(d^{3/2}) whereas the best classical algorithm runs in time Õ(d^2)." That sentence is quoted as the Zoo has it, missing noun included.). No circuit was constructed, simulated or run.
Result
Pass · the record's problem, speedup class and primary reference agree with the two sources named above.
Caveat
This is a literature record: nothing was constructed, compiled, simulated, run or benchmarked here, and no matrix's top eigenvector was approximated. Both upper bounds are stated under the constant eigenvalue gap the abstract assumes, and neither source says what the cost becomes when that gap is small or absent. The figures are asymptotic complexities in a model whose input is query access to the entries of A, so no gate count, qubit count, constant factor or error-correction budget follows from them, and the cost of realizing that entry oracle is outside this record. The exponent in d^(1.5+o(1)) carries an o(1) that the abstract does not quantify, so it is not the same claim as Õ(d^1.5), and the Ω̃(d^1.5) lower bound is stated for quantum query complexity rather than for time; nothing here closes the distance between the two. The output quality is stated only as a good approximation: the abstract says the first algorithm has a slightly better dependence on the ℓ₂-error of the approximating vector than the second, without giving either dependence, so no accuracy is fixed by this record. The Zoo's Õ(d^(3/2)) matches neither of the abstract's two upper bounds exactly, and the Zoo cites its reference by number only, so this record does not establish that the two sources describe the same algorithm; the difference is recorded, not reconciled. The classical Ω(d²) is the abstract's own statement about the best-possible classical algorithm, and the argument behind it was not read here.
A Quantum Speed-Up for Approximating the Top Eigenvectors of a Matrix ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
Citation metadata only; source publication terms apply
principal eigenvectorpower methodblock encodingtomographyquery complexity

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