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.
Sun Yat-sen University(中山大学);Tsinghua University(清华大学);Quantum Science Center of Guangdong-Hong Kong-Macao Greater Bay Area (Guangdong)(粤港澳大湾区量子科学中心(广东));QUDOOR Co, Ltd.(QUDOOR有限公司)
Distributed Exact Quantum Amplitude Amplification Algorithm for Arbitrary Quantum States
Yangtze Delta Industrial Innovation Center of Quantum Science and Technology(长三角量子科技产业创新中心);Shanghai MiQro Era Digital Technology Co., Ltd.(上海微元时代数字科技有限公司);Shenzhen University(深圳大学);Quantum Science Center of Guangdong-Hong Kong-Macao Greater Bay Area (Guangdong)(粤港澳大湾区量子科学中心(广东))
Exact quantum algorithm for searching of multiple sets intersection
School of Mathematical Sciences, Hangzhou Dianzi University(杭州电子科技大学数学科学学院);School of Computer and Computing Science, Hangzhou City University(杭州城市大学计算机与计算科学学院)
Exact quantum search based on analytical multiphase matching for known number of target items and the experimental demonstration on IBM Q
在[Phys. Rev. Lett. 113,210501(2014)],为了在目标项的未知分数(由$λ$表示)的情况下实现最优定点量子搜索,已经提出了分析多相匹配(AMPM)条件。本文发现,在已知$λ$的情况下,AMPM条件也可用于设计精确量子搜索算法,且最小迭代次数达到了现有精确算法的最优水平。在IBM的量子计算机上进行了实验验证。此外,我们还从理论上找到了基于AMPM条件的算法和基于单相匹配的算法中绝对值相等的两个相位重合。我们的工作证实了AMPM条件在已知$λ$情况下的实用性,并有助于理解该条件的机理.