Quantum K-Nearest Neighbor Classification Algorithm via a Divide-and-Conquer Strategy

被引:30
|
作者
Gong, Li-Hua [1 ]
Ding, Wei [2 ]
Li, Zi [2 ]
Wang, Yuan-Zhi [3 ]
Zhou, Nan-Run [1 ]
机构
[1] Shanghai Univ Engn Sci, Sch Elect & Elect Engn, Shanghai 201620, Peoples R China
[2] Nanchang Univ, Dept Elect Informat Engn, Nanchang 330031, Peoples R China
[3] Anqing Normal Univ, Sch Comp & Informat, Anqing 246011, Peoples R China
基金
中国国家自然科学基金;
关键词
Quantum K-nearest neighbor classification algorithm; Fidelity; divide-and-conquer strategy; majority voting method; quantum machine learning;
D O I
10.1002/qute.202300221
中图分类号
O4 [物理学];
学科分类号
0702 ;
摘要
The K-nearest neighbor algorithm is one of the most frequently applied supervised machine learning algorithms. Similarity computing is considered to be the most crucial and time-consuming step among the classical K-nearest neighbor algorithm. A quantum K-nearest neighbor algorithm is proposed based on the divide-and-conquer strategy. A quantum circuit is designed to calculate the fidelity between the test sample and each feature vector of the training dataset. The quantum K-nearest neighbor algorithm has higher classification efficiency in high-dimensional data processing. The classification accuracy of the proposed algorithm is equivalent to that of the classical K-nearest neighbor algorithm under the IRIS dataset. In addition, compared with the typical quantum K-nearest neighbor algorithms, the proposed classification method possesses higher classification accuracy with less calculation time, which has wide applications in the industrial field. An efficient quantum K-nearest neighbor (QKNN) classification scheme is designed based on a divide-and-conquer strategy. The QKNN algorithm makes full use of the ability of parallel computation. The proposed QKNN classification algorithm can provide an accurate approximation to the classical KNN classification algorithm, and has more accurate classification performance with less running time than the typical QKNN classification algorithms. image
引用
收藏
页数:12
相关论文
共 50 条
  • [1] Quantum K-nearest neighbor algorithm
    Chen, Hanwu
    Gao, Yue
    Zhang, Jun
    Dongnan Daxue Xuebao (Ziran Kexue Ban)/Journal of Southeast University (Natural Science Edition), 2015, 45 (04): : 647 - 651
  • [2] Comparative Analysis of K-Nearest Neighbor and Modified K-Nearest Neighbor Algorithm for Data Classification
    Okfalisa
    Mustakim
    Gazalba, Ikbal
    Reza, Nurul Gayatri Indah
    2017 2ND INTERNATIONAL CONFERENCES ON INFORMATION TECHNOLOGY, INFORMATION SYSTEMS AND ELECTRICAL ENGINEERING (ICITISEE): OPPORTUNITIES AND CHALLENGES ON BIG DATA FUTURE INNOVATION, 2017, : 294 - 298
  • [4] Quantum K-nearest neighbor classification algorithm based on Hamming distance
    Jing Li
    Song Lin
    Kai Yu
    Gongde Guo
    Quantum Information Processing, 2022, 21
  • [5] Quantum K-nearest neighbor classification algorithm based on Hamming distance
    Li, Jing
    Lin, Song
    Yu, Kai
    Guo, Gongde
    QUANTUM INFORMATION PROCESSING, 2022, 21 (01)
  • [6] An Improved K-Nearest Neighbor Algorithm for Pattern Classification
    Sultana, Zinnia
    Ferdousi, Ashifatul
    Tasnim, Farzana
    Nahar, Lutfun
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2022, 13 (08) : 760 - 767
  • [7] An Enhanced Quantum K-Nearest Neighbor Classification Algorithm Based on Polar Distance
    Feng, Congcong
    Zhao, Bo
    Zhou, Xin
    Ding, Xiaodong
    Shan, Zheng
    ENTROPY, 2023, 25 (01)
  • [8] A nearest-neighbor divide-and-conquer approach for adaptive random testing
    Huang, Rubing
    Sun, Weifeng
    Chen, Haibo
    Cui, Chenhui
    Yang, Ning
    Science of Computer Programming, 2022, 215
  • [9] A nearest-neighbor divide-and-conquer approach for adaptive random testing
    Huang, Rubing
    Sun, Weifeng
    Chen, Haibo
    Cui, Chenhui
    Yang, Ning
    SCIENCE OF COMPUTER PROGRAMMING, 2022, 215
  • [10] A divide-and-conquer algorithm for quantum state preparation
    Araujo, Israel F.
    Park, Daniel K.
    Petruccione, Francesco
    da Silva, Adenilton J.
    SCIENTIFIC REPORTS, 2021, 11 (01)