Benchmarking quantum versions of the kNN algorithm with a metric based on amplitude-encoded features

使用基于幅度编码特征的指标对量子版本的kNN算法进行基准测试

阅读:1

Abstract

This work introduces a quantum subroutine for computing the distance between two patterns and integrates it into two quantum versions of the kNN classifier algorithm: one proposed by Schuld et al. and the other proposed by Quezada et al. Notably, our proposed subroutine is tailored to be memory-efficient, requiring fewer qubits for data encoding, while maintaining the overall complexity for both QkNN versions. This research focuses on comparing the performance of the two quantum kNN algorithms using the original Hamming distance with qubit-encoded features and our proposed subroutine, which computes the distance using amplitude-encoded features. Results obtained from analyzing thirteen different datasets (Iris, Seeds, Raisin, Mine, Cryotherapy, Data Bank Authentication, Caesarian, Wine, Haberman, Transfusion, Immunotherapy, Balance Scale, and Glass) show that both algorithms benefit from the proposed subroutine, achieving at least a 50% reduction in the number of required qubits, while maintaining a similar overall performance. For Shuld's algorithm, the performance improved in Cryotherapy (68.89% accuracy compared to 64.44%) and Balance Scale (85.33% F1 score compared to 78.89%), was worse in Iris (86.0% accuracy compared to 95.33%) and Raisin (77.67% accuracy compared to 81.56%), and remained similar in the remaining nine datasets. While for Quezada's algorithm, the performance improved in Caesarian (68.89% F1 score compared to 58.22%), Haberman (69.94% F1 score compared to 62.31%) and Immunotherapy (76.88% F1 score compared to 69.67%), was worse in Iris (82.67% accuracy compared to 95.33%), Balance Scale (77.97% F1 score compared to 69.21%) and Glass (40.04% F1 score compared to 28.79%), and remained similar in the remaining seven datasets.

特别声明

1、本页面内容包含部分的内容是基于公开信息的合理引用;引用内容仅为补充信息,不代表本站立场。

2、若认为本页面引用内容涉及侵权,请及时与本站联系,我们将第一时间处理。

3、其他媒体/个人如需使用本页面原创内容,需注明“来源:[生知库]”并获得授权;使用引用内容的,需自行联系原作者获得许可。

4、投稿及合作请联系:info@biocloudy.com。