基于Word QRAM模型的编辑距离量子线性算法
Quantum Linear Algorithm for Edit Distance Using the Word QRAM Model
摘要:
许多可以在二次时间内解决的问题都具有因子为$w$的位并行加速,其中$w$是计算机字长。例如,长度为$n$的两个字符串的编辑距离可以在$O(n^2/w)$时间内求解。在一个合理的经典计算模型中,可以假设$w=Θ(\log n)$。对于这样的问题有条件的下限,说明对于任何$ε>0$,具有因子$n^ε$的加速将导致复杂性理论的突破。然而,这些条件下界并不涵盖计算的量子模型。事实上,Boroujeni等人(J. ACM,2021)表明,使用量子计算,编辑距离可以在次二次时间$O(n^{1.81})$中近似为因子$3$。他们还表明,在他们选择的量子计算模型中,近似因子不能使用次二次时间来改进。为了突破上述经典条件下界和这个最新的量子下界,我们用量子随机存取存储器(QRAM)丰富了计算模型,得到了我们所说的量子随机存取存储器模型。在这个模型下,我们展示了如何将二次时间可解问题的位并行性转换为量子算法,以因子$n$实现加速。我们使用的技术是简单和一般的,足以适用于许多位并行算法,使用布尔逻辑和位移位。为了将其应用于编辑距离,我们首先证明了Myers(J. ACM,1999)的著名的$O(n^2/w)$时间位并行算法可以被调整为在没有算术+操作的情况下工作。作为一个直接的后果,我们的技术应用到这个变种,我们得到线性时间编辑距离算法下的字QRAM模型为常数字母表。我们给出了进一步的结果的一个限制性的变体的字QRAM模型,以提供更多的见解的限制模型。
英文摘要:
Many problems that can be solved in quadratic time have bit-parallel speed-ups with factor $w$, where $w$ is the computer word size. For example, edit distance of two strings of length $n$ can be solved in $O(n^2/w)$ time. In a reasonable classical model of computation, one can assume $w=Θ(\log n)$. There are conditional lower bounds for such problems stating that speed-ups with factor $n^ε$ for any $ε>0$ would lead to breakthroughs in complexity theory. However, these conditional lower bounds do not cover quantum models of computing. Indeed, Boroujeni et al. (J. ACM, 2021) showed that edit distance can be approximated within a factor $3$ in sub-quadratic time $O(n^{1.81})$ using quantum computing. They also showed that, in their chosen model of quantum computing, the approximation factor cannot be improved using sub-quadractic time. To break through the aforementioned classical conditional lower bounds and this latest quantum lower bound, we enrich the model of computation with a quantum random access memory (QRAM), obtaining what we call the word QRAM model. Under this model, we show how to convert the bit-parallelism of quadratic time solvable problems into quantum algorithms that attain speed-ups with factor $n$. The technique we use is simple and general enough to apply to many bit-parallel algorithms that use Boolean logics and bit-shifts. To apply it to edit distance, we first show that the famous $O(n^2/w)$ time bit-parallel algorithm of Myers (J. ACM, 1999) can be adjusted to work without arithmetic + operations. As a direct consequence of applying our technique to this variant, we obtain linear time edit distance algorithm under the word QRAM model for constant alphabet. We give further results on a restricted variant of the word QRAM model to give more insights to the limits of the model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。