Chinese Journal of Quantum Electronics ›› 2021, Vol. 38 ›› Issue (3): 332-340.doi: 10.3969/j.issn.1007-5461.2021.03.009

• Quantum Optics • Previous Articles     Next Articles

Quantum recommendation algorithm based on Hamming distance

CHEN Menghan, GUO Gongde, LIN Song∗   

  1. School of Mathematics and Informatics, Fujian Normal University, Fuzhou 350007, China
  • Received:2021-01-04 Revised:2021-03-17 Published:2021-05-28 Online:2021-05-28

Abstract: A content-based quantum recommendation algorithm based on quantum Hamming distance is proposed. In the proposed algorithm, quantum mechanical properties are utilized to sum up the attributes of historical movies watched by users parallelly, so that the favorite attributes of the users can be calculated efficiently. Then, the quantum Hamming distance between the new movies’ attributes and the favorite attributes is derived, which represents the similarity of them. Finally, one new movie with the highest similarity is obtained, which means the task of recommendation is achieved. Analysis shows that the proposed algorithm is exponentially faster in the runtime than the classical counterpart.

Key words: quantum information, quantum recommendation algorithm, quantum Hamming distance; quantum parallelism, amplitude amplification

CLC Number: