Evaluation of block encoding for sparse matrix inversion using QSVT (2402.17529v1)
Abstract: Three block encoding methods are evaluated for solving linear systems of equations using QSVT (Quantum Singular Value Transformation). These are ARCSIN, FABLE and PREPARE-SELECT. The performance of the encoders is evaluated using a suite of 30 test cases including 1D, 2D and 3D Laplacians and 2D CFD matrices. A subset of cases is used to characterise how the degree of the polynomial approximation to $1/x$ influences the performance of QSVT. The results are used to guide the evaluation of QSVT as the linear solver in hybrid non-linear pressure correction and coupled implicit CFD solvers. The performance of QSVT is shown to be resilient to polynomial approximation errors. For both CFD solvers, error tolerances of $10{-2}$ are more than sufficient in most cases and in some cases $10{-1}$ is sufficient. The pressure correction solver allows subnormalised condition numbers, $\kappa_s$, as low as half the theoretical values to be used, reducing the number of phase factors needed. PREPARE-SELECT encoding relies on a unitary decomposition, e.g. Pauli strings, that has significant classical preprocessing costs. Both ARCSIN and FABLE have much lower costs, particularly for coupled solvers. However, their subnormalisation factors, which are based on the rank of the matrix, can be many times higher than PREPARE-SELECT leading to more phase factors being needed. For both the pressure correction and coupled CFD calculations, QSVT is more stable than previous HHL results due to the polynomial approximation errors only affecting long wavelength CFD errors. Given that lowering $\kappa_s$ increases the success probability, optimising the performance of QSVT within a CFD code is a function of the number QSVT phase factors, the number of non-linear iterations and the number of shots. Although phase factor files can be reused, the time taken to generate them impedes scaling QSVT to larger test cases.
- D. for Science Innovation and Technology, “National quantum strategy missions.” https://www.gov.uk/government/publications/national-quantum-strategy/national-quantum-strategy-missions, 2023. Accessed: 2024-02-15.
- L. Lapworth, “A hybrid quantum-classical cfd methodology with benchmark hhl solutions,” arXiv preprint arXiv:2206.00419, 2022.
- L. Lapworth, “Implicit hybrid quantum-classical cfd calculations using the hhl algorithm,” arXiv preprint arXiv:2209.07964, 2022.
- A. W. Harrow, A. Hassidim, and S. Lloyd, “Quantum algorithm for linear systems of equations,” Physical review letters, vol. 103, no. 15, p. 150502, 2009.
- A. M. Childs and N. Wiebe, “Hamiltonian simulation using linear combinations of unitary operations,” arXiv preprint arXiv:1202.5822, 2012.
- H. F. Trotter, “On the product of semi-groups of operators,” Proceedings of the American Mathematical Society, vol. 10, no. 4, pp. 545–551, 1959.
- R. Babbush, C. Gidney, D. W. Berry, N. Wiebe, J. McClean, A. Paler, A. Fowler, and H. Neven, “Encoding electronic spectra in quantum circuits with linear t complexity,” Physical Review X, vol. 8, no. 4, p. 041015, 2018.
- D. W. Berry, A. M. Childs, R. Cleve, R. Kothari, and R. D. Somma, “Simulating hamiltonian dynamics with a truncated taylor series,” Physical review letters, vol. 114, no. 9, p. 090502, 2015.
- G. H. Low and I. L. Chuang, “Hamiltonian Simulation by Qubitization,” Quantum, vol. 3, p. 163, July 2019.
- N. Wiebe and S. Zhu, “A theory of trotter error,” Physical Review X, vol. 11, no. 011020, p. 26, 2021.
- J. M. Martyn, Z. M. Rossi, A. K. Tan, and I. L. Chuang, “Grand unification of quantum algorithms,” PRX Quantum, vol. 2, p. 040203, Dec 2021.
- A. Gilyén, Y. Su, G. H. Low, and N. Wiebe, “Quantum singular value transformation and beyond: exponential improvements for quantum matrix arithmetics,” in Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, pp. 193–204, 2019.
- Y. Dong, X. Meng, K. B. Whaley, and L. Lin, “Efficient phase-factor evaluation in quantum signal processing,” Physical Review A, vol. 103, no. 4, p. 042419, 2021.
- L. Lin, “Lecture notes on quantum algorithms for scientific computation,” arXiv preprint arXiv:2201.08309, 2022.
- B. D. Clader, A. M. Dalzell, N. Stamatopoulos, G. Salton, M. Berta, and W. J. Zeng, “Quantum resources required to block-encode a matrix of classical data,” IEEE Transactions on Quantum Engineering, vol. 3, pp. 1–23, 2022.
- A. M. Childs, R. Kothari, and R. D. Somma, “Quantum algorithm for systems of linear equations with exponentially improved dependence on precision,” SIAM Journal on Computing, vol. 46, no. 6, pp. 1920–1950, 2017.
- S. Chakraborty, A. Gilyén, and S. Jeffery, “The power of block-encoded matrix powers: improved regression techniques via faster hamiltonian simulation,” arXiv preprint arXiv:1804.01973, 2018.
- D. Camps, L. Lin, R. Van Beeumen, and C. Yang, “Explicit quantum circuits for block encodings of certain sparse matrice,” arXiv preprint arXiv:2203.10236, 2022.
- D. Motlagh and N. Wiebe, “Generalized quantum signal processing,” arXiv preprint arXiv:2308.01501, 2023.
- D. Camps and R. Van Beeumen, “Fable: Fast approximate quantum circuits for block-encodings,” in 2022 IEEE International Conference on Quantum Computing and Engineering (QCE), pp. 104–113, IEEE, 2022.
- C. Sünderhauf, E. Campbell, and J. Camps, “Block-encoding structured matrices for data input in quantum computing,” arXiv preprint arXiv:2302.10949, 2023.
- B. Gough, GNU scientific library reference manual. Network Theory Ltd., 2009.
- L. Lapworth, “L-qles: Sparse laplacian generator for evaluating quantum linear equation solvers,” arXiv preprint arXiv:2402.12266, 2024.
- R. Kothari, Efficient algorithms in quantum query complexity. PhD thesis, University of Waterloo, 2014.
- D. W. Berry, M. Kieferová, A. Scherer, Y. R. Sanders, G. H. Low, N. Wiebe, C. Gidney, and R. Babbush, “Improved techniques for preparing eigenstates of fermionic hamiltonians,” npj Quantum Information, vol. 4, no. 1, pp. 1–7, 2018.
- M. Mottonen, J. J. Vartiainen, V. Bergholm, and M. M. Salomaa, “Transformation of quantum states using uniformly controlled rotations,” arXiv preprint quant-ph/0407010, 2004.
- I. F. Araujo, D. K. Park, F. Petruccione, and A. J. da Silva, “A divide-and-conquer algorithm for quantum state preparation,” Scientific Reports, vol. 11, no. 1, pp. 1–12, 2021.
- V. V. Shende, S. S. Bullock, and I. L. Markov, “Synthesis of quantum logic circuits,” arXiv preprint quant-ph/0406176, 2004.
- V. V. Shende, S. S. Bullock, and I. L. Markov, “Synthesis of quantum logic circuits,” in Proceedings of the 2005 Asia and South Pacific Design Automation Conference, pp. 272–275, 2005.
- A. Gilyén, Quantum singular value transformation & its algorithmic applications. PhD thesis, University of Amsterdam, 2019.
- Y. Dong, L. Lin, H. Ni, and J. Wang, “Robust iterative method for symmetric quantum signal processing in all parameter regimes,” arXiv preprint arXiv:2307.12468, 2023.
- G. H. Golub and C. F. Van Loan, Matrix computations. JHU press, 2013.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Collections
Sign up for free to add this paper to one or more collections.