



01566nas a2200133   4500008004100000245004400041210004400085260001500129300001100144490000700155520121600162100001801378856003601396       2017                        eng d00aQuantum Algorithm for Linear Regression0 aQuantum Algorithm for Linear Regression  c2017/07/31  a0123350 v963 a<p>We present a quantum algorithm for fitting a linear regression model to a given data set using the least squares approach. Different from previous algorithms which only yield a quantum state encoding the optimal parameters, our algorithm outputs these numbers in the classical form. So by running it once, one completely determines the fitted model and then can use it to make predictions on new data at negligible cost. Moreover, our algorithm does not require the design matrix to be sparse or need any help from additional state preparation procedures. It runs in time poly(log(N), d, κ, 1/), where N is the size of the data set, d is the number of adjustable parameters, κ is the condition number of the design matrix, and  is the desired precision in the output. We also show that the polynomial dependence on d and κ is necessary. Thus, our algorithm cannot be significantly improved. Furthermore, we also give a quantum algorithm that estimates the quality of the least-squares fit without computing its parameters explicitly. This algorithm runs faster than the one for finding this fit, and can be used to check whether the given data set qualifies for linear regression in the first place.</p>1 aWang, Guoming  uhttps://arxiv.org/abs/1402.0660