An improved quantum-inspired algorithm for linear regression

preprint2022arXivOpen access

Abstract

We give a classical algorithm for linear regression analogous to the quantum matrix inversion algorithm [Harrow, Hassidim, and Lloyd, Physical Review Letters'09, arXiv:0811.3171] for low-rank matrices [Wossnig, Zhao, and Prakash, Physical Review Letters'18, arXiv:1704.06174], when the input matrix AA is stored in a data structure applicable for QRAM-based state preparation. Namely, suppose we are given an A∈Cm×nA \in \mathbb{C}^{m\times n} with minimum non-zero singular value σσ which supports certain efficient ℓ2\ell_2-norm importance sampling queries, along with a b∈Cmb \in \mathbb{C}^m. Then, for some x∈Cnx \in \mathbb{C}^n satisfying ∥x−A+b∥≤ε∥A+b∥\|x - A^+b\| \leq \varepsilon\|A^+b\|, we can output a measurement of ∣x⟩|x\rangle in the computational basis and output an entry of xx with classical algorithms that run in O~(∥A∥F6∥A∥6σ12ε4)\tilde{\mathcal{O}}\big(\frac{\|A\|_{\mathrm{F}}^6\|A\|^6}{σ^{12}\varepsilon^4}\big) and O~(∥A∥F6∥A∥2σ8ε4)\tilde{\mathcal{O}}\big(\frac{\|A\|_{\mathrm{F}}^6\|A\|^2}{σ^8\varepsilon^4}\big) time, respectively. This improves on previous "quantum-inspired" algorithms in this line of research by at least a factor of ∥A∥16σ16ε2\frac{\|A\|^{16}}{σ^{16}\varepsilon^2} [Chia, Gilyén, Li, Lin, Tang, and Wang, STOC'20, arXiv:1910.06151]. As a consequence, we show that quantum computers can achieve at most a factor-of-12 speedup for linear regression in this QRAM data structure setting and related settings. Our work applies techniques from sketching algorithms and optimization to the quantum-inspired literature. Unlike earlier works, this is a promising avenue that could lead to feasible implementations of classical regression in a quantum-inspired settings, for comparison against future quantum computers.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.