量子子集和预言机的优化
Optimization of a Quantum Subset Sum Oracle
AI总结:
本文面向 Grover 量子搜索优化子集和预言机,通过可变宽度算术、部分和、排序及新型位串比较减少量子比特、门和多控制门,并支持近似求解。
摘要:
我们研究了用于 Grover 算法量子搜索的子集和(Subset Sum)问题预言机的实现。我们的工作关注减少该预言机所需的量子比特、量子门和多控制门数量。我们描述了如何将一个子集和实例编译为量子预言机,使用了我们为 Qiskit 开发并已发布在 GitHub 上的 Python 库。随后,我们提出了节省量子比特和量子门的技术,并通过实验展示它们在随机子集和实例上的有效性。这些技术包括从固定宽度算术转向可变宽度算术、利用集合中整数的部分和来确定特定的整数宽度,以及对集合进行排序以获得可证明最高效的部分和。我们提出了一种计算位串比较的新方法,可避免任意大的多控制门;还介绍了对预言机的一项简单修改,使 Grover 搜索能够求得子集和问题的近似解。
英文摘要:
We investigate the implementation of an oracle for the Subset Sum problem for quantum search using Grover's algorithm. Our work concerns reducing the number of qubits, gates, and multi-controlled gates required by the oracle. We describe the compilation of a Subset Sum instance into a quantum oracle, using a Python library we developed for Qiskit and have published in GitHub. We then present techniques to conserve qubits and gates along with experiments showing their effectiveness on random instances of Subset Sum. These techniques include moving from fixed to varying-width arithmetic, using partial sums of a set's integers to determine specific integer widths, and sorting the set to obtain provably the most efficient partial sums. We present a new method for computing bit-string comparisons that avoids arbitrarily large multiple-control gates, and we introduce a simple modification to the oracle that allows for approximate solutions to the Subset Sum problem via Grover search.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。