Abstract

We study the practical performance of quantum-inspired algorithms for recommendation systems and linear systems of equations. These algorithms were shown to have an exponential asymptotic speedup compared to previously known classical methods for problems involving low-rank matrices, but with complexity bounds that exhibit a hefty polynomial overhead compared to quantum algorithms. This raised the question of whether these methods were actually useful in practice. We conduct a theoretical analysis aimed at identifying their computational bottlenecks, then implement and benchmark the algorithms on a variety of problems, including applications to portfolio optimization and movie recommendations. On the one hand, our analysis reveals that the performance of these algorithms is better than the theoretical complexity bounds would suggest. On the other hand, their performance as seen in our implementation degrades noticeably as the rank and condition number of the input matrix are increased. Overall, our results indicate that quantum-inspired algorithms can perform well in practice provided that stringent conditions are met: low rank, low condition number, and very large dimension of the input matrix. By contrast, practical datasets are often sparse and high-rank, precisely the type that can be handled by quantum algorithms.

Highlights

  • A driving force for studying quantum computing is the conviction that quantum algorithms can solve some problems more efficiently than classical methods

  • These dequantized algorithms work for general low-rank matrices, whereas quantum computers still exhibit an exponential speedup over all known classical algorithms for sparse, full-rank matrix problems, including the quantum Fourier transform, eigenvector and eigenvalue analysis, linear systems, and others

  • This shows that quantum-inspired algorithms can have significantly smaller runtimes than their worst-case complexity bounds would suggest, we find evidence that the dependence on the error ε may be tight for the linear systems algorithm

Read more

Summary

Introduction

A driving force for studying quantum computing is the conviction that quantum algorithms can solve some problems more efficiently than classical methods. We perform a theoretical analysis aimed at identifying potential bottlenecks in their practical implementation This allows us to anticipate the regimes where quantum-inspired algorithms may outperform previously-known classical methods. Based on our analysis and tests, we find that, provided that the input matrices have small rank and condition number, quantum-inspired algorithms can perform well in practice: they provide good approximations in reasonable times, even for very large-dimensional problems. This shows that quantum-inspired algorithms can have significantly smaller runtimes than their worst-case complexity bounds would suggest, we find evidence that the dependence on the error ε may be tight for the linear systems algorithm.

Quantum-inspired algorithms for linear algebra
Sampling solution vectors
Approximate SVD
Coefficient estimation
Complexity of coefficient estimation
Output j with probability
Numerical benchmarking
Design principles
High-dimensional problems
Random matrices
Portfolio optimization
Movie recommendations
Practical complexity of quantum-inspired algorithms
Conclusion
A Worst-case hardness of coefficient estimation
B Formulas for high-dimensional problems
Findings
C Complementary results for random matrices
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call