• 沒有找到結果。

0.7606 −0.6493

T

, and its state fidelity is 66.31%.

Figure 4.6: The result of the HHL algorithm on the real device. The left diagram shows the state fidelity of each stage and the right diagram shows the measurement result of the answer |xi.

123

The error on a quantum simulator is exactly 0%, so the error comes from the imperfect quantum device. Note that the initialization and the phase estimation let the state fidelity decrease slowly, but the reciprocal rotation doesn’t. The error of a two-qubit controlled gate is ten times larger than a single qubit gate. The reciprocal rotation stage in my circuit includes many controlled rotations, this is the reason why the state fidelity decrease rapidly in that stage.

4.5 Discussion

123

Base on the properties of quantum computers, I have presented the whole pro-cess of the quantum algorithm for solving a linear system problem by quantum computers. Then, I have implemented them successfully on a quantum simulator and a real quantum computer. In fact, there are some problems that need to be overcome before the realization of quantum linear system algorithm to be useful for general cases. First, the algorithm I proposed for preparing an arbitrary unitary gate is general but may not be the most efficient. This optimization problem is stills a research topic nowadays. Once the unitary gate W in the WZP algorithm can be prepared in O(n3) time for both classical and quantum cases, rather than

O(n4), the whole quantum process is better than the classical algorithm. Second, the final answer to the quantum linear system algorithms are stored in the ampli-tude of quantum state, but there is no efficient way to read out the ampliampli-tudes for many qubits so far. If we can design an algorithm that stores the answer in the basis instead of amplitudes, then the readout step can be efficient. Another way to avoid the problem is to view QLSA’s as a subroutine of another quantum algorithm, so we don’t need to read out the amplitudes. Third, the errors in a real quantum computer come from initializations, quantum gates, and measurements. The ini-tialization and measurement errors depend on the width of a quantum circuit (the number of qubits), and the quantum gate errors depend on the depth (the number of gates in series). Besides the improvement of devices, we can trade off between the qubits used and the gates used. Another method is to do the quantum error cor-rection. But this can not be a solution in the present time since the phyical qubits used for logical qubits must be much more than 20 qubits. That is, the quantum error correction scheme can be realized only when the quantum computer has been scaled up to many qubits system.

Chapter 5 Conclusion

123

To summarize, the quantum parallelism due to the superposition property and the exponential growth of the Hilbert space due to the tensor product makes tum computers powerful. Further, solving a linear system problem using the quan-tum algorithm has exponential improvement on quanquan-tum computer as long as the previous problems mentioned in Discussion section can be solved, and they can be then applied to the problems in machine learning. Furthermore, I have proposed the algorithm to map a n × 1 vector ~v into quantum states |vi in O(n) time, and the algorithm to map a n × n unitary matrix U into quantum circuit with universal gates in O(n3) time for both classical and quantum cases. The HHL algorithm takes O(s2log(n)) and is efficient for only dealing with a sparse matrix, but the WZP algorithm takes O(polylog(n)) and is efficient for general case. Finally, I use only six qubits to solve a particular 2×2 quantum linear system problem and reach more than 99% fidelity on quantum simulator and 66% on real quantum computer. A key point to achieve this is that the reciprocal rotation circuit I designed is an exact transformation, which can be generalized to serve as an important component for solving an quantum linear system problem with arbitrary n × n dimenional matrix.

Bibliography

[1] R. H. Myers and R. H. Myers, Classical and modern regression with applications, vol. 2 (Duxbury press Belmont, CA, 1990).

[2] J. A. Suykens and J. Vandewalle, Neural processing letters 9, 293 (1999).

[3] P. Resnick and H. R. Varian, Communications of the ACM 40, 56 (1997).

[4] G. Strang, The American Mathematical Monthly 100, 848 (1993).

[5] J. R. Shewchuk et al., An introduction to the conjugate gradient method without the agonizing pain (1994).

[6] A. W. Harrow, A. Hassidim, and S. Lloyd, Physical review letters 103, 150502 (2009).

[7] D. Dervovic, M. Herbster, P. Mountney, S. Severini, N. Usher, and L. Wossnig, arXiv preprint arXiv:1802.08227 (2018).

[8] D. W. Berry, G. Ahokas, R. Cleve, and B. C. Sanders, Communications in Mathematical Physics 270, 359 (2007).

[9] A. M. Childs and R. Kothari, arXiv preprint arXiv:0908.4398 (2009).

[10] L. Wossnig, Z. Zhao, and A. Prakash, Physical review letters 120, 050502 (2018).

[11] H. W. Chung, Ph.D. thesis, Massachusetts Institute of Technology (2014).

[12] M. A. Nielsen and I. Chuang, Quantum computation and quantum information (2002).

[13] E. Alpaydin, Introduction to machine learning (MIT press, 2009).

[14] C. K. Li and D. C. Pelejo, International Journal of Quantum Information 12, 1450002 (2014).

[15] C.-K. Li, R. Roberts, and X. Yin, International Journal of Quantum Informa-tion 11, 1350015 (2013).

[16] J. J. Vartiainen, M. M¨ott¨onen, and M. M. Salomaa, Physical review letters 92, 177902 (2004).

