Quantum machine learning (QML) has shown great potential to produce large quantum speedups for linear algebra tasks. The quantum singular value transformation (QSVT), introduced by [GSLW, STOC'19, arXiv:1806.01838], is a unifying framework to obtain QML algorithms. We provide a classical algorithm that matches the performance of QSVT on low-rank inputs, up to small polynomial overhead. Under quantum memory assumptions, given a bounded matrix $A\in\mathbb{C}^{m\times n}$, vector $b\in\mathbb{C}^{n}$, and bounded degree-$d$ polynomial $p$, QSVT can output a measurement from the state $|p(A)b\rangle$ in $O(d\|A\|_F)$ time after linear-time pre-processing. We show that, in the same setting, for any $\varepsilon>0$, we can output a vector $v$ such that $\|v - p(A) b\|\leq\varepsilon\|b\|$ in $O(d^9\|A\|_F^4/\varepsilon^2)$ time after linear-time pre-processing. This improves upon the best known classical algorithm [CGLLTW, STOC'20, arXiv:1910.06151], which requires $O(d^{22}\|A\|_F^6/\varepsilon^6)$ time. Instantiating the aforementioned algorithm with different polynomials, we obtain fast quantum-inspired algorithms for regression, recommendation systems, and Hamiltonian simulation. We improve in numerous parameter settings on prior work, including those that use problem-specialized approaches. Our key insight is to combine the Clenshaw recurrence, an iterative method for computing matrix polynomials, with sketching techniques to simulate QSVT classically. The tools we introduce in this work include (a) a matrix sketch for approximately preserving bi-linear forms, (b) an asymmetric approximate matrix product sketch based on $\ell_2^2$ sampling, (c) a new stability analysis for the Clenshaw recurrence, and (d) a new technique to bound arithmetic progressions of the coefficients appearing in the Chebyshev series expansion of bounded functions, each of which may be of independent interest.
翻译:量子机器学习( QML) 显示有巨大的潜力为线性代数任务生成大型量级加速。 由 [ GSLW, STOC' 19, arxiv: 1806. 01838] 引入的量级单数值变换( QSVT) 是获取 QML 算法的统一框架。 我们提供了一个经典算法, 该算法与 QSVT 低级输入的性能相匹配, 直至小型多边处理。 在量级内存假设下, 基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内内基内基内基内基内( 内内内内基内内内内内基内基内基内基内基内基内内基内基内基内内基内基内内内基内基内基内基内内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内基内</s>