Table 2.
Comparison of various algorithms for solving N × N linear systems , with respect to time and space complexities, and Input/Output issues.
| Algorithm | Time | Space for A | Input/Output |
|---|---|---|---|
| Classical Direct2,3 | efficient for any | ||
| Classical Iterative2,3 | efficient for any | ||
| Quantum HHL4 | qubits | norm not available difficult for | |
| Classical MC45,53,55 (for one component xI) | efficient for any limited A (stochastic P) | ||
| Classical RW on HC (for one component xI) | efficient for any limited A (factorisable P) | ||
| Hybrid QW on HC (for one component xI) | qubits | efficient for any limited A (correlated P) |
Note that for classical Monte Carlo (MC) method, classical random walk (RW) and hybrid quantum random walk (QW), the time complexities in the table are per sampling time. It takes samplings to achieve the desired accuracy (see the text).