Chinese Journal of Quantum Electronics ›› 2020, Vol. 37 ›› Issue (2): 202-209.

• Quantum Optics • Previous Articles     Next Articles

Deutsch-Jozsa algorithm realized on IBM Q

DAI Juan,LI Zhiqiang,PAN Suhan,ZHANG Wei,HU Jiajia   

  1. College of Information Engineering, Yangzhou University, Yangzhou 225100, China
  • Received:2019-06-25 Revised:2019-10-10 Published:2020-03-28 Online:2020-03-28

Abstract: Deutsch-Jozsa algorithm realizes the exponential acceleration of classical algorithm for the first time, and solves the Deutsch problem of n qubits. The algorithm establishes the basic idea of quantum algorithms, and the implementation of which embodies the characteristics of quantum superposition and parallelism. A comprehensive algorithm is proposed for the first time, which can automatically generate all 8 truth tables and quantum circuits of 2-bit Deutsch-Jozsa algorithm. A synthesis method is given further to judge the properties of f(x) by constructing quantum circuit when the corresponding circuit is unknown. Generally, a typical classical algorithm solves this problem by doing 2n-1+1 times, and the Deutsch-Jozsa algorithm only needs one time. Although the new approach requires two steps to solve the problem, it provides another possible way to solve the problems with specific requirements in practical application. In addition, the correctness of the quantum circuits and Deutsch-Jozsa algorithm is verified by IBM Q Experience platform.

Key words: quantum information, Deutsch-Jozsa algorithm, quantum circuits, synthesis algorithm, IBM Q Experience

CLC Number: