Skip to main content
KetQat

Appearance

Topic · intermediate

Numerical Methods

The numerical analysis behind quantum algorithms and their classical baselines. Conditioning and floating-point stability, Chebyshev polynomials and polynomial approximation, Krylov subspace methods and the convergence of conjugate gradients, and optimal low-rank approximation by the truncated SVD.

ExpositionMachine-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.

Overview

Numerical methods enter quantum science in two ways. First, every classical simulation of a quantum system, from state-vector simulators to tensor networks and decoders, is numerical linear algebra and inherits its questions: how accurate is the answer in floating point, and how many matrix-vector products does it take? Second, many quantum algorithms are numerical methods in disguise. Quantum signal processing and the quantum singular value transformation apply a polynomial to the singular values of a block-encoded matrix, and their query cost is the degree of that polynomial. The approximation theory that governs classical Krylov methods therefore also governs these quantum algorithms, and the best classical Krylov method is the baseline any quantum linear-algebra speedup must beat.

This page collects the core results: conditioning and stability; Chebyshev polynomials, their extremal property and the accuracy of Chebyshev approximations; Krylov subspaces and the convergence of conjugate gradients; and optimal low-rank approximation. The standard references are Trefethen and Bau, Higham and Trefethen.

Intuition

A linear system is ill conditioned when the matrix almost maps some direction to zero: small changes in the data can then produce large changes in the solution. The condition number κ\kappa measures this, and no algorithm can be more accurate than the problem allows; a good (backward-stable) algorithm is one that is as accurate as the problem allows.

Many iterative methods build their answer as a polynomial in the matrix applied to a starting vector. How well they work is then a question about polynomials: can a low-degree polynomial be small on the spectrum while equal to one at the origin, or close to 1/x1/x, or to e−iτxe^{-i\tau x}? Chebyshev polynomials answer such questions. They stay between −1-1 and 11 on an interval yet grow as fast as possible outside it, and the rate is governed by a square root: a polynomial of degree about 1/ϵ1/\sqrt{\epsilon} can separate the interval from a point at distance ϵ\epsilon. That square root is the common origin of the κ\sqrt{\kappa} of conjugate gradients and of the quadratic speedups of amplitude amplification.

Prerequisites

Linear algebra, in particular the spectral theorem, the singular value decomposition and Schatten norms.

Mathematical Definitions

DefinitionCondition number and backward stabilityEstablished definition

For an invertible A∈Cn×nA \in \C^{n \times n} the condition number (in the operator norm) is

κ(A)=∥A∥∞ ∥A−1∥∞=σmax⁡(A)σmin⁡(A)  ≥  1,\kappa(A) = \norm{A}_\infty\, \norm{A^{-1}}_\infty = \frac{\sigma_{\max}(A)}{\sigma_{\min}(A)} \;\ge\; 1 ,

and κ(A)=∞\kappa(A) = \infty for singular AA. For Hermitian positive definite AA it is λmax⁡/λmin⁡\lambda_{\max}/\lambda_{\min}.

Perturbation bound. If Ax=b≠0Ax = b \ne 0 and A(x+δx)=b+δbA(x + \delta x) = b + \delta b, then

∥δx∥∥x∥  ≤  κ(A) ∥δb∥∥b∥,\frac{\norm{\delta x}}{\norm{x}} \;\le\; \kappa(A)\, \frac{\norm{\delta b}}{\norm{b}} ,

because ∥δx∥=∥A−1δb∥≤∥A−1∥ ∥δb∥\norm{\delta x} = \norm{A^{-1}\delta b} \le \norm{A^{-1}}\,\norm{\delta b} and ∥b∥≤∥A∥ ∥x∥\norm{b} \le \norm{A}\,\norm{x}. The bound is attained when δb\delta b lies along the singular vector of σmin⁡\sigma_{\min} and bb along that of σmax⁡\sigma_{\max}. Perturbing AA itself gives, to first order, the same amplification factor.

