An improved quantum-inspired algorithm for linear regression

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 A is stored in a data structure applicable for QRAM-based state preparation. Namely, suppose we are given an A ∈ Cm× n with minimum non-zero singular value σ which supports certain efficient 2-norm importance sampling queries, along with a b ∈ Cm. Then, for some x ∈ Cn satisfying \|x - A+b\| ≤ \|A+b\|, we can output a measurement of |x in the computational basis and output an entry of x with classical algorithms that run in O(\|A\|F6\|A\|6σ124) and O(\|A\|F6\|A\|2σ84) time, respectively. This improves on previous "quantum-inspired" algorithms in this line of research by at least a factor of \|A\|16σ162 [Chia, Gily\'en, 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.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…