Extending Sample-based Quantum Diagonalization to Systems of Linear Equations
Taha Selim
Abstract
Solving systems of linear equations, Ax=b, is a ubiquitous task in computational science. The Harrow-Hassidim-Lloyd algorithm requires phase estimation, controlled rotations, and post-selection, impractical on noisy intermediate-scale quantum hardware. We extend sample-based quantum diagonalization (SQD), developed for quantum chemistry, to linear systems. Following the sample-based Krylov variant, the Hermitian matrix A is decomposed in the Pauli basis, the Trotterized time evolution of |b is sampled at several times to select computational-basis configurations, and the system is solved classically by a Galerkin projection onto the selected subspace. We prove that the subspace solution is exact when the sampled configurations contain the Krylov support of b and optimal in the energy norm for symmetric positive-definite matrices, so that noise-induced configurations cannot degrade it as long as they do not displace the ideal ones. On IBM Quantum hardware, the sampled distribution of a 4×4 example deviates from the exact one by eleven times the shot-noise level, yet the solution is recovered exactly. For a localized problem of dimension N=1024, SQD selects 33 configurations, reaches a relative error of 10-5, and its truncated subspaces coincide with the optimal choice; readout errors enlarge the subspace without degrading the accuracy. The tests also show the limitations: the selected subspace coincides with that of inexpensive classical selection, banded matrices require exponentially many Pauli terms in the binary encoding, and Trotter errors populate spurious configurations unless the circuits are deep. An MIT-licensed Python package and notebooks that reproduce the numerical results are provided.
Create a lesson
Related papers
Testing Gravitationally-Induced-Entanglement with Massive Particles and Quantum Clocks
Germain Tobar, Markus Aspelmeyer, Magdalena Zych
Recovery gates as a resource in repetition-code process tomography: exhaustive gate-optimal designs for three, five and seven qubits
Long Huang
Beyond Quantum Messages: Toward Quantum-Native Network Functioning
Angela Sara Cacciapuoti, Jessica Illiano, Caterina De Risi et al.
Dualities in one-dimensional quantum lattice models: Lie groups, Schur-Weyl duality and symmetry breaking
Dante Bosgoed, Frank Verstraete, Laurens Lootens
Entropic measures of quantum information
Roberto Rubboli, Bartosz Regula, Mario Berta et al.
Certifying quantum code and circuit distances at scale
Bin Cheng, Naixu Guo, Feng Pan