Floating point. IEEE double precision represents every real number in its range with relative error at most the unit roundoff u=2−53≈1.1×10−16u = 2^{-53} \approx 1.1 \times 10^{-16}. An algorithm is backward stable if its computed output is the exact output for data perturbed by a relative amount of order uu. Combining this with the perturbation bound gives the rule of thumb: a backward-stable solver loses about log⁡10κ(A)\log_{10}\kappa(A) of the roughly 16 significant decimal digits. Gaussian elimination with partial pivoting, Householder QR and the standard SVD and symmetric eigenvalue algorithms are backward stable (Householder QR and SVD unconditionally; elimination up to a growth factor that is small in practice). See lectures 12–15 of Trefethen and Bau and chapters 1–2 of Higham.

DefinitionChebyshev polynomialsEstablished definition

For an integer d≥0d \ge 0 the Chebyshev polynomial TdT_d is the unique polynomial with

Td(cos⁡θ)=cos⁡(dθ)for all θ∈R.T_d(\cos\theta) = \cos(d\theta) \qquad \text{for all } \theta \in \R .

Equivalently T0=1T_0 = 1, T1(x)=xT_1(x) = x and Td+1(x)=2x Td(x)−Td−1(x)T_{d+1}(x) = 2x\,T_d(x) - T_{d-1}(x); this recurrence is the identity cos⁡((d+1)θ)+cos⁡((d−1)θ)=2cos⁡θcos⁡(dθ)\cos((d+1)\theta) + \cos((d-1)\theta) = 2\cos\theta\cos(d\theta). TdT_d has degree dd, leading coefficient 2d−12^{d-1} for d≥1d \ge 1, and parity (−1)d(-1)^d.

On [−1,1][-1, 1]: ∣Td(x)∣≤1\abs{T_d(x)} \le 1; TdT_d has its dd zeros at cos⁡((2j−1)π/(2d))\cos\big((2j - 1)\pi/(2d)\big), j=1,…,dj = 1, \dots, d; and it equioscillates, taking the values Td(ηj)=(−1)jT_d(\eta_j) = (-1)^j at the d+1d + 1 points ηj=cos⁡(jπ/d)\eta_j = \cos(j\pi/d), j=0,…,dj = 0, \dots, d. Outside the interval, for ∣x∣≥1\abs{x} \ge 1,

Td(x)=12[(x+x2−1)d+(x−x2−1)d]=cosh⁡ ⁣(darccosh⁡x)(x≥1),T_d(x) = \tfrac12\Big[ \big(x + \sqrt{x^2 - 1}\big)^d + \big(x - \sqrt{x^2 - 1}\big)^d \Big] = \cosh\!\big(d \operatorname{arccosh} x\big) \quad (x \ge 1),

so Td(x)≥12(x+x2−1)dT_d(x) \ge \tfrac12 (x + \sqrt{x^2 - 1})^d for x≥1x \ge 1, and Td(1+ϵ)T_d(1 + \epsilon) is approximately 12ed2ϵ\tfrac12 e^{d\sqrt{2\epsilon}} for small ϵ>0\epsilon > 0. A degree of order 1/ϵ1/\sqrt{\epsilon} therefore suffices for TdT_d to reach a constant just outside the interval; by the extremal property no polynomial bounded by one on [−1,1][-1, 1] does better. This square root is the source of the κ\sqrt{\kappa} in conjugate gradients and of the quadratic speedups of amplitude amplification and quantum signal processing.

Every Lipschitz continuous ff on [−1,1][-1, 1] has an absolutely convergent Chebyshev expansion f=∑k≥0akTkf = \sum_{k \ge 0} a_k T_k, with ak=2π∫−11f(x)Tk(x)(1−x2)−1/2dxa_k = \frac{2}{\pi}\int_{-1}^{1} f(x) T_k(x) (1 - x^2)^{-1/2} dx for k≥1k \ge 1 and half that for k=0k = 0. See chapters 3 and 4 of Trefethen.

DefinitionKrylov subspaceEstablished definition

For A∈Cn×nA \in \C^{n \times n}, b∈Cnb \in \C^n and m≥1m \ge 1, the Krylov subspace is

Km(A,b)=span⁡{b,Ab,A2b,…,Am−1b}={p(A) b:p a polynomial of degree<m}.\mathcal{K}_m(A, b) = \operatorname{span}\{ b, Ab, A^2 b, \dots, A^{m-1} b \} = \{ p(A)\, b : p \text{ a polynomial of degree} < m \} .

The spaces are nested, dim⁡Km≤m\dim\mathcal{K}_m \le m, and they stop growing once Km=Km+1\mathcal{K}_m = \mathcal{K}_{m+1}, which happens for some m≤nm \le n; then Km\mathcal{K}_m is AA-invariant. Building them needs only the map v↦Avv \mapsto Av, which is why Krylov methods suit large sparse matrices.

The Arnoldi iteration computes an orthonormal basis q1,…,qmq_1, \dots, q_m of Km(A,b)\mathcal{K}_m(A, b) by Gram–Schmidt on AqjA q_j, and Qm†AQmQ_m\dagg A Q_m is upper Hessenberg. For Hermitian AA it is tridiagonal, the recurrence has three terms, and the method is the Lanczos iteration; the eigenvalues of the tridiagonal matrix (Ritz values) approximate extreme eigenvalues of AA well after few steps. A Krylov method picks an approximation xm∈x0+Km(A,r0)x_m \in x_0 + \mathcal{K}_m(A, r_0), r0=b−Ax0r_0 = b - Ax_0, by an optimality condition: conjugate gradients minimises the AA-norm of the error for positive definite AA, and GMRES minimises the residual. Their convergence is a polynomial approximation problem on the spectrum of AA. In floating point the Lanczos vectors lose orthogonality, which must be managed by reorthogonalisation or analysed explicitly. See lectures 32–38 of Trefethen and Bau.

Theorems

Polynomial approximation

TheoremExtremal growth of Chebyshev polynomialsEstablished result

Let d≥1d \ge 1 and let pp be a real polynomial of degree at most dd with ∣p(x)∣≤1\abs{p(x)} \le 1 for all x∈[−1,1]x \in [-1, 1]. Then for every real x0x_0 with ∣x0∣>1\abs{x_0} > 1,

∣p(x0)∣  ≤  ∣Td(x0)∣.\abs{p(x_0)} \;\le\; \abs{T_d(x_0)} .

Consequently, among monic polynomials of degree dd, 21−dTd2^{1-d}T_d has the smallest maximum modulus on [−1,1][-1, 1], namely 21−d2^{1-d}.

Proof. Suppose ∣p(x0)∣>∣Td(x0)∣\abs{p(x_0)} > \abs{T_d(x_0)} and let c=Td(x0)/p(x0)c = T_d(x_0)/p(x_0), so ∣c∣<1\abs{c} < 1. The polynomial q=Td−c pq = T_d - c\,p has degree at most dd and q(x0)=0q(x_0) = 0. At the equioscillation points ηj=cos⁡(jπ/d)\eta_j = \cos(j\pi/d), j=0,…,dj = 0, \dots, d, of the Chebyshev polynomial, Td(ηj)=(−1)jT_d(\eta_j) = (-1)^j and ∣c p(ηj)∣≤∣c∣<1\abs{c\,p(\eta_j)} \le \abs{c} < 1, so q(ηj)q(\eta_j) is nonzero with sign (−1)j(-1)^j. By the intermediate value theorem qq has a zero strictly between consecutive ηj\eta_j, giving dd zeros in (−1,1)(-1, 1), and x0x_0 is one more. A nonzero polynomial of degree at most dd has at most dd zeros, so q=0q = 0, contradicting q(η0)≠0q(\eta_0) \ne 0.

For the monic statement, if a monic mm of degree dd had max⁡[−1,1]∣m∣<21−d\max_{[-1,1]}\abs{m} < 2^{1-d}, then p=2d−1mp = 2^{d-1}m would satisfy ∣p∣<1\abs{p} < 1 on [−1,1][-1, 1]; the same zero count applied to Td−pT_d - p, which has degree at most d−1d - 1 and alternates in sign at the d+1d + 1 points ηj\eta_j, forces Td=pT_d = p, a contradiction.

The theorem turns into lower bounds: a polynomial that stays bounded on [−1,1][-1, 1] and must reach a value LL at distance ϵ\epsilon outside needs degree about arccosh⁡(L)/2ϵ\operatorname{arccosh}(L)/\sqrt{2\epsilon} (from the formula for TdT_d outside the interval). Because the cost of quantum signal processing and the singular value transformation is the polynomial degree, such bounds limit what those methods can achieve. Chebyshev polynomials and best approximation are treated in Trefethen.

Holds when
  • Real polynomials of degree at most d, with d >= 1, and a real point x0 with |x0| > 1. A complex polynomial bounded by one on [-1, 1] obeys the same bound at real x0, by applying the statement to the real part of a unimodular multiple of it.
EquationChebyshev truncation error for analytic functionsEstablished result
max⁡x∈[−1,1]∣f(x)−∑k=0nakTk(x)∣  ≤  2Mρ−nρ−1,∣ak∣≤2Mρ−k (k≥1)\max_{x \in [-1,1]} \Big| f(x) - \sum_{k=0}^{n} a_k T_k(x) \Big| \;\le\; \frac{2M\rho^{-n}}{\rho - 1}, \qquad \abs{a_k} \le 2M\rho^{-k}\ (k \ge 1)

The Bernstein ellipse EρE_\rho has foci ±1\pm 1 and semi-axes (ρ+ρ−1)/2(\rho + \rho^{-1})/2 and (ρ−ρ−1)/2(\rho - \rho^{-1})/2; it shrinks to [−1,1][-1, 1] as ρ→1\rho \to 1. Under the stated hypothesis the coefficients of the Chebyshev expansion satisfy ∣a0∣≤M\abs{a_0} \le M and ∣ak∣≤2Mρ−k\abs{a_k} \le 2M\rho^{-k} for k≥1k \ge 1, and summing the tail ∑k>n2Mρ−k=2Mρ−n/(ρ−1)\sum_{k > n} 2M\rho^{-k} = 2M\rho^{-n}/(\rho - 1) gives the truncation bound (chapter 8 of Trefethen, which also bounds Chebyshev interpolation with twice the constant).

So a degree of n≥log⁡(2M/((ρ−1)ϵ))/log⁡ρn \ge \log\big(2M/((\rho - 1)\epsilon)\big) / \log\rho suffices for accuracy ϵ\epsilon: logarithmic in 1/ϵ1/\epsilon, with a constant set by how far ff extends analytically off the interval. Entire functions such as e−iτxe^{-i\tau x} allow every ρ\rho; there M=eτ(ρ−ρ−1)/2M = e^{\tau(\rho - \rho^{-1})/2}, and any fixed choice such as ρ=e\rho = e already gives a degree linear in τ\tau plus logarithmic in 1/ϵ1/\epsilon. Sharper degree bounds for this function come from the Jacobi–Anger expansion used in Hamiltonian simulation. Functions with a singularity near the interval, such as 1/x1/x on [1/κ,1][1/\kappa, 1] (pole at 00) or sign⁡(x)\operatorname{sign}(x) near 00, force ρ\rho close to 11 and hence large degree.

Holds when
  • f is analytic in the open Bernstein ellipse E_rho, the region bounded by the image of the circle |z| = rho under x = (z + 1/z)/2, with rho > 1, and |f| <= M there.

Krylov methods

TheoremConvergence of conjugate gradientsEstablished result

Let AA be Hermitian positive definite with condition number κ\kappa, let Ax∗=bAx^{*} = b, and write ∥v∥A=v†Av\norm{v}_A = \sqrt{v\dagg A v}. For a starting point x0x_0 with residual r0=b−Ax0r_0 = b - Ax_0, let xmx_m be the minimiser of ∥x−x∗∥A\norm{x - x^{*}}_A over x∈x0+Km(A,r0)x \in x_0 + \mathcal{K}_m(A, r_0) (Krylov subspace). The conjugate-gradient method of Hestenes and Stiefel computes exactly these iterates, with one product by AA and short recurrences per step (lecture 38 of Trefethen and Bau). Then

∥xm−x∗∥A∥x0−x∗∥A  ≤  2(κ−1κ+1)m,\frac{\norm{x_m - x^{*}}_A}{\norm{x_0 - x^{*}}_A} \;\le\; 2\left( \frac{\sqrt{\kappa} - 1}{\sqrt{\kappa} + 1} \right)^{m} ,

so m≥12κ ln⁡(2/ϵ)m \ge \tfrac12\sqrt{\kappa}\,\ln(2/\epsilon) steps reduce the error by a factor ϵ\epsilon. More precisely the ratio is at most min⁡pmax⁡λ∈σ(A)∣p(λ)∣\min_p \max_{\lambda \in \sigma(A)} \abs{p(\lambda)} over polynomials pp of degree at most mm with p(0)=1p(0) = 1, so clustered spectra converge faster than the bound suggests.

Quantum linear-system algorithms are compared against this baseline. Their cost grows linearly in κ\kappa, and by the BQP-completeness of matrix inversion a substantially better power of κ\kappa would have implausible complexity consequences, whereas CG needs of order κ\sqrt{\kappa} matrix-vector products. Any quantum advantage therefore lies in the dependence on the dimension and in the output model, not in κ\kappa (see quantum linear algebra).

Holds when
  • A is Hermitian positive definite with eigenvalues in [lambda_min, lambda_max] and kappa = lambda_max / lambda_min.
  • Exact arithmetic; in floating point the bound describes the behaviour only approximately.
Proof · Proof of the conjugate-gradient convergence bound

Errors are polynomials. Let e0=x0−x∗e_0 = x_0 - x^{*}, so r0=−Ae0r_0 = -Ae_0. Every x∈x0+Km(A,r0)x \in x_0 + \mathcal{K}_m(A, r_0) has the form x=x0+q(A)r0x = x_0 + q(A)r_0 with deg⁡q<m\deg q < m, so x−x∗=(I−Aq(A))e0=p(A)e0x - x^{*} = (I - Aq(A))e_0 = p(A)e_0 where p(λ)=1−λq(λ)p(\lambda) = 1 - \lambda q(\lambda) ranges over all polynomials of degree at most mm with p(0)=1p(0) = 1. Hence ∥xm−x∗∥A=min⁡p∥p(A)e0∥A\norm{x_m - x^{*}}_A = \min_p \norm{p(A)e_0}_A.

Reduction to the spectrum. Expand e0=∑jcjuje_0 = \sum_j c_j u_j in an orthonormal eigenbasis, Auj=λjujAu_j = \lambda_j u_j. Then ∥p(A)e0∥A2=∑jλj∣p(λj)∣2∣cj∣2≤max⁡j∣p(λj)∣2 ∥e0∥A2\norm{p(A)e_0}_A^2 = \sum_j \lambda_j \abs{p(\lambda_j)}^2 \abs{c_j}^2 \le \max_j \abs{p(\lambda_j)}^2\, \norm{e_0}_A^2.

Chebyshev choice. Let a=λmin⁡a = \lambda_{\min}, b=λmax⁡b = \lambda_{\max}; if a=ba = b the polynomial 1−λ/a1 - \lambda/a gives zero error after one step, so assume a<ba < b. Put x0=(b+a)/(b−a)=(κ+1)/(κ−1)>1x_0 = (b + a)/(b - a) = (\kappa + 1)/(\kappa - 1) > 1 and

p(λ)=Tm((b+a−2λ)/(b−a))Tm(x0).p(\lambda) = \frac{T_m\big( (b + a - 2\lambda)/(b - a) \big)}{T_m(x_0)} .

It has degree mm and p(0)=1p(0) = 1. For λ∈[a,b]\lambda \in [a, b] the argument of TmT_m lies in [−1,1][-1, 1], so ∣p(λ)∣≤1/Tm(x0)\abs{p(\lambda)} \le 1/T_m(x_0) by the properties of Chebyshev polynomials. Now

x0+x02−1=κ+1+2κκ−1=(κ+1)2(κ−1)(κ+1)=κ+1κ−1,x_0 + \sqrt{x_0^2 - 1} = \frac{\kappa + 1 + 2\sqrt{\kappa}}{\kappa - 1} = \frac{(\sqrt{\kappa} + 1)^2}{(\sqrt{\kappa} - 1)(\sqrt{\kappa} + 1)} = \frac{\sqrt{\kappa} + 1}{\sqrt{\kappa} - 1} ,

and Tm(x0)≥12(x0+x02−1)mT_m(x_0) \ge \tfrac12 (x_0 + \sqrt{x_0^2 - 1})^m, so 1/Tm(x0)≤2((κ−1)/(κ+1))m1/T_m(x_0) \le 2\big((\sqrt{\kappa} - 1)/(\sqrt{\kappa} + 1)\big)^m. Combining the three steps gives the bound.

Iteration count. With ρ=(κ−1)/(κ+1)\rho = (\sqrt\kappa - 1)/(\sqrt\kappa + 1), ln⁡(1/ρ)=ln⁡1+1/κ1−1/κ≥2/κ\ln(1/\rho) = \ln\frac{1 + 1/\sqrt\kappa}{1 - 1/\sqrt\kappa} \ge 2/\sqrt{\kappa}, so 2ρm≤ϵ2\rho^m \le \epsilon once m≥12κln⁡(2/ϵ)m \ge \tfrac12\sqrt{\kappa}\ln(2/\epsilon). The argument is the one in lecture 38 of Trefethen and Bau.

Low-rank approximation

TheoremEckart–Young–Mirsky theorem (best low-rank approximation)Established result

Let A=∑jσj∣uj⟩⟨vj∣A = \sum_{j} \sigma_j \ketbra{u_j}{v_j} be a singular value decomposition and Ak=∑j≤kσj∣uj⟩⟨vj∣A_k = \sum_{j \le k} \sigma_j \ketbra{u_j}{v_j} its truncation. Then for every matrix BB of rank at most kk,

∥A−B∥∞  ≥  σk+1=∥A−Ak∥∞,∥A−B∥2  ≥  (∑j>kσj2)1/2=∥A−Ak∥2,\norm{A - B}_\infty \;\ge\; \sigma_{k+1} = \norm{A - A_k}_\infty , \qquad \norm{A - B}_2 \;\ge\; \Big(\sum_{j > k} \sigma_j^2\Big)^{1/2} = \norm{A - A_k}_2 ,

in the operator and Frobenius (Schatten ∞\infty and 22) norms, and more generally ∥A−B∥≥∥A−Ak∥\norm{A - B} \ge \norm{A - A_k} for every unitarily invariant norm.

Proof of the operator-norm case. Set σj=0\sigma_j = 0 beyond the rank of AA and complete the ∣vj⟩\ket{v_j} to an orthonormal basis of Cn\C^n. The kernel of BB has dimension at least n−kn - k, and span⁡{∣v1⟩,…,∣vk+1⟩}\operatorname{span}\{\ket{v_1}, \dots, \ket{v_{k+1}}\} has dimension k+1k + 1, so they share a unit vector x=∑j≤k+1cj∣vj⟩x = \sum_{j \le k+1} c_j \ket{v_j}. Then ∥(A−B)x∥2=∥Ax∥2=∑j≤k+1σj2∣cj∣2≥σk+12\norm{(A - B)x}^2 = \norm{Ax}^2 = \sum_{j \le k+1} \sigma_j^2 \abs{c_j}^2 \ge \sigma_{k+1}^2. Equality for AkA_k holds because A−Ak=∑j>kσj∣uj⟩⟨vj∣A - A_k = \sum_{j > k}\sigma_j\ketbra{u_j}{v_j} has largest singular value σk+1\sigma_{k+1}.

The Frobenius-norm statement is due to Eckart and Young and the extension to all unitarily invariant norms to Mirsky; a textbook treatment is in Horn and Johnson. For a bipartite pure state written as a matrix, AkA_k is the Schmidt truncation, so the theorem says that keeping the largest Schmidt coefficients is the optimal way to reduce Schmidt rank; this is the step repeated in matrix-product-state truncation.

Holds when
  • A is a complex m-by-n matrix with singular values sigma_1 >= sigma_2 >= ... and 0 <= k < min(m, n).

Worked Examples

Iterations of conjugate gradients

For a positive definite system with κ=100\kappa = 100, the CG bound has ratio (κ−1)/(κ+1)=9/11≈0.818(\sqrt{\kappa} - 1)/(\sqrt{\kappa} + 1) = 9/11 \approx 0.818. Reducing the AA-norm error by ϵ=10−6\epsilon = 10^{-6} requires 2(9/11)m≤10−62(9/11)^m \le 10^{-6}, that is m≥ln⁡(2×106)/ln⁡(11/9)≈14.51/0.2007≈72.3m \ge \ln(2 \times 10^6)/\ln(11/9) \approx 14.51/0.2007 \approx 72.3, so m=73m = 73 iterations (2(9/11)73≈8.7×10−72(9/11)^{73} \approx 8.7 \times 10^{-7}, while m=72m = 72 gives 1.06×10−61.06 \times 10^{-6}). The simpler sufficient condition m≥12κln⁡(2/ϵ)≈72.5m \ge \tfrac12\sqrt{\kappa}\ln(2/\epsilon) \approx 72.5 gives the same answer. Each iteration costs one product with AA; for a sparse matrix with ss nonzeros per row that is about snsn operations.

How fast Chebyshev polynomials grow

At x=1.01x = 1.01, just outside [−1,1][-1, 1], the exact value is T10(1.01)=cosh⁡(10arccosh⁡1.01)≈cosh⁡(1.4130)≈2.176T_{10}(1.01) = \cosh(10\operatorname{arccosh} 1.01) \approx \cosh(1.4130) \approx 2.176, and the small-ϵ\epsilon approximation 12ed2ϵ=12e10⋅0.1414≈2.057\tfrac12 e^{d\sqrt{2\epsilon}} = \tfrac12 e^{10 \cdot 0.1414} \approx 2.057 is close. By the extremal property, no polynomial of degree 1010 bounded by one on [−1,1][-1, 1] exceeds 2.1762.176 at 1.011.01. To reach the value 100100 at 1.011.01 one needs cosh⁡(d⋅0.1413)≥100\cosh(d \cdot 0.1413) \ge 100, i.e. d≥arccosh⁡(100)/0.1413≈5.298/0.1413≈37.5d \ge \operatorname{arccosh}(100)/0.1413 \approx 5.298/0.1413 \approx 37.5, so degree 3838.

Best rank-one approximation and conditioning

For A=(3045)A = \begin{pmatrix} 3 & 0 \\ 4 & 5 \end{pmatrix}, whose singular values were computed on the linear algebra page as 35≈6.7083\sqrt5 \approx 6.708 and 5≈2.236\sqrt5 \approx 2.236, the Eckart–Young theorem says that every rank-one matrix is at distance at least 5\sqrt5 from AA in both the operator and the Frobenius norm, and the truncated SVD σ1u1v1T=32(1133)\sigma_1 u_1 v_1^{T} = \tfrac{3}{2}\begin{pmatrix} 1 & 1 \\ 3 & 3 \end{pmatrix} attains it. The condition number is κ(A)=35/5=3\kappa(A) = 3\sqrt5/\sqrt5 = 3: a relative error of 10−810^{-8} in bb can produce at most a relative error of 3×10−83 \times 10^{-8} in the solution of Ax=bAx = b.

Applications

Limitations and Common Pitfalls

  • Exact-arithmetic theorems. The CG bound and Lanczos convergence assume exact arithmetic. In floating point, Lanczos vectors lose orthogonality and spurious copies of converged eigenvalues appear; CG may need more iterations than the bound predicts.
  • The bound is for the worst spectrum. The CG bound uses only κ\kappa. Spectra with clusters or few distinct eigenvalues converge faster; comparing a quantum algorithm with the worst-case classical bound can overstate an advantage.
  • Condition numbers are norm-dependent. κ\kappa in the operator norm differs from that in other norms; and κ\kappa of a block-encoded matrix in a quantum algorithm usually refers to the normalised matrix A/αA/\alpha, whose smallest singular value is what matters.
  • Polynomial degree is not total cost. In QSVT the degree counts queries to a block-encoding; the cost of each query and of computing the phase angles are separate.
  • Approximation on an interval says nothing outside it. A polynomial approximating ff on [−1,1][-1, 1] can be huge just outside; an eigenvalue slightly outside the assumed interval (for example after a crude normalisation) can wreck a polynomial filter.
  • Low rank is basis-free but norm-specific. The truncated SVD is optimal in unitarily invariant norms; for other error measures (entrywise, or fidelity of a normalised state after renormalisation) the optimal approximation can differ.
Builds on

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. Lloyd N. Trefethen, David Bau III (1997). Numerical Linear Algebra. Society for Industrial and Applied Mathematics. doi:10.1137/1.9780898719574
  2. Nicholas J. Higham (2002). Accuracy and Stability of Numerical Algorithms (2nd edition). Society for Industrial and Applied Mathematics. doi:10.1137/1.9780898718027
  3. Lloyd N. Trefethen (2019). Approximation Theory and Approximation Practice, Extended Edition. Society for Industrial and Applied Mathematics. doi:10.1137/1.9781611975949
  4. M. R. Hestenes, E. Stiefel (1952). Methods of conjugate gradients for solving linear systems. Journal of Research of the National Bureau of Standards 49, 409. doi:10.6028/jres.049.044
  5. Carl Eckart, Gale Young (1936). The Approximation of One Matrix by Another of Lower Rank. Psychometrika 1, 211-218. doi:10.1007/BF02288367
  6. L. Mirsky (1960). Symmetric gauge functions and unitarily invariant norms. The Quarterly Journal of Mathematics 11, 50-59. doi:10.1093/qmath/11.1.50
  7. Roger A. Horn, Charles R. Johnson (2012). Matrix Analysis (2nd edition). Cambridge University Press. doi:10.1017/CBO9781139020411

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)

    Topic body only (embedded records carry their own review states). Numerical check (python/numpy) of every worked-example number: CG with kappa = 100 (ratio 9/11, ln(2e6)/ln(11/9) = 72.30, 2(9/11)^73 = 8.69e-7, 2(9/11)^72 = 1.062e-6, sqrt(kappa) ln(2/eps)/2 = 72.54); T_10(1.01) = 2.1759 vs (1/2) exp(10 sqrt 0.02) = 2.0566, arccosh(100)/arccosh(1.01) = 37.50 so degree 38; singular values of [[3,0],[4,5]] = 6.7082, 2.2361, rank-one truncation [[1.5,1.5],[4.5,4.5]], kappa = 3. Intuition, applications and pitfalls checked for consistency with the embedded records and the sources used for them (Trefethen-Bau table of contents, ATAP Theorem 3.1, Trefethen SIAM Rev. 2008 Theorems 4.2-4.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

Current revision 0f4f53e0044028b2. Source file knowledge/records/topic/numerical-methods.md in the content repository (readable there once it is public).