Fast and Practical Quantum-Inspired Classical Algorithms for Solving Linear Systems

07/13/2023
by   Qian Zuo, et al.
0

We propose fast and practical quantum-inspired classical algorithms for solving linear systems. Specifically, given sampling and query access to a matrix A∈ℝ^m× n and a vector b∈ℝ^m, we propose classical algorithms that produce a data structure for the solution x∈ℝ^n of the linear system Ax=b with the ability to sample and query its entries. The resulting x satisfies x-A^+b≤ϵA^+b, where · is the spectral norm and A^+ is the Moore-Penrose inverse of A. Our algorithm has time complexity O(κ_F^4/κϵ^2) in the general case, where κ_F =A_FA^+ and κ=AA^+ are condition numbers. Compared to the prior state-of-the-art result [Shao and Montanaro, arXiv:2103.10309v2], our algorithm achieves a polynomial speedup in condition numbers. When A is s-sparse, our algorithm has complexity O(s κlog(1/ϵ)), matching the quantum lower bound for solving linear systems in κ and 1/ϵ up to poly-logarithmic factors [Harrow and Kothari]. When A is s-sparse and symmetric positive-definite, our algorithm has complexity O(s√(κ)log(1/ϵ)). Technically, our main contribution is the application of the heavy ball momentum method to quantum-inspired classical algorithms for solving linear systems, where we propose two new methods with speedups: quantum-inspired Kaczmarz method with momentum and quantum-inspired coordinate descent method with momentum. Their analysis exploits careful decomposition of the momentum transition matrix and the application of novel spectral norm concentration bounds for independent random matrices. Finally, we also conduct numerical experiments for our algorithms on both synthetic and real-world datasets, and the experimental results support our theoretical claims.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/18/2021

Faster quantum-inspired algorithms for solving linear systems

We establish an improved classical algorithm for solving linear systems ...
research
11/12/2020

Quantum algorithms for spectral sums

We propose and analyze new quantum algorithms for estimating the most co...
research
11/12/2018

Quantum-inspired sublinear classical algorithms for solving low-rank linear systems

We present classical sublinear-time algorithms for solving low-rank line...
research
06/15/2022

On the fast convergence of minibatch heavy ball momentum

Simple stochastic momentum methods are widely used in machine learning o...
research
05/24/2019

Quantum-inspired algorithms in practice

We study the practical performance of quantum-inspired algorithms for re...
research
09/20/2023

Hybrid quantum-classical and quantum-inspired classical algorithms for solving banded circulant linear systems

Solving linear systems is of great importance in numerous fields. In par...
research
12/11/2020

Sublinear classical and quantum algorithms for general matrix games

We investigate sublinear classical and quantum algorithms for matrix gam...

Please sign up or login with your details

Forgot password? Click here to reset