arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.18306quant-ph
收藏

基于 MindSpore 的精确多目标量子搜索算法优化

The optimization of exact multi-target quantum search algorithm based on MindSpore

Shijin Zhong, Wei Li, Guangzhen Dai, Daohua Wu

AI总结:

本文基于改进 Grover 算法优化扩散算子,在 MindSpore 上实现精确多目标量子搜索,以更少门数和更浅电路保持 100% 成功率。

摘要:

Grover 搜索算法因其在无序数据库搜索问题中相较经典算法具有二次加速而备受关注。然而,Grover 算法在多目标搜索问题中效率较低,只有当数据库中四分之一的数据满足搜索条件时例外。Long 通过引入相位匹配条件提出了 Grover 搜索算法的改进版本,该条件能够以零理论失败率搜索目标态。在本工作中,我们基于改进的 Grover 算法提出一种优化的精确多目标搜索算法,将标准扩散算子变换为更高效的扩散算子,从而能够以 100% 的成功率解决多目标搜索问题,同时所需的门数更少、电路深度更浅。随后,针对四种不同情形的优化多目标算法,包括 2 量子比特含 2 个目标、5 量子比特含 2 个目标、5 量子比特含 4 个目标以及 6 量子比特含 3 个目标,在 MindSpore 框架上进行了实现。实验结果表明,与 Grover 算法和改进的 Grover 算法相比,所提算法可将量子门数至少减少 21.1%,将量子电路深度至少减少 11.4%,并保持 100% 的成功概率。我们的代码可在 https://github.com/mindsporelab/models/tree/master/research/arxiv_papers/GROVER-OP 获取。感谢 MindSpore 社区提供的支持。

英文摘要:

Grover's search algorithm has attracted great attention due to its quadratic speedup over classical algorithms in unsorted database search problems. However, Grover's algorithm is inefficient in multi-target search problems, except in the case of 1/4 of the data in the database satisfying the search conditions. Long presented a modified version of Grover's search algorithm by introducing a phase-matching condition that can search for the target state with a zero theoretical failure rate. In this work, we present an optimized exact multi-target search algorithm based on the modified Grover's algorithm by transforming the canonical diffusion operator to a more efficient diffusion operator, which can solve the multi-target search problem with a 100% success rate while requiring fewer gate counts and shallower circuit depth. After that, the optimized multi-target algorithm for four different items, including 2-qubit with 2 targets, 5-qubit with 2 targets, 5-qubit with 4 targets, and 6-qubit with 3 targets, are implemented on MindSpore framework. The experimental results show that, compared with Grover's algorithm and the modified Grover's algorithm, the proposed algorithm can reduce the quantum gate count by at least 21.1% and the depth of the quantum circuit by at least 11.4% and maintain a 100% success probability. Our code are available at https://github.com/mindsporelab/models/tree/master/research/arxiv_papers/GROVER-OP. Thanks for the support provided by MindSpore Community.

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

↑