[17] M.-J. Hu, Z.-Y. Zhou, X.-M. Hu, C.-F. Li, G.-C. Guo, and Y.-S. Zhang, npj Quantum Information 4, 63 (2018).

[18] K. H. Rosen and K. Krithivasan, Discrete mathematics and its applications:

with combinatorics and graph theory (Tata McGraw-Hill Education, 2012).

[19] M. M¨ott¨onen, J. J. Vartiainen, V. Bergholm, and M. M. Salomaa, Physical review letters 93, 130502 (2004).

[20] M. Mottonen and J. J. Vartiainen, arXiv preprint quant-ph/0504100 (2005).

[21] T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein, Introduction to algorithms (MIT press, 2009).

[22] R. Cleve, Collected Papers on Quantum Computation and Quantum Informa-tion Theory pp. 103–127 (2000).

[23] D. S. Touretzky, M. C. Mozer, and M. E. Hasselmo, Advances in Neural Infor-mation Processing Systems 8: Proceedings of the 1995 Conference, vol. 8 (Mit Press, 1996).

[24] S. Nayak, Journal of Global Research in Computer Science 2, 50 (2011).

[25] D. Wang, O. Higgott, and S. Brierley, Physical review letters 122, 140504 (2019).

[26] M. Schuld, A. Bocharov, K. Svore, and N. Wiebe, arXiv preprint arXiv:1804.00633 (2018).

[27] J. A. Suykens and J. Vandewalle, in IJCNN (1999), vol. 99, p. 900.

[28] S. Lloyd, Science pp. 1073–1078 (1996).

[29] S. Dutta, A. Suau, S. Dutta, S. Roy, B. K. Behera, and P. K. Panigrahi, arXiv preprint arXiv:1811.01726 (2018).

[30] Y. Cao, A. Daskin, S. Frankel, and S. Kais, Molecular Physics 110, 1675 (2012).

[31] Y. Zheng, C. Song, M.-C. Chen, B. Xia, W. Liu, Q. Guo, L. Zhang, D. Xu, H. Deng, K. Huang, et al., Physical review letters 118, 210504 (2017).

[32] S. Barz, I. Kassal, M. Ringbauer, Y. O. Lipp, B. Dakic, A. Aspuru-Guzik, and P. Walther, arXiv preprint arXiv:1302.1210 (2013).

[33] I. Kerenidis and A. Prakash, ITCS2017 (Dagstuhl, 2017) 67, 1 (2017).

Appendix A

Proof of the matrix factorizations

123

Given a matrix A ∈ Rm×n. The singular value decomposition (SVD) is A = U ΣVH, where U is an m × m unitary matrix, V is an n × n unitary matrix, and Σ is a rectangular diagonal matrix with decreased sorted singular values σi. In this section, we showed the derivation of SVD. Start from the equation

A = U ΣVH

Hence,

The singular value σi and the singular vector vi are in the equation

AHA~vi = σi2v~i. (A.4)

The other part of the answer, singular vector ui is in the equation

A~vi = σiu~i, qed. (A.6)

123

The next is the vectorization decomposition. Given a matrix A ∈ Rm×n. A = MHN ||A||F is called vectorization decomposition (VD). The matrix M is a mn × m isometry matrix, and N is a mn × n isometry matrix. The scalar ||A||F is the Frobenius norm of A. The ith column of M is

M ~ei = ~ei⊗ A~i H

|| ~Ai|| = ~ei⊗ 1

|| ~Ai||[Σnj=1Aije~jH]H = 1

|| ~Ai||Σnj=1Aij~ei⊗ ~ej, (A.7)

and the jth column of N is

N ~ej = a~F

||A||F ⊗ ~ej = 1

||A||FΣmi=1|| ~Ai||~ei⊗ ~ej. (A.8)

The elements of MHN is ith row of MH times jth column of N , which is equivalent to ith column of M times jth column of N . It also becomes

(MHN )ij = (M ~ei)(N ~ej) = Aij

||A||F, qed. (A.9)

Appendix B

Proof of the eigenvalues of W

123

Recall the vectorization decomposition A = MHN ||A||F and the orthogonal projection generate an unitary operator

W = (2M MH − I)(2N NH − I). (B.1)

Since W is a series of reflection, some of its eigenvectors are relate to M ~ui and N ~vi, which are called non-trivial eigenvectors ~v±. First, express the eigenvector ~wi as the linear combination of the bases spanning the column spaces R(M ) and R(N ).

~

wi = aM ~ui+ bN ~vi, (B.2)

where a and b are two constants. Next, multiply W on the bases. Calculate them by some algebra, then

W N ~vi = 2bcosθi

2M ~ui− bN ~vi (B.3)

and

W M ~ui = ( 4σi2

||A||2F − 1)M ~ui− 2σi

||A||FN ~vi. (B.4)

Thus, multiply W on its eigenvector. The result becomes,

W ~wi = [a( 4σ2i

||A||2F − 1) + b 2σi

||A||F]M ~ui+ [a−2σi

||A||F − b]N ~vi = λi(aM ~ui+ bN ~vi) (B.5)

Finally, the eigenvalue of W can be derived by the ratio of the constants a and b.

a

b = −e±iθi/2, λi = −2a bcosθi

2 − 1 = e±iθi, qed. (B.6)

相關文件