Papers
Topics
Authors
Recent
Search
2000 character limit reached

Quantum Leverage Score Sampling

Updated 4 February 2026
  • Quantum leverage score sampling is a method that uses quantum state preparation, block-encoding, and amplitude amplification to approximate matrix leverage scores efficiently.
  • It replaces the explicit computation of leverage scores with quantum techniques like QSVT and amplitude estimation, reducing classical bottlenecks in numerical linear algebra.
  • The approach enables accelerated large-scale regression and matrix sketching, achieving quadratic to exponential speedups while adhering to proven quantum lower bounds.

Quantum leverage score sampling refers to quantum algorithms that generate, sample, or approximate leverage scores of a matrix ARn×dA\in\mathbb{R}^{n\times d} more efficiently than classical algorithms, with direct implications for randomized numerical linear algebra, large-scale regression, and low-rank approximation. The leverage score of a row (or column) quantifies its influence or weight in the leading singular subspace of AA, and importance sampling by leverage scores underlies the fastest classical and quantum algorithms for matrix problems at scale. Quantum approaches replace explicit computation of all leverage scores with quantum state preparation, amplitude amplification, and block-encoding techniques, yielding quadratic to exponential speedups, subject to proven lower bounds. Quantum-inspired algorithms adapt certain quantum subroutines to classical computation under enhanced sampling data structures, providing a different axis of acceleration.

1. Leverage Scores and Classical Bottlenecks

Given AA with thin singular value decomposition (SVD) A=UDVTA = U D V^T, URn×rU\in\mathbb{R}^{n\times r}, VRd×rV\in\mathbb{R}^{d\times r}, DRr×rD\in\mathbb{R}^{r\times r}, the (row) leverage scores are

R,i(A)=Ui,2,i=1,,n,\ell_{R,i}(A) = \|U_{i,*}\|^2, \quad i = 1,\ldots,n,

and the (column) leverage scores are C,j(A)=Vj,2\ell_{C,j}(A) = \|V_{j,*}\|^2. These scores sum to the rank rr of AA. In classical randomized algorithms for matrix sketching, least squares, and CUR decompositions, leverage score sampling significantly reduces sample complexity and runtime, but a primary computational bottleneck is their computation or approximation to high accuracy. The best classical methods, notably those of Clarkson–Woodruff, operate in time O~(nnz(A)+r3)\widetilde{O}(\textrm{nnz}(A) + r^3), where reading AA is dominant for large n,dn, d. This high cost motivates quantum acceleration (Shao, 2023).

2. Quantum Algorithmic Framework

Quantum leverage score sampling circumvents explicit computation of individual scores by preparing the quantum state

LR=1ri=1nR,ii|\mathcal{L}_R\rangle = \frac{1}{\sqrt{r}} \sum_{i=1}^{n} \sqrt{\ell_{R,i}} |i\rangle

on a quantum device. Measuring LR|\mathcal{L}_R\rangle yields index ii with probability R,i/r\ell_{R,i}/r; a similar approach holds for columns. The quantum algorithm proceeds via the following steps:

  1. Block-encoding: AA is encoded as a unitary UAU_A (Definition 2.3) on a+sa+s qubits as an (α,a,ϵ)(\alpha,a,\epsilon) block-encoding, so that Aα(0aI)UA(0aI)A \approx \alpha(\langle0^a|\otimes I)U_A(|0^a\rangle\otimes I).
  2. Quantum Singular Value Transformation (QSVT): QSVT (Proposition 2.5) enables construction of a block-encoding of UVTU V^T, the isometry projecting onto the dominant subspace, in O((α/σr)log(1/ϵ~))O((\alpha/\sigma_r)\log(1/\tilde{\epsilon})) uses of UAU_A.
  3. Quantum State Preparation and Amplification: Starting from a uniform superposition over indices, the quantum device applies the constructed isometry (via U~\widetilde{U}) to amplitude-encode UVTej2\|UV^T e_j\|^2, which matches C,j/r\ell_{C,j}/r. Amplitude amplification, repeated O(min(n,d)/r)O(\sqrt{\min(n,d)/r}) times, boosts success probability.
  4. Amplitude Estimation: To estimate individual leverage scores to additive error ε\varepsilon, amplify the desired ancilla component and use quantum amplitude estimation, which requires O(1/ε)O(1/\varepsilon) calls to the underlying unitaries.

The total resource cost for preparing leverage score states is

O~(αTσrmin(n,d)/r)\widetilde{O}\left( \frac{\alpha T}{\sigma_r} \sqrt{\min(n,d)/r} \right)

with TT the cost of preparing UAU_A and σr\sigma_r the minimal nonzero singular value. Individual score estimation to accuracy ε\varepsilon requires additional O~((αT/σr)/ε)\widetilde{O}((\alpha T/\sigma_r)/\varepsilon) resources (Shao, 2023).

3. Speedups and Lower Bounds

The quantum approach yields at least quadratic—and in some regimes exponential—speedup over classical leverage score routines. For block-encodings with polylogarithmic cost, e.g., when AA is well-conditioned and sparse or when r=dr = d and κ=σ1/σr=O(1)\kappa = \sigma_1/\sigma_r = O(1), quantum runtimes can be exponential improvements over the best classical runtime Ω(nnz(A))\Omega(\textrm{nnz}(A)). In the generic case, the quantum algorithm runs in time quadratic in min(n,d)/r\sqrt{\min(n,d)/r} versus linear dependence in nn or dd classically.

Quantum lower bounds show that, under entry-oracle or block-encoding models, any quantum sampler must use at least Ω(min(n,d)/r)\Omega(\sqrt{\min(n,d)/r}) queries, matching the achieved runtime up to logarithmic factors. Similarly, accurately estimating the largest leverage score or solving least-squares regression to 2\ell_2-error ϵ\epsilon also requires Ω(α/σr)\Omega(\alpha/\sigma_r) and Ω(n+d)\Omega(\sqrt{n} + d) queries, respectively. These lower bounds derive from reductions to Grover search and OR-function query complexities (Shao, 2023).

4. Algorithmic Implementation Details

The detailed workflow for quantum leverage score sampling includes:

  • Block-Encoding Construction: Depending on matrix sparsity and storage, construct an efficient (α,a,ϵ)(\alpha,a,\epsilon) block-encoding UAU_A with cost TT.
  • QSVT for UVTUV^T: Use O((α/σr)log(1/ϵ~))O((\alpha/\sigma_r)\log(1/\tilde{\epsilon})) calls to UAU_A to effect QSVT for the singular subspace isometry.
  • State Preparation: For columns (ndn \ge d), prepare the state

ψ0=1dj=1dj00|\psi_0\rangle = \frac{1}{\sqrt{d}} \sum_{j=1}^d |j\rangle\otimes|0\ldots0\rangle

and evolve via U~\widetilde{U}. Retain only ancilla flag 0|0\rangle (indicating projection into the subspace).

  • Amplitude Amplification: Repeat the state preparation procedure O(d/r)O(\sqrt{d/r}) times so that the relevant subspace receives total probability close to unity.
  • Measurement: After preparation, measuring the state yields an index jj with probability proportional to C,j\ell_{C,j}. Individual score estimation leverages amplitude estimation to refine this probability to additive error ε\varepsilon efficiently.

The following table summarizes the subroutine costs:

Subroutine Quantum Cost Classical Cost (O~\widetilde{O})
Prepare leverage state (αT/σr)min(n,d)/r(\alpha T/\sigma_r)\sqrt{\min(n,d)/r} nnz(A)+r3\operatorname{nnz}(A) + r^3
Estimate one score (αT/σr)/ε(\alpha T/\sigma_r)/\varepsilon nnz(A)+r3\operatorname{nnz}(A) + r^3
Rigid regression see Sec. 6, quantum part dominates for rnr\ll n ndnd or nnz(A)+r3\operatorname{nnz}(A) + r^3

5. Application: Rigid Regression and Matrix Sketching

A major application of quantum leverage score sampling is in rigid (ridge) regression,

xopt=argminxRdAxb2+λ2x2,x_{\rm opt} = \arg\min_{x\in\mathbb{R}^d} \|Ax - b\|^2 + \lambda^2\|x\|^2,

or equivalently, least-squares on the augmented system A~,b~\widetilde{A}, \widetilde{b}. Quantum leverage samples for A~\widetilde{A} can be generated in cost O~((αT/λ)d/sdλ(A))\widetilde{O}((\alpha T/\lambda)\sqrt{d/\textrm{sd}_\lambda(A)}), with sdλ(A)\textrm{sd}_\lambda(A) the statistical dimension. After q=O(sdλ/ε)q = O(\textrm{sd}_\lambda/\varepsilon) samples, the downsampled system is solved classically at cost O~(rω(A/λ)2ω/εω)\widetilde{O}(r^\omega(\|A\|/\lambda)^{2\omega}/\varepsilon^\omega). For rnr\ll n, overall runtime is

