Quantum K-Nearest Neighbors: Utilizing QRAM and SWAP-Test Techniques for Enhanced Performance

掉期(金融) k-最近邻算法 量子 计算机科学 人工智能 物理 业务 量子力学 财务
作者
Alberto Maldonado-Romo,Jesús Yaljá Montiel-Pérez,Victor Onofre,Javier Maldonado-Romo,Humberto Sossa
出处
期刊:Mathematics [Multidisciplinary Digital Publishing Institute]
卷期号:12 (12): 1872-1872 被引量:7
标识
DOI:10.3390/math12121872
摘要

This work introduces a quantum K-Nearest Neighbor (K-NN) classifier algorithm. The algorithm utilizes angle encoding through a Quantum Random Access Memory (QRAM) using n number of qubit addresses with O(log(n)) space complexity. It incorporates Grover’s algorithm and the quantum SWAP-Test to identify similar states and determine the nearest neighbors with high probability, achieving Om search complexity, where m is the qubit address. We implement a simulation of the algorithm using IBM’s Qiskit with GPU support, applying it to the Iris and MNIST datasets with two different angle encodings. The experiments employ multiple QRAM cell sizes (8, 16, 32, 64, 128) and perform ten trials per size. According to the performance, accuracy values in the Iris dataset range from 89.3 ± 5.78% to 94.0 ± 1.56%. The MNIST dataset’s mean binary accuracy values range from 79.45 ± 18.84% to 94.00 ± 2.11% for classes 0 and 1. Additionally, a comparison of the results of this proposed approach with different state-of-the-art versions of QK-NN and the classical K-NN using Scikit-learn. This method achieves a 96.4 ± 2.22% accuracy in the Iris dataset. Finally, this proposal contributes an experimental result to the state of the art for the MNIST dataset, achieving an accuracy of 96.55 ± 2.00%. This work presents a new implementation proposal for QK-NN and conducts multiple experiments that yield more robust results than previous implementations. Although our average performance approaches still need to surpass the classic results, an experimental increase in the size of QRAM or the amount of data to encode is not achieved due to limitations. However, our results show promising improvement when considering working with more feature numbers and accommodating more data in the QRAM.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
Jasper应助张鑫德采纳,获得10
2秒前
2秒前
2秒前
5秒前
6秒前
冰棍鸡杂发布了新的文献求助10
6秒前
天天快乐应助666采纳,获得10
6秒前
乐乐发布了新的文献求助10
7秒前
猹c发布了新的文献求助10
7秒前
8秒前
英姑应助嘻嘻采纳,获得10
8秒前
9秒前
虚心牛排发布了新的文献求助10
9秒前
水寒完成签到,获得积分10
10秒前
ding应助细心的飞松采纳,获得10
11秒前
12秒前
读研的栗子完成签到,获得积分10
12秒前
CScs25完成签到,获得积分10
13秒前
sinon完成签到,获得积分10
13秒前
yuaasusanaann发布了新的文献求助10
14秒前
11235完成签到,获得积分10
15秒前
pokoyo完成签到,获得积分10
16秒前
张鑫德发布了新的文献求助10
16秒前
orixero应助muhong采纳,获得10
17秒前
小黑马发布了新的文献求助10
17秒前
lyx完成签到,获得积分20
19秒前
20秒前
20秒前
长风赴宴完成签到 ,获得积分10
20秒前
科研通AI2S应助猹c采纳,获得10
20秒前
冰棍鸡杂完成签到,获得积分10
22秒前
25秒前
情怀应助yuaasusanaann采纳,获得10
25秒前
25秒前
XHL完成签到 ,获得积分10
26秒前
苹果亦巧发布了新的文献求助30
26秒前
26秒前
29秒前
咕噜肉完成签到,获得积分10
29秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The anomeric effect 1314
Principles of town planning: translating concepts to applications 1000
1 Peter and Christ's Descent to the Dead in Its Early Christian Reception 700
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7734367
求助须知:如何正确求助?哪些是违规求助? 9284722
关于积分的说明 20166571
捐赠科研通 7312176
什么是DOI,文献DOI怎么找? 3304642
关于科研通互助平台的介绍 2457279
邀请新用户注册赠送积分活动 2313831