Quantum search algorithm for set operation

  • Authors:
  • Chao-Yang Pang;Ri-Gui Zhou;Cong-Bao Ding;Ben-Qiong Hu

  • Affiliations:
  • Key Software Lab., Sichuan Normal University, Chengdu, People's Republic of China 610066 and College of Mathematics and Software Science, Sichuan Normal University, Chengdu, People's Republic of C ...;College of Information Engineering, East China JiaoTong University, Nanchang, People's Republic of China 330013 and Key Laboratory of Intelligent Computing & Information Processing of Ministry of ...;College of Physics and Electronic Engineering, Sichuan Normal University, Chengdu, People's Republic of China 610066;College of Information Management, Chengdu University of Technology, Chengdu, People's Republic of China 610059

  • Venue:
  • Quantum Information Processing
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

The operations of data set, such as intersection, union and complement, are the fundamental calculation in mathematics. It's very significant that designing fast algorithm for set operation. In this paper, the quantum algorithm for calculating intersection set $${\text{C}=\text{A}\cap \text{B}}$$ is presented. Its runtime is $${O\left( {\sqrt{\left| A \right|\times \left| B \right|\times \left|C \right|}}\right)}$$ for case $${\left| C \right|\neq \phi}$$ and $${O\left( {\sqrt{\left| A \right|\times \left| B \right|}}\right)}$$ for case $${\left| C \right|=\phi}$$ (i.e. C is empty set), while classical computation needs O (|A| 脳 |B|) steps of computation in general, where |.| denotes the size of set. The presented algorithm is the combination of Grover's algorithm, classical memory and classical iterative computation, and the combination method decrease the complexity of designing quantum algorithm. The method can be used to design other set operations as well.