arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.13108quant-ph
收藏

基于岭回归的量子预测算法

Quantum Algorithms for Prediction Based on Ridge Regression

Menghan Chen, Chaohua Yu, Gongde Guo, Song Lin

摘要:

提出了一种基于岭回归模型的量子算法,通过对训练数据集的分析,得到最优拟合参数w和正则化超参数α。该算法由两个子算法组成。一种是对新的输入产生预测值,其方法是对初始状态应用相位估计算法|Xi并将受控旋转应用于特征值寄存器。另一种是寻找一个最优的正则化超参数α,其方法是将相位估计算法应用于初始状态|yi并将受控旋转应用于本征值寄存器。第二个子算法可以并行计算整个训练数据集,提高了效率。与经典岭回归算法相比,该算法克服了多重共线性和过拟合问题。而且,它有指数更快.更重要的是,我们的算法可以处理非稀疏矩阵相比,一些现有的量子算法,并有轻微的加速比比现有的量子同行。目前,量子算法有着广泛的应用,本文提出的算法可以作为其他量子算法的子程序。

英文摘要:

We propose a quantum algorithm based on ridge regression model, which get the optimal fitting parameters w and a regularization hyperparameter α by analysing the training dataset. The algorithm consists of two subalgorithms. One is generating predictive value for a new input, the way is to apply the phase estimation algorithm to the initial state |Xi and apply the controlled rotation to the eigenvalue register. The other is finding an optimal regularization hyperparameter α , the way is to apply the phase estimation algorithm to the initial state |yi and apply the controlled rotation to the eigenvalue register. The second subalgorithm can compute the whole training dataset in parallel that improve the efficiency. Compared with the classical ridge regression algorithm, our algorithm overcome multicollinearity and overfitting. Moreover, it have exponentially faster. What's more, our algorithm can deal with the non-sparse matrices in comparison to some existing quantum algorithms and have slightly speedup than the existing quantum counterpart. At present, the quantum algorithm has a wide range of application and the proposed algorithm can be used as a subroutine of other quantum algorithms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