Context and Motivation:
As discussed here, in multilinear regression, we can express the linear system as $AX = b$. This leads to $A^TA \hat{X} = A^T b$. From here, the estimated value of $X$ is calculated as $(A^TA)^{-1}A^Tb$. The whole process basically involves three steps:
Matrix multiplication of $A$ and $A^T$: $\mathcal{O}(C^2N)$
Matrix multiplication of $A^T$ and column matrix $b$: $\mathcal{O}(CN)$
LU/Cholesky factorization of matrix $A^T A$ used to compute the product $(A^TA)^{-1}A^Tb$: $\mathcal{O}(C^3)$.
Note: $N$ is the number of training samples. $C$ is the number of features/variables.
Questions:
I guess we could speed up step $3$ by using the HHL although I guess that would be worth it only if $C$ is sufficiently large i.e. $C\lesssim N$. But is there any quantum algorithm to speed up steps 1 and 2 (which involve matrix multiplication)? The fastest classical matrix multiplication algorithms as of today have time complexities around $\mathcal{O}(N^{2.37})$.
So:
- Can we do better than that? What are state-of-the-art general purpose quantum algorithms as of today, as far as matrix multiplication is concerned?
(By "general purpose" I mean that the algorithm should have no specific restrictions on the elements of the matrices. An user mentioned in the comments that there are different quantum matrix multiplication algorithms depending on sparsity, condition number, etc. which sounds reasonable to me. So any answer which lists and summarizes the best quantum algorithms for different such conditions/restrictions is also welcome.)
- Would the state-of-the-art quantum matrix multiplication algorithm(s) coupled with HHL help to produce an overall reduction in the time complexity (considering all the three steps as a whole) of multilinear regression? If yes, by how much?
(I'm looking for an asymptotic analysis as in here which states that the overall time complexity of classical multilinear regression at best is $\mathcal{O}(C^2N)$).
Note:
Please summarize any algorithm you mention (along with the constraints involved). It is practically impossible for people to read each and every paper referenced in order to check whether it suits their criteria!