Comparison of Quantum and Classical Algorithm in Searching a Number in a Database Case

Authors

  • Zhiyao Wang

DOI:

https://doi.org/10.54097/hset.v38i.5831

Keywords:

Grover’s algorithm; classical search algorithm; quantum computing.

Abstract

Contemporarily, quantum computing is one of the hottest research fields. Many quantum algorithms are proposed in order to utilize the power of quantum computers. Grover’s searching algorithm is one of them. In this article, by comparing a classical searching algorithm and Grover’s algorithm in the problem of finding a number in a finite database, the advantages of the latter are discussed. The actual quantum circuit to solve the problem is built and run on both a simulator and a real quantum computer. According to the analysis, Grover’s algorithm provides speedup in a searching task compared to the classical algorithm. However, noises in today’s quantum devices make the result of the quantum algorithm unreliable. In searching for multiple numbers, Grover’s algorithm has its shortcomings. Nevertheless, noises in quantum computing need to be addressed in order to utilize the potential of quantum computers in solving difficult problems. These results shed light on guiding further exploration of quantum algorithms and quantum computing.

Downloads

Download data is not yet available.

References

Feynman R P. Simulating Physics with Computers. International Journal of Theoretical Physics, 1982, 21(6/7).

Bhat H A, Khanday F A, Kaushik B K, et al. Quantum Computing: Fundamentals, Implementations and Applications. IEEE Open Journal of Nanotechnology, 2022, 3: 61-77.

Deutsch D, Jozsa R. Rapid solution of problems by quantum computation. Proceedings of the Royal Society of London. Series A: Mathematical and Physical Sciences, 1992, 439(1907): 553-558.

Shor P W. Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer. SIAM review, 1999, 41(2): 303-332.

Rivest R L, Shamir A, Adleman L. A method for obtaining digital signatures and public-key cryptosystems. Communications of the ACM, 1978, 21(2): 120-126.

Imam R, Areeb Q M, Alturki A, et al. Systematic and critical review of rsa based public key cryptographic schemes: Past and present status. IEEE Access, 2021.

Grover L K. A fast quantum mechanical algorithm for database search. Proceedings of the twenty-eighth annual ACM symposium on Theory of computing. 1996: 212-219.

Hou S Y, Feng G, Wu Z, et al. SpinQ Gemini: a desktop quantum computer for education and research. arXiv preprint arXiv:2101.10017, 2021.

Pogorelov I, Feldker T, Marciniak C D, et al. Compact ion-trap quantum computing demonstrator. PRX Quantum, 2021, 2(2): 020343.

Chow, Jerry, et al. IBM Quantum Breaks the 100 Qubit Processor Barrier. 16 Nov 2021. Retrieved from: https://research.ibm.com/blog/127-qubit-quantum-processor-eagle.

Gerlach W, Stern O. Der experimentelle nachweis der richtungsquantelung im magnetfeld. Zeitschrift für Physik, 1922, 9(1): 349-352.

Mermin N D. Quantum computer science: an introduction. Cambridge University Press, 2007.

Nielsen M A, Chuang I L. Quantum computation and quantum information. Phys. Today, 2001, 54(2): 60.

IBM Quantum. Retrieved from: https://quantum-computing.ibm.com/, 2021

Johnstun S, Van Huele J F. Understanding and compensating for noise on IBM quantum computers. American Journal of Physics, 2021, 89(10): 935-942.

Downloads

Published

16-03-2023

How to Cite

Wang, Z. (2023). Comparison of Quantum and Classical Algorithm in Searching a Number in a Database Case. Highlights in Science, Engineering and Technology, 38, 370-376. https://doi.org/10.54097/hset.v38i.5831