O~[rεαTλn+dε+d+rωεωA2λ2+r3]\widetilde{O}\left[\frac{r}{\varepsilon}\frac{\alpha T}{\lambda}\sqrt{\frac{n+d}{\varepsilon} + d} + \frac{r^\omega}{\varepsilon^\omega}\frac{\|A\|^2}{\lambda^2} + r^3\right]

yielding polynomial or even exponential speedup in nn (up to n\sqrt{n}) over classical methods (Shao, 2023).

Classically, substituting leverage sampling by the classical Clarkson–Woodruff routine yields a fully classical algorithm at cost O~(nnz(A)+r3+drω(A/λ)2ω/εω)\widetilde{O}(\operatorname{nnz}(A)+r^3 + d\,r^\omega(\|A\|/\lambda)^{2\omega}/\varepsilon^\omega).

6. Quantum-Inspired and Dequantized Methods

Quantum-inspired algorithms, as introduced by Zuo and Xiang (Zuo et al., 2021), achieve similar exponential speedups in the matrix dimensions m,nm,n using enhanced sampling data structures (BSTs supporting fast 2\ell_2-norm computation and conditional column/row sampling in O(logmn)O(\log mn) time). Their method builds a “quantum-inspired SVD” (QiSVD), outputs S,V,ΣS, V, \Sigma so that U^=SVΣ1\hat U = SV\Sigma^{-1} approximates the singular subspace, and then computes leverage score approximations ~i\tilde{\ell}_i through inner-product sampling and postprocessing.

This approach requires polylogarithmic dependence on dimensions and polynomial dependence on parameters kk, κ\kappa, and 1/ε1/\varepsilon. For practical sampling-based matrix sketching, the method forms the sampling distribution ~i/j~j\tilde{\ell}_i/\sum_j \tilde{\ell}_j, samples and rescales accordingly, ensuring that the spectral properties of RTRR^T R closely approximate ATAA^T A, with only additive error of order ε\varepsilon. The quantum-inspired algorithm matches quantum query complexity up to polynomial factors in k,κ,1/εk,\kappa,1/\varepsilon (but requires BST-based oracles) (Zuo et al., 2021).

7. Theoretical Guarantees and Optimality

The central theoretical results underpinning quantum leverage score sampling are as follows:

  • Quantum State Preparation and Sampling: States of the form LR|\mathcal{L}_R\rangle and LC|\mathcal{L}_C\rangle can be prepared in O~((αT/σr)min(n,d)/r)\widetilde{O}((\alpha T/\sigma_r)\sqrt{\min(n,d)/r}) time; individual score estimation is achieved in O~((αT/σr)/ε)\widetilde{O}((\alpha T/\sigma_r)/\varepsilon).
  • Quantum Lower Bounds: Any quantum leverage sampler must use Ω(min(n,d)/r)\Omega(\sqrt{\min(n,d)/r}) oracle queries or Ω(α/σr)\Omega(\alpha/\sigma_r) block-encoding calls, and least-squares regression requires Ω(n+d)\Omega(\sqrt{n}+d) queries.
  • Error Bounds (Quantum-Inspired): For the dequantized QiSVD algorithms, with high probability, the leverage score approximations satisfy i~i<ε|\ell_i - \tilde{\ell}_i| < \varepsilon for all ii, provided p=O(poly(k,κ,1/ε)log(mn))p = O(\operatorname{poly}(k,\kappa,1/\varepsilon)\log(mn)) samples and proper choice of internal parameters (Zuo et al., 2021).
  • Algorithmic Optimality: The quantum runtime dependencies on min(n,d)/r\sqrt{\min(n,d)/r} and α/σr\alpha/\sigma_r are essentially tight, based on oracle-based lower bound reductions to Grover search (Shao, 2023).

A plausible implication is that further acceleration beyond these limits would require new algorithmic frameworks or stronger matrix or access assumptions.


Quantum leverage score sampling enables efficient sampling and regression for large-scale matrices, achieving quadratic or exponential acceleration over classical techniques given block-encoded access to AA. The underlying primitives—block-encoding, QSVT, and amplitude amplification—are provably optimal up to polylogarithmic factors. These advances also inform classical "dequantized" methods under enhanced data models, illustrating the broader impact of quantum-inspired linear algebra in numerical and data-driven applications (Shao, 2023, Zuo et al., 2021).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Quantum Leverage Score Sampling.