• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2023, Vol. 45 ›› Issue (03): 420-425.

• High Performance Computing • Previous Articles     Next Articles

Circuit optimization of Grover quantum search algorithm

WU Xi,LI Zhi-qiang,YANG Dong-han   

  1. (College of Information Engineering,Yangzhou University,Yangzhou 225000,China)
  • Received:2021-06-25 Revised:2021-12-27 Accepted:2023-03-25 Online:2023-03-25 Published:2023-03-22

Abstract: Grover algorithm is a quantum search algorithm that can find the target state efficiently. However, with the increase of the amount of searching data, Grovers quantum circuit is faced with the complex gate decomposition problem. In todays NISQ era, resources are very limited, so circuit depth is an important metric. This paper introduces a two-stage quantum search algorithm based on divide-and-conquer, which can run quickly in parallel on a quantum computer. A circuit optimization method is proposed to reduce the number of iterations by using block-level oracle circuit. Combining this method with divide-and-conquer idea, it is defined as 2P-Grover algorithm. The simulation experiment was carried out on the quantum computing framework Cirq.  The experimental results show that, compared with Grover algorithm, the 2P-Grover algorithm can reduce the circuit depth by at least 1.2 times and maintain a high probability of search success.

Key words: quantum circuit, Grover algorithm, QPSA algorithm, quantum information, Cirq framework