| Literature DB >> 31700001 |
Chih-Chieh Chen1, Shiue-Yuan Shiau2, Ming-Feng Wu3, Yuh-Renn Wu4.
Abstract
We propose a realistic hybrid classical-quantum linear solver to solve systems of linear equations of a specific type, and demonstrate its feasibility with Qiskit on IBM Q systems. This algorithm makes use of quantum random walk that runs in [Formula: see text](N log(N)) time on a quantum circuit made of [Formula: see text](log(N)) qubits. The input and output are classical data, and so can be easily accessed. It is robust against noise, and ready for implementation in applications such as machine learning.Entities:
Year: 2019 PMID: 31700001 PMCID: PMC6838121 DOI: 10.1038/s41598-019-52275-6
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.379
Figure 1(a) Quantum (or classical) random walk on an undirected graph. The transition probability of going from node to node or vice versa is equal to , these elements forming a matrix. (b) The four nodes on this Hamming cube are labeled by integers ; they are encoded as four different states , , , , respectively.
Figure 2Discrete-time coined quantum walk circuit for the transition matrix given in Eq. (10). Qubits and are state register qubits to represent the four-node graph in Fig. 1, first set as 0 before initialization, while the qubit is the coin register qubit. The measured registers and are fed back to initialize the next iteration. The classical-step is repeated c times to obtain the Neumann expansion up to order c.
Figure 3Relative errors as a function of the sampling number n for and matrices. The relevant parameters and estimated errors for these two matrices can be found in Table 1. Black solid lines represent the error reduction expected for Monte Carlo calculations. (Upper figure) Red dashed line and green dash-dotted line are the results computed by the QASM simulator. (Lower figure) Blue dash-dotted line and red dotted line are data for the same matrices computed by the IBM Q 20 Tokyo machine or Poughkeepsie machine. Cyan and magenta horizontal dashed lines depict the estimated errors.
Relevant parameters for the matrices A of various sizes used for numerical experiments.
| N | c | q |
| Condition number | Estimated error |
|---|---|---|---|---|---|
| 64 | 6 | 2 | 0.3 | 1.457 | |
| 128 | 6 | 2 | 0.3 | 1.599 | |
| 256 | 6 | 1 | 0.3 | 1.857 | 0.1255 |
| 1024 | 10 | 1 | 0.5 | 2.973 | 0.2010 |
Estimated error is defined in the text.
Figure 4Relative errors as a function of the sampling number n for and matrices, obtained by performing two quantum walk evolutions, . Black solid lines represent the error reduction expected for Monte Carlo calculations. Red dashed line and blue dotted line are the results computed by the QASM simulator.
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 Direct[ |
|
| efficient for any |
| Classical Iterative[ |
|
| efficient for any |
| Quantum HHL[ |
| norm | |
| Classical MC[ |
|
| efficient for any |
| Classical RW on HC (for one component |
|
| efficient for any |
| Hybrid QW on HC (for one component |
| efficient for any |
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).