无迭代量子支持向量机
Quantum Support Vector Machine without Iteration
摘要:
量子算法可以在不同方面增强机器学习。2014年,Rebentrost $et~al.$构造了一种最小二乘量子支持向量机(LS-QSVM),其中Swap Test在实现分类中起着至关重要的作用。然而,由于先前测试的输出状态不能被重新用于交换测试中的新测试,因此量子算法LS-QSVM必须在准备量子位、操纵操作和执行测量时重复。本文提出了一种基于广义量子幅度估计的QSVM(AE-QSVM),它摆脱了重复过程的约束,节省了量子资源。首先,利用量子奇异值分解训练AE-QSVM。然后,使用广义量子振幅估计对查询样本进行分类,其中通过添加辅助量子比特而不是重复算法可以实现高精度。将AE-QSVM的复杂度降低为$O(κ^{3}\varepsilon^{-3}(log(mn)+1))$,精度为$\varepsilon$,其中$m$是训练向量的数量,$n$是特征空间的维数,$κ$是条件数。实验结果表明,AE-QSVM在训练矩阵、迭代次数、空间复杂度和时间复杂度等方面都具有优势。
英文摘要:
Quantum algorithms can enhance machine learning in different aspects. In 2014, Rebentrost $et~al.$ constructed a least squares quantum support vector machine (LS-QSVM), in which the Swap Test plays a crucial role in realizing the classification. However, as the output states of a previous test cannot be reused for a new test in the Swap Test, the quantum algorithm LS-QSVM has to be repeated in preparing qubits, manipulating operations, and carrying out the measurement. This paper proposes a QSVM based on the generalized quantum amplitude estimation (AE-QSVM) which gets rid of the constraint of repetitive processes and saves the quantum resources. At first, AE-QSVM is trained by using the quantum singular value decomposition. Then, a query sample is classified by using the generalized quantum amplitude estimation in which high accuracy can be achieved by adding auxiliary qubits instead of repeating the algorithm. The complexity of AE-QSVM is reduced to $O(κ^{3}\varepsilon^{-3}(log(mn)+1))$ with an accuracy $\varepsilon$, where $m$ is the number of training vectors, $n$ is the dimension of the feature space, and $κ$ is the condition number. Experiments demonstrate that AE-QSVM is advantageous in terms of training matrix, the number of iterations, space complexity, and time complexity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。