arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.03050quant-phcs.ET
收藏

借助中间qudit和Fredkin门的高级分解改进量子字符串匹配算法

Intermediate-qudit assisted Improved quantum algorithm for string matching with an Advanced Decomposition of Fredkin gate

Amit Saha, Om Khanna

AI总结:

本文提出一种借助高维中间qudit改进的量子字符串匹配电路,通过Fredkin门和多控Toffoli门的新型分解,首次同时降低了查询复杂度、深度复杂度和辅助比特数,并经误差分析验证了其有效性。

摘要:

量子字符串匹配算法的电路级实现在时间复杂度和空间复杂度方面已被证明优于其经典对应算法,该算法在长度为$N$的较长文本中匹配长度为$M$的搜索字符串(模式)。由于其强大的存储和处理能力,高维量子计算正变得越来越普遍。本文展示了借助高维中间临时qudit改进的字符串匹配问题量子电路实现。我们还表明,据我们所知,首次借助中间qudit不仅能降低深度复杂度,还能降低量子算法的查询复杂度。我们的算法查询复杂度改进为$O(\sqrt{N-M+1})$,总时间复杂度为$O\left(\sqrt{N-M+1}\left((\log {(N-M+1)} \log N)+\log (M)\right)\right)$,而现有最先进工作的查询复杂度为$O(\sqrt{N})$,总时间复杂度为$O\left(\sqrt{N}\left((\log N)^{2}+\log (M)\right)\right)$,同时辅助比特数也从$\frac{N}{2}+M$减少到$\frac{N}{2}$。由于大量Fredkin门和多控Toffoli门的使用,现有最先进字符串匹配问题量子电路的成本极其高昂。通过应用所提出的基于中间qutrit(三维qudit或三进制系统)的Fredkin门分解,以及已有的基于中间ququart(四维qudit或四进制系统)的$n$比特Toffoli或多控Toffoli门(MCT)对数深度分解,我们展示了相对于原电路改进的门成本和深度。我们还通过误差分析断言,量子电路成本的降低与使用高维qudit是相关的。

英文摘要:

The circuit-level implementation of a quantum string-matching algorithm, which matches a search string (pattern) of length $M$ inside a longer text of length $N$, has already been demonstrated in the literature to outperform its classical counterparts in terms of time complexity and space complexity. Higher-dimensional quantum computing is becoming more and more common as a result of its powerful storage and processing capabilities. In this article, we have shown an improved quantum circuit implementation for the string-matching problem with the help of higher-dimensional intermediate temporary qudits. It is also shown that with the help of intermediate qudits not only the complexity of depth can be reduced but also query complexity can be reduced for a quantum algorithm, for the first time to the best of our knowledge. Our algorithm has an improved query complexity of $O(\sqrt{N-M+1})$ with overall time complexity $O\left(\sqrt{N-M+1}\left((\log {(N-M+1)} \log N)+\log (M)\right)\right)$ as compared to the state-of-the-art work which has a query complexity of $O(\sqrt{N})$ with overall time complexity $O\left(\sqrt{N}\left((\log N)^{2}+\log (M)\right)\right)$, while the ancilla count also reduces to $\frac{N}{2}$ from $\frac{N}{2}+M$. The cost of state-of-the-art quantum circuit for string-matching problem is colossal due to a huge number of Fredkin gates and multi-controlled Toffoli gates. We have exhibited an improved gate cost and depth over the circuit by applying a proposed Fredkin gate decomposition with intermediate qutrits (3-dimensional qudits or ternary systems) and already existing logarithmic-depth decomposition of $n$-qubit Toffoli or multi-controlled Toffoli gate (MCT) with intermediate ququarts (4-dimensional qudits or quaternary systems). We have also asserted that the quantum circuit cost is relevant instead of using higher dimensional qudits through error analysis.

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

↑