Quantum k-means algorithm based on Manhattan distance

被引:19
|
作者
Wu, Zhihao [1 ]
Song, Tingting [2 ,3 ]
Zhang, Yanbing [2 ]
机构
[1] Jinan Univ, Coll Cyber Secur, Guangzhou 510632, Peoples R China
[2] Jinan Univ, Coll Informat Sci & Technol, Guangzhou 510632, Peoples R China
[3] Guangxi Key Lab Cryptog & Informat Secur, Guilin 541004, Peoples R China
关键词
Quantum machine learning; Quantum algorithm; Quantum computation;
D O I
10.1007/s11128-021-03384-7
中图分类号
O4 [物理学];
学科分类号
0702 ;
摘要
Traditional k-means algorithm measures the Euclidean distance between any two data points, but it is not applicable in many scenarios, such as the path information between two cities, or when there are some obstacles between two data points. To solve the problems, we propose a quantum k-means algorithm based on Manhattan distance (QKMM). The main two steps of the QKMM algorithm are calculating the distance between each training vector and k cluster centroids, and choosing the closest cluster centroid. The quantum circuit is designed, and the time complexity is O(log(Nd) + 2 n root k), where N is number of training vectors, d is number of features for each training vector, n is number of bits for each feature, and k is the number of clustering classes. Different from other quantum k-means algorithms, our algorithm has wide applications and reduces the complexity. Compared with classical k-means algorithm, our algorithm reaches quadratic speedup.
引用
收藏
页数:10
相关论文
empty
未找到相关数据