Skip to main content
KetQat

Appearance

Theorem · advanced

Exact eigenvalue inversion by post-selection

In the idealised case where phase estimation reads every eigenvalue of A exactly, the HHL circuit prepares exactly the normalised solution A^(-1)|b> on success, with success probability C^2 times the squared norm of A^(-1)|b>, which is at least 1/kappa^2 when C = 1/kappa.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Let ∣b⟩\ket{b} be a unit vector and let RR be the controlled rotation ∣λ⟩∣0⟩↦∣λ⟩(1−C2/λ2 ∣0⟩+(C/λ)∣1⟩)\ket{\lambda}\ket{0} \mapsto \ket{\lambda}\big(\sqrt{1 - C^2/\lambda^2}\,\ket{0} + (C/\lambda)\ket{1}\big) on clock and flag registers. Apply EE, then RR, then E†E\dagg to ∣b⟩∣0⟩∣0⟩\ket{b}\ket{0}\ket{0} and measure the flag. Outcome 1 occurs with probability

p=C2 ∥A−1∣b⟩∥2  ≥  C2,p = C^{2}\,\big\lVert A^{-1}\ket{b}\big\rVert^{2} \;\ge\; C^{2},

and the post-measurement state of the system is exactly ∣x⟩=A−1∣b⟩/∥A−1∣b⟩∥\ket{x} = A^{-1}\ket{b}/\lVert A^{-1}\ket{b}\rVert, with the clock register returned to ∣0⟩\ket{0}. With C=1/κC = 1/\kappa, p≥1/κ2p \ge 1/\kappa^2, and amplitude amplification succeeds with O(1/p)=O(κ)O(1/\sqrt p) = O(\kappa) rounds.

The error analysis of Harrow, Hassidim and Lloyd shows how this ideal behaviour degrades when phase estimation is approximate; this record isolates the exact mechanism.

Holds when

  • AA is Hermitian with eigen-decomposition A=∑jλj∣uj⟩⟨uj∣A = \sum_j \lambda_j\ketbra{u_j}{u_j} and 1/κ≤∣λj∣≤11/\kappa \le \lvert\lambda_j\rvert \le 1.
  • Idealisation - a unitary EE (exact phase estimation) maps ∣uj⟩∣0⟩↦∣uj⟩∣λj⟩\ket{u_j}\ket{0} \mapsto \ket{u_j}\ket{\lambda_j} for every jj, with the clock register holding an exact binary label of λj\lambda_j.
  • 0<C≤1/κ0 < C \le 1/\kappa so that ∣C/λj∣≤1\lvert C/\lambda_j\rvert \le 1.

Proof

Proof of exact eigenvalue inversion by post-selectionMachine-checked

Expand ∣b⟩=∑jβj∣uj⟩\ket{b} = \sum_j\beta_j\ket{u_j} with ∑j∣βj∣2=1\sum_j\lvert\beta_j\rvert^2 = 1. Registers are written in the order system, clock, flag.

After EE: ∑jβj∣uj⟩∣λj⟩∣0⟩\sum_j \beta_j\ket{u_j}\ket{\lambda_j}\ket{0}.

After RR: ∑jβj∣uj⟩∣λj⟩(1−C2/λj2 ∣0⟩+(C/λj)∣1⟩)\sum_j \beta_j\ket{u_j}\ket{\lambda_j}\big(\sqrt{1 - C^2/\lambda_j^2}\,\ket{0} + (C/\lambda_j)\ket{1}\big); the square root is real because ∣C/λj∣≤Cκ≤1\lvert C/\lambda_j\rvert \le C\kappa \le 1.

After E†E\dagg, which acts on system and clock only and maps ∣uj⟩∣λj⟩\ket{u_j}\ket{\lambda_j} back to ∣uj⟩∣0⟩\ket{u_j}\ket{0} (as EE is unitary and maps ∣uj⟩∣0⟩\ket{u_j}\ket{0} to it):

(∑jβj1−C2/λj2 ∣uj⟩)∣0⟩∣0⟩  +  (∑jCβjλj∣uj⟩)∣0⟩∣1⟩.\Big(\sum_j \beta_j\sqrt{1 - C^2/\lambda_j^2}\,\ket{u_j}\Big)\ket{0}\ket{0} \;+\; \Big(\sum_j \frac{C\beta_j}{\lambda_j}\ket{u_j}\Big)\ket{0}\ket{1} .

The flag-one branch is C∑jβjλj−1∣uj⟩∣0⟩∣1⟩=C A−1∣b⟩⊗∣0⟩∣1⟩C\sum_j\beta_j\lambda_j^{-1}\ket{u_j}\ket{0}\ket{1} = C\,A^{-1}\ket{b}\otimes\ket{0}\ket{1}. Its squared norm is the probability of outcome 1, p=C2∥A−1∣b⟩∥2p = C^2\lVert A^{-1}\ket{b}\rVert^2, and the normalised post-measurement system state is A−1∣b⟩/∥A−1∣b⟩∥A^{-1}\ket{b}/\lVert A^{-1}\ket{b}\rVert with the clock in ∣0⟩\ket{0}. Since ∥A−1∣b⟩∥2=∑j∣βj∣2/λj2≥∑j∣βj∣2=1\lVert A^{-1}\ket{b}\rVert^2 = \sum_j\lvert\beta_j\rvert^2/\lambda_j^2 \ge \sum_j\lvert\beta_j\rvert^2 = 1 when every ∣λj∣≤1\lvert\lambda_j\rvert \le 1, p≥C2p \ge C^2. The number of amplitude-amplification rounds follows from the amplitude amplification theorem with a=pa = p: ⌊π/(4arcsin⁡p)⌋≤π/(4p)\lfloor\pi/(4\arcsin\sqrt p)\rfloor \le \pi/(4\sqrt p). This is the idealised core of the algorithm of Harrow, Hassidim and Lloyd.

Related

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Aram W. Harrow, Avinatan Hassidim, Seth Lloyd (2009). Quantum algorithm for linear systems of equations. Physical Review Letters 103, 150502. doi:10.1103/PhysRevLett.103.150502arXiv:0811.3171

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Re-derived the idealised HHL post-selection: success probability sum_j |beta_j|^2 C^2/lambda_j^2 = C^2 ||A^{-1}b||^2 >= C^2 (since |lambda_j| <= 1), exact post-measurement state after E^dag, and O(kappa) amplitude-amplification rounds; compared the C = O(1/kappa), Omega(1/kappa^2) and O(kappa) statements with Harrow–Hassidim–Lloyd arXiv:0811.3171, Section II (pp. 2-3).

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 9433a7cf2553de7e. Source file knowledge/records/theorem/eigenvalue-inversion-by-postselection.md in the content repository (readable there once it is public).