Abstract
In this paper, a quantum algorithm based on ridge regression model is proposed. The proposed quantum algorithm consists of two parts. One is the first quantum sub-algorithm to efficiently generate predictive values for new inputs. The non-sparse Hamiltonian simulation technique is applied to simulate the data matrix that is generally non-sparse. Therefore, there is no need to expand the data matrix into a larger sparse Hermitian matrix, and the predictive results can be obtained without projection operation at the end of the first sub-algorithm, which makes it more feasible. The other is to determine a reasonable regularization parameter. To achieve this goal, the second sub-algorithm is proposed. In the second sub-algorithm, the suitable one is selected from some candidates using phase estimation algorithm and the controlled rotation operation. In this way, the whole training dataset can be calculated in parallel, which greatly reduces the time complexity. In addition, it is shown that the proposed quantum ridge regression algorithms can achieve exponential speedup over the classical counterpart when the rank of the data matrix is low.




Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Schuld M, Sinayskiy I, Petruccione F (2015) An introduction to quantum machine learning. Contemp Phys 56:172
Biamonte J, Wittek P, Pancotti N (2017) Quantum machine learning. Nature 549:195
Chen H, Chiang RH, Storey VC (2012) Business intelligence and analytics: from big data to big impact. Manag Inf Syst Q 36:1165
Walther P, Resch KJ, Rudolph T (2005) Experimental one-way quantum computing. Nature 7030:169
Alhaidari AD, Taiwo TJ (2017) Wilson–Racah quantum system. J Math Phys 2:022101
Shor PW (1994) Algorithms for quantum computation: discrete logarithms and factoring. In: Proceedings of the 35th annual symposium on foundations of computer science, p 124
Duan B, Yuan J, Xu J, Li D (2019) Quantum algorithm and quantum circuit for A-optimal projection: dimensionality reduction. Phys Rev A 99:032311
Liang J, Shen S, Li M, Li L (2020) Variational quantum algorithms for dimensionality reduction and classification. Phys Rev A 101:032323
Rebentrost P, Mohseni M, Lloyd S (2014) Quantum support vector machine for big data classification. Phys Rev A 113:130503
Duan B, Yuan J, Liu Y, Li D (2017) Quantum algorithm for support matrix machines. Phys Rev A 96:032301
Lu S, Braunstein SL (2014) Quantum decision tree classifier. Quantum Inf Process 13:757
Yu C, Gao F, Wang Q, Wen Q (2016) Quantum algorithm for association rules mining. Phys Rev A 94:042311
Cao H, Cao F, Wang D (2015) Quantum artificial neural networks with applications. Inf Sci 290:1
Haney BS (2020) Quantum machine learning: a patent review. SSRN Electron J 4
Dunjko V, Briegel HJ (2018) Machine learning and artificial intelligence in the quantum domain: a review of recent progress. Rep Prog Phys 81:074001
Wiebe N, Braun D, Lloyd S (2012) Quantum algorithm for data fitting. Phys Rev Lett 109:050505
Harrow AW, Hassidim A, Lloyd S (2009) Quantum algorithm for linear systems of equations. Phys Rev Lett 15:150502
Schuld M, Sinayskiy I, Petruccione F (2016) Prediction by linear regression on a quantum computer. Phys Rev A 94:022342
Wang G (2017) Quantum algorithm for linear regression. Phys Rev A 96:012335
Liu Y, Zhang S (2017) Fast quantum algorithms for least squares regression and statistic leverage scores. Theor Comput Sci 657:38
Yu CH, Gao F, Wen QY (2021) An improved quantum algorithm for ridge regression. IEEE Trans Knowl Data Eng 33:858
Date P, Potok T (2020) Adiabatic quantum linear regression. arXiv:2008.02355
Zhang DB, Xue ZY, Zhu SL et al (2019) Realizing quantum linear regression with auxiliary qumodes. Phys Rev A 99:012331
Lloyd S, Mohseni M, Rebentrost P (2014) Quantum principal component analysis. Nat Phys 10:631
Hoerl AE, Kennard RW (2000) Ridge regression: biased estimation for nonorthogonal problems. Technometrics 42:80
Lay D (2014) Handbook of linear algebra. Discrete mathematics and its applications. Chapman and Hall/CRC, London
Nielsen MA, Chuang IL (2010) Quantum computation and quantum information. Cambridge University Press, Cambridge
Buhrman H, Cleve R, Watrous J (2001) Quantum fingerprinting. Phys Rev Lett 87:167902
Brassard G, Hoyer P, Mosca M (2000) Quantum amplitude amplification and estimation. arXiv:quant-ph/0005055
Rastegin AE (2018) On the role of dealing with quantum coherence in amplitude amplification. Quantum Inf Process 17:179
Chen S, Liu Y, Lyu M, King I, Zhang S (2015) Fast relative-error approximation algorithm for ridge regression. In: Proceedings of the 31st conference on uncertainty in artificial intelligence, p 201
Acknowledgements
This work was supported by National Natural Science Foundation of China (Grant nos. 61772134, 61976053, 62006105 and 62171131), Fujian Province Natural Science Foundation (Grant No. 2018J01776), Jiangxi Provincial Natural Science Foundation (Grant No. 20202BABL212004) and Program for New Century Excellent Talents in Fujian Province University.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Chen, M., Yu, C., Guo, G. et al. Faster quantum ridge regression algorithm for prediction. Int. J. Mach. Learn. & Cyber. 14, 117–124 (2023). https://doi.org/10.1007/s13042-022-01526-6
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s13042-022-01526-6