Extending Sample-based Quantum Diagonalization to Systems of Linear Equations
Taha Selim
Key points
From the paper's conclusion- We extend sample-based quantum diagonalization (SQD), developed for quantum chemistry, to linear systems.
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\rangle$ 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\times4$ 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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Sample-Based Quantum Linear Solver and Bounds on Krylov-State SamplingarXiv · 2026
- A scalable sample-based quantum diagonalization solver for general Pauli-sum HamiltoniansarXiv · 2026
- Sample-based Quantum Diagonalization via Density Matrix Renormalization GrouparXiv · 2026
- A Batchwise Quantum Discrete Adiabatic Linear System SolverAdvanced Quantum Technologies · 2026
- The discrete adiabatic quantum linear system solver has lower constant factors than the randomized adiabatic solverQuantum · 2025
- Inverse ECG Reconstruction via a Preconditioned Variational Quantum Linear SolverarXiv · 2026