arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.07235cs.DS
收藏

基于字符串的可压缩量子算法

Compressibility-Aware Quantum Algorithms on Strings

Daniel Gibney, Sharma V. Thankachan

摘要:

对于弦上的许多基本问题,已经建立了次线性时间量子算法。这项工作表明,新的,更快的量子算法可以设计时,字符串是高度可压缩的。本文重点研究了两种流行的、具有重要理论意义的压缩算法--Lempel-Ziv 77算法(LZ 77)和游程编码的Burrows-Wheeler变换(RL-BWT),得到了如下结果。我们首先提供了一个运行在$\tilde{O}(\sqrt{zn})$时间的量子算法,用于找到具有$z$因子的输入字符串$T[1..n]$的LZ 77因子分解。结合多个现有的结果,这产生了一个$\tilde{O}(\sqrt{rn})$时间量子算法,用于找到具有$r$ BWT运行的RL-BWT编码。请注意,$r = \tildeΘ(z)$。我们补充这些结果与下界证明我们的算法是最佳的(polylog因素)。接下来,我们研究压缩索引的问题,在那里我们提供了一个$\tilde{O}(\sqrt{rn})$时间量子算法,用于构建一个最近设计的$\tilde{O}(r)$空间结构,具有与后缀树相同的能力。这种数据结构,然后应用到许多问题,以获得次线性时间量子算法时,输入是高度可压缩的。例如,我们证明了两个总长度为$n$的字符串的最长公共子串可以在$\tilde{O}(\sqrt{zn})$时间内计算,其中$z$是它们级联的LZ 77因子分解中的因子数。当$z$足够小时,这胜过了最著名的$\tilde{O}(n^\frac{2}{3})$时间量子算法。

英文摘要:

Sublinear time quantum algorithms have been established for many fundamental problems on strings. This work demonstrates that new, faster quantum algorithms can be designed when the string is highly compressible. We focus on two popular and theoretically significant compression algorithms -- the Lempel-Ziv77 algorithm (LZ77) and the Run-length-encoded Burrows-Wheeler Transform (RL-BWT), and obtain the results below. We first provide a quantum algorithm running in $\tilde{O}(\sqrt{zn})$ time for finding the LZ77 factorization of an input string $T[1..n]$ with $z$ factors. Combined with multiple existing results, this yields an $\tilde{O}(\sqrt{rn})$ time quantum algorithm for finding the RL-BWT encoding with $r$ BWT runs. Note that $r = \tildeΘ(z)$. We complement these results with lower bounds proving that our algorithms are optimal (up to polylog factors). Next, we study the problem of compressed indexing, where we provide a $\tilde{O}(\sqrt{rn})$ time quantum algorithm for constructing a recently designed $\tilde{O}(r)$ space structure with equivalent capabilities as the suffix tree. This data structure is then applied to numerous problems to obtain sublinear time quantum algorithms when the input is highly compressible. For example, we show that the longest common substring of two strings of total length $n$ can be computed in $\tilde{O}(\sqrt{zn})$ time, where $z$ is the number of factors in the LZ77 factorization of their concatenation. This beats the best known $\tilde{O}(n^\frac{2}{3})$ time quantum algorithm when $z$ is sufficiently small.

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

↑