Matrix encoding method in variational algorithm of calculating eigenvalues and generalized eigenvalues
Alexander I. Zenchuk, Junde Wu
Article 3 · pp. 1-15 · 10.70917/qic-2027-0003
Received · Accepted · Published online
On this page
Abstract
We propose a variational method for constructing the eigenvalues and generalized eigenvalues for an arbitrary complex matrix. The quantum part of our algorithm is based on encoding the matrix elements into the pure state of a quantum system and expressing the loss function with optimization parameters in terms of certain probability amplitudes in the superposition state. The principal step of this algorithm is the measurement of the ancilla state that removes all extra terms from the above superposition and allows to probabilistically construct the required loss function along with its derivatives with respect to the optimization parameters. These output data are used to find the new values of optimization parameters for the next iteration of the loss function in the gradient optimization method. The depth and size of the circuit for this algorithm are, respectively, and .
Open accessCC BY-NC-ND 4.0
Keywords
- Matrix
- eigenvalues
- generalized eigenvalues
Suggested citation
Alexander I. Zenchuk, Junde Wu (2027). Matrix encoding method in variational algorithm of calculating eigenvalues and generalized eigenvalues. Quantum Information & Computation, 27, Article 3. https://doi.org/10.70917/qic-2027-0003
References (69)
- Bose, S.: Quantum communication through an unmodulated spin chain. Phys. Rev. Lett. 91, 207901 (2003)Google Scholar
- R.F. Werner, “Quantum states with Einstein-Podolsky-Rosen correlations admitting a hidden-variable model”, Phys.Rev.A 40(8), 4277 (1989)Google Scholar
- Ch.H. Bennett, G. Brassard, C. Crépeau, R. Jozsa, A. Peres, W.K. Wootters, “Teleporting an unknown quantum state via dual classical and Einstein-Podolsky-Rosen channels”, Phys.Rev.Lett 70(13), 1895 (1993)Google Scholar
- S. Popescu, “Bell’s Inequalities versus Teleportation: What is Nonlocality?” Phys.Rev.Lett. 72, 797 (1994)Google Scholar
- X.-S. Ma, Th. Herbst, Th. Scheidl, D. Wang, S. Kropatschek, W. Naylor, B. Wittmann, A. Mech, J. Kofler, E. Anisimova, V. Makarov, Th. Jennewein, R. Ursin, A. Zeilinger, “Quantum teleportation over 143 kilometres using active feed-forward”, Nature 489, 269 (2012)Google Scholar
- J.-G. Ren, P. Xu, H.-L. Yong, L. Zhang, Sh.-K. Liao, J. Yin, W.-Y. Liu, W.-Q. Cai, M. Yang, L. Li, K.-X. Yang, X. Han, Y.-Q. Yao, J. Li, H.-Y. Wu, S. Wan, L. Liu, D.-Q. Liu, Y.-W. Kuang, Zh.-P. He, P. Shang, Ch. Guo, R.-H. Zheng, K.Tian, Zh.-C. Zhu, N.-L. Liu, Ch.-Y. Lu, R. Shu, Y.-A. Chen, Ch.-Zh. Peng, J.-Y. Wang, J.-W. Pan, “ Ground-to-satellite quantum teleportation”, Nature 549, 70 (2017)Google Scholar
- J. Qiu, Y. Liu, J. Niu, L. Hu, Yu. Wu, L. Zhang, W. Huang, Yu. Chen, J. Li, S. Liu, Yo. Zhong, L. Duan, D. Yu, “Deterministic quantum teleportation between distant superconducting chips”, Science Bulletin 70, 351 (2025)Google Scholar
- Peters, N.A., Barreiro, J.T., Goggin, M. E., Wei, T.-C., Kwiat, P.G.: Remote State Preparation: Arbitrary Remote Control of Photon Polarization. Phys. Rev. Lett. 94, 150502 (2005)Google Scholar
- Peters, N.A., Barreiro, J.T., Goggin, M.E., Wei, T.-C., Kwiat, P. G.: Remote state preparation: arbitrary remote control of photon polarizations for quantum communication. (Quantum Communications and Quantum Imaging III, in: Proc. of SPIE, vol. 5893) eds Meyers R E, Shih Ya, (SPIE, Bellingham, WA) (2005)Google Scholar
- Dakic, B., Lipp, Ya.O., Ma, X., Ringbauer, M., Kropatschek, S., Barz, S., Paterek, T., Vedral, V., Zeilinger, A., Brukner, C., Walther, P.: Quantum discord as resource for remote state preparation. Nat. Phys. 8, 666 (2012)Google Scholar
- Y.Zhao, B.Qi, X.F.Ma, H.-K.Lo, L.Qian, Experimental quantum key distribution with decoy states, Phys.Rev.Lett. 96(7), 070502 (2006)Google Scholar
- C.H.Bennett, Experimental quantum cryptography, J. Cryptology 5(1), 3 (1992)Google Scholar
- Z.Tang, Z.F.Liao, F.H.Xu, B.Qi, L.Qian, H.-K. Lo, Experimental demonstration of polarization encoding measurement-device-independent quantum key distribution, Phys. Rev. Lett. 112(19), 190503 (2014)Google Scholar
- A. W. Harrow, A. Hassidim, S. Lloyd, Quantum algorithm for linear systems of equations, Phys. Rev. Lett. 103, 150502 (2009)Google Scholar
- J. Biamonte, P. Wittek, N. Pancotti, P. Rebentrost, N. Wiebe, and S. Lloyd, Quantum machine learning, Nature 549, 195 (2017)Google Scholar
- A. Shukla, P. Vedula, A quantum approach for digital signal processing, Eur. Phys. J. Plus 138, 1121 (2023)Google Scholar
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, Cambridge, England (2000).Google Scholar
- Preskill, J.: Lecture Notes for Physics 229: Quantum Information and Computation, CreateSpace Independent Publishing Platform (2015)Google Scholar
- Schleich, W.P., Ranade, K.S., Anton, C., Arndt, M., Aspelmeyer, M., Bayer, M., Berg, G., Calarco, T., Fuchs, H., Giacobino, E., Grassl, M., Hönggi, P., Heckl, W.M., Hertel, I.-V., Huelga, S., Jelezko, F., Keimer, B., Kotthaus, J.P., Leuchs, G., Lütkenhaus, N., Maurer, U., Pfau, T., Plenio, M.B., Rasel, E.M., Renn, O., Silberhorn, C., Schiedmayer, J., Schmitt-Landsiedel, D., Schönhammer, K., Ustinov, A., Walther, P., Weinfurter, H., Welzl, E., Wiesendanger, R., Wolf, S., Zeilinger, A., Zoller, P.: Quantum technology: from research to application. Appl. Phys. B 122(5), 130 (2016)Google Scholar
- Acín, A., Bloch, I., Buhrman, H., Calarco, T., Eichler, C., Eisert, J., Esteve, D., Gisin, N., Glaser, S.J., Jelezko, F., Kuhr, S., Lewenstein, M., Riedel, M.F., Schmidt, P.O., Thew, R., Wallraff, A., Walmsley, I., Wilhelm, F.K.: The quantum technologies roadmap: a European community view. New J. Phys., 20(8), 080201 (2018)Google Scholar
- D. Deutsch, Quantum theory, the Church-turing principle and the universal quantum computer, Proc.R. Soc. Lond. A 400, 97 (1985),Google Scholar
- L. Grover, A fast quantum mechanical algorithm for database search, STOC, in 96: Proceedings 28th Annual ACM Symposium on the Theory of Computation. New York: ACM Press. (1996)Google Scholar
- P.W. Shor, Algorithms for quantum computation: discrete logarithms and factoring Proceedings, XXXV Annual Symposium on Foundations of Computer Science. (Los Alamitos, CA: IEEE Press) (1994)Google Scholar
- P.W. Shor, Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer SIAM J. Comput. 26, 5 (1997)Google Scholar
- D. Coppersmith, An approximate Fourier transform useful in quantum factoring, IBM Research Report, RC 19642, (2002)Google Scholar
- Y. S. Weinstein, M. A. Pravia, E. M. Fortunato, S. Lloyd, D. G. Cory, Implementation of the quantum Fourier transform, Phys. Rev. Lett. 86, 1889 (2001)Google Scholar
- 8. H. Wang, L. Wu, Y. Liu, F. Nori, Measurement-based quantum phase estimation algorithm for finding eigenvalues of non-unitary matrices, Phys. Rev. A. 82, 062303 (2010)Google Scholar
- Khaneja, N., Reiss, T., Kehlet, C., Schulte-Herbrüggen, T., Glaser, S. J.: Optimal control of coupled spin dynamics: design of NMR pulse sequences by gradient ascent algorithms. 2005 J. Magn. Res. 172(2) 296Google Scholar
- Doria, P., Calarco, T., Montangero, S.: Optimal control technique for many-body quantum dynamics. Phys. Rev. Lett. 106, 190501 (2011)Google Scholar
- Petruhanov, V.N., Pechen, A.N.: GRAPE optimization for open quantum systems with time-dependent decoherence rates driven by coherent and incoherent controls. J. Phys. A 56(30), 305303 (2023)Google Scholar
- Schulte-Herbrüggen, T., Spörl, A., Khaneja, N., Glaser, S.J.: Optimal control for generating quantum gates in open dissipative systems. J. Phys. B: At. Mol. Opt. Phys. 44(15), 154013 (2011)Google Scholar
- De Fouquieres, P., Schirmer, S.G., Glaser, S.J., Kuprov, I.: Second order gradient ascent pulse engineering. J. Magn. Res. 212(2) 412 (2011)Google Scholar
- Pechen, A.N., Tannor, D.J.: Quantum control landscape for a Lambda-atom in the vicinity of second-order traps. Israel Journal of Chemistry 52 467 (2012)Google Scholar
- Lucarelli, D.: Quantum optimal control via gradient ascent in function space and the time-bandwidth quantum speed limit. Phys. Rev. A 97(6), 062346 (2018)Google Scholar
- Koch, C.P., Boscain, U., Calarco, T., Dirr, G., Filipp, S., Glaser, S.J., Kosloff, R., Montangero, S., Schulte-Herbrüggen,T., Sugny, D., Wilhelm, F.K.: Quantum optimal control in quantum technologies. Strategic report on current status, visions and goals for research in Europe. EPJ Quantum Technol. 9(1), 19 (2022)Google Scholar
- Müller, M.M., Said, R.S., Jelezko, F., Calarco, T., Montangero, S.: One decade of quantum optimal control in the chopped random basis. Rep. Prog. Phys. 85, 076001 (2022)Google Scholar
- A. Peruzzo, J. Clean, P. Shadbolt, M. H. Yung, X. Q. Zhou, P. J. Love, A. Aspuru-Guzik, and J. L. O’Brien, A variational eigenvalue solver on a photonic quantum processor, Nat. Commun. 5, 4213 (2014)Google Scholar
- X. D. Xie, Z. Y. Xue, and D. B. Zhang, Variational quantum algorithms for scanning the complex spectrum of non-Hermitian systems, Front. Phys. 19, 41202 (2024).Google Scholar
- J. M. Liang, S. Q. Shen, M. Li, and S. M. Fei, Quantum algorithms for the generalized eigenvalue problem, Quantum Inf. Process. 21, 23 (2022)Google Scholar
- Y. Sato, H. C. Watanabe, R. Raymond, R. Kondo, K. Wada, K. Endo, M. Sugawara, and N. Yamamoto, Variational quantum algorithm for generalized eigenvalue problems and its application to the finite-element method, Phys. Rev. A 108, 022429 (2023)Google Scholar
- M. R. Hwang, E. Jung, M. Kim, and D. Park, Euclidean time method in generalized eigenvalue equation, Quantum Inf. Process. 23, 62 (2024).Google Scholar
- H. F. Zhao, P. Zhang, and T. C Wei, A universal variational quantum eigensolver for non-Hermitian systems, Sci. Rep. 13, 22313 (2023)Google Scholar
- X. Wang, Zh. Song, Y. Wang, Variational quantum singular value decomposition, Quantum 5, 483 (2021)Google Scholar
- Paddle Quantum: a quantum machine learning toolkit, URL https://qml.baidu.com (2020).Google Scholar
- PaddlePaddle URL https://github.com/paddlepaddle/paddle.Google Scholar
- Ya. Ma, D. Yu, T. Wu, and H. Wang, PaddlePaddle: An Open-Source Deep Learning Platform from Industrial Practice. Frontiers of Data and Domputing11(1) 105 (2019)Google Scholar
- J. Li, Zh. Fan, H. Yao, Ch. Yang, Sh.-M. Fei, Z.-T. Zhou, M.-H. Dou, T.-Ya. Ma, Variational quantum algorithm for generalized eigenvalue problems of non-Hermitian systems, Phys.Rev.A 113, 012406 (2026)Google Scholar
- J. Jojo, A. Khandelwal, M.G. Chandra, On Modifying the Variational Quantum Singular Value Decomposition Algorithm, arXiv:2310.19504v2 [quant-ph] (2024)Google Scholar
- M.P. Deisenroth, A. A. Faisal, Ch. S. Ong, Mathematics for machine learning, Cambridge University Press (2020)Google Scholar
- Charu C Aggarwal, Linear algebra and optimization for machine learning, volume 156. Springer, 2020.Google Scholar
- B. Ford, G. Hall, The generalized eigenvalue problem in quantum chemistry, Computer Physics Communications, 8(5), 337 (1974)Google Scholar
- A. Klawonn, M. Lanser, O. Rheinbach, Toward extremely scalable nonlinear domain decomposition methods for elliptic partial differential equations, SIAM Journal on Scientific Computing, 37(6), C667 (2015)Google Scholar
- J. Toivanen, Ph. Avery, Ch. Farhat, A multilevel FETI-DP method and its performance for problems with billions of degrees of freedom, International Journal for Numerical Methods in Engineering, 116(10-11), 661 (2018)Google Scholar
- A. I. Zenchuk, W. Qi, A. Kumar, J. Wu, Matrix manipulations via unitary transformations and ancilla-state measurements, Quant.Inf. Comp., 24(13&14), 1099 (2024)Google Scholar
- A.I. Zenchuk, W. Qi and J. Wu, Matrix Encoding Method in Variational Quantum Singular Value Decomposition, Quant. Inf. Comp., 25(4) 356 (2025)Google Scholar
- A.I. Zenchuk, G. A. Bochkin, W. Qi, A. Kumar, J. Wu, Quantum algorithms for calculating determinant and inverse of matrix and solving linear algebraic systems, Quantum Inf. Comp. 25(2), 195 (2025).Google Scholar
- H.F. Trotter,On the Product of Semi-Groups of Operators, Proc. Amer. Math. Soc. 10 545 (1959)Google Scholar
- M. Suzuki, Generalized Trotter’s formula and systematic approximants of exponential operators and inner derivations with applications to many-body problems, Commun. Math. Phys. 51 183 (1976)Google Scholar
- A. T.-Shma, Inverting well conditioned matrices in quantum logspace, in Proceedings of the Forty-fifth Annual ACM Symposium on Theory of Computing, STOC ’13, pages 881-890, New York, USA (2013).Google Scholar
- D. Aharonov and A. T.-Shma, Adiabatic quantum state generation, SIAM Journal on Computing 37(1), 47 (2007).Google Scholar
- S. Blanes and F. Casas, On the convergence and optimization of the Baker-Campbell-Hausdorff formula, Linear algebra and its applications, 378, 135 (2004)Google Scholar
- L. Zhao, Z. Zhao, P. Rebentrost, and J. Fitzsimons, Compiling basic linear algebra subroutines for quantum computers, Quantum Mach. Intell. 3, 21 (2021).Google Scholar
- L. Wossnig, Z. Zhao, and A. Prakash, Quantum Linear System Algorithm for Dense Matrices, Phys. Rev. Lett. 120, 050502 (2018).Google Scholar
- J.M. Martyn, Z. M. Rossi, A.K. Tan, I.L. Chuang, A Grand Unification of Quantum Algorithms, PRX Quantum 2, 040203 (2021)Google Scholar
- I. Novikau, I. Joseph Estimating QSVT angles for matrix inversion with large condition numbers, arXiv:2408.15453v2 [quant-ph] (2024)Google Scholar
- G. H. Golub and C. F. V. Loan, Matrix Computations, 4th ed., Johns Hopkins University Press, Baltimore, (2013)Google Scholar
- A.I.Zenchuk, W. Qi, J.Wu, Arbitrary state creation via controlled measurement, Quantum Information and Computation, accepted; arXiv:2504.09462v2 [quant-ph] (2025)Google Scholar
- A. Bellante, A. Luongo, and S. Zanero, Quantum algorithms for SVD-based data representation and analysis, Quantum Mach. Intell. 4(2) (2022)Google Scholar
- E.B. Fel’dman, A.I. Zenchuk, W. Qi, J. Wu, Controlled measurement, Hermitian conjugation and normalization in matrix-manipulation algorithms, arXiv:2504.00015v4 [quant-ph] (2025)Google Scholar
