量子模式匹配
Quantum Pattern Matching
摘要:
我们提出了一个量子算法最接近的模式匹配,它允许我们搜索尽可能多的不同的模式,因为我们希望在一个给定的字符串(数据库),需要查询功能的模式字母表的每个符号。与Grover的搜索算法以及其他依赖于为特定模式构建特定查询的量子模式匹配方法相比,这代表了一个显着的实际优势。我们的方法使任意搜索长静态数据库更现实和可实现的。我们的算法,灵感来自Grover的,返回的位置最接近的子串的大小$M$与不可忽略的概率在$O(\sqrt{N})$查询,其中$N$是字符串的大小给定的模式。此外,我们给出了完整的配方来实现我们的算法(连同其总电路复杂度),从而提供了一个基于预言机的量子算法准备实施。
英文摘要:
We propose a quantum algorithm for closest pattern matching which allows us to search for as many distinct patterns as we wish in a given string (database), requiring a query function per symbol of the pattern alphabet. This represents a significant practical advantage when compared to Grover's search algorithm as well as to other quantum pattern matching methods, which rely on building specific queries for particular patterns. Our method makes arbitrary searches on long static databases much more realistic and implementable. Our algorithm, inspired by Grover's, returns the position of the closest substring to a given pattern of size $M$ with non-negligible probability in $O(\sqrt{N})$ queries, where $N$ is the size of the string. Furthermore, we give the full recipe to implement our algorithm (together with its total circuit complexity), thus offering an oracle-based quantum algorithm ready to be implemented.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。