arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.09696cs.DSquant-ph
收藏

弦问题的近优量子算法

Near-Optimal Quantum Algorithms for String Problems

Shyan Akmal, Ce Jin

摘要:

我们研究了几个基本弦问题的量子算法,包括最长公共子串,字典序最小弦旋转和最长平方子串。这些问题自1970年代以来在弦学文献中得到了广泛的研究,并且被认为是可以用近似线性时间经典算法解决的。在这项工作中,我们给出了解决这些问题的量子算法,具有接近最优的查询复杂度和时间复杂度。具体而言,我们表明:最长公共子串可以通过量子算法在$\tilde O(n^{2/3})$时间内求解,改进了Le Gall和Seddighin(2020)最近的$\tilde O(n^{5/6})$时间算法。我们的算法使用了MNRS量子行走框架,以及字符串同步集(Kempa和Kociumaka,2019)和广义差覆盖的精心组合。- 字典序最小字符串旋转可以通过$n^{1/2 + o(1)}$时间的量子算法来解决,改进了Wang和Ying(2020)最近的$\tilde O(n^{3/4})$时间算法。我们设计了我们的算法,首先给出了一个新的经典分治算法在近线性时间的基础上排除规则,然后加快它的二次使用嵌套Grover搜索和量子最小发现。- 最长平方子串可以通过量子算法在$\tilde O(\sqrt{n})$时间内求解。我们的算法是Le Gall和Seddighin(2020)针对最长回文子串问题的算法的改编,但使用了额外的技术来克服二进制搜索不再适用的困难。我们的技术自然地扩展到其他相关的字符串问题,如最长重复子串,最长林登子串,最小后缀。

英文摘要:

We study quantum algorithms for several fundamental string problems, including Longest Common Substring, Lexicographically Minimal String Rotation, and Longest Square Substring. These problems have been widely studied in the stringology literature since the 1970s, and are known to be solvable by near-linear time classical algorithms. In this work, we give quantum algorithms for these problems with near-optimal query complexities and time complexities. Specifically, we show that: - Longest Common Substring can be solved by a quantum algorithm in $\tilde O(n^{2/3})$ time, improving upon the recent $\tilde O(n^{5/6})$-time algorithm by Le Gall and Seddighin (2020). Our algorithm uses the MNRS quantum walk framework, together with a careful combination of string synchronizing sets (Kempa and Kociumaka, 2019) and generalized difference covers. - Lexicographically Minimal String Rotation can be solved by a quantum algorithm in $n^{1/2 + o(1)}$ time, improving upon the recent $\tilde O(n^{3/4})$-time algorithm by Wang and Ying (2020). We design our algorithm by first giving a new classical divide-and-conquer algorithm in near-linear time based on exclusion rules, and then speeding it up quadratically using nested Grover search and quantum minimum finding. - Longest Square Substring can be solved by a quantum algorithm in $\tilde O(\sqrt{n})$ time. Our algorithm is an adaptation of the algorithm by Le Gall and Seddighin (2020) for the Longest Palindromic Substring problem, but uses additional techniques to overcome the difficulty that binary search no longer applies. Our techniques naturally extend to other related string problems, such as Longest Repeated Substring, Longest Lyndon Substring, and Minimal Suffix.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