Comprehensive Library of Variational LSE Solvers
Nico Meyer, Martin Röhn, Jakob Murauer, Axel Plinge, Christopher Mutschler, Daniel D. Scherer
TL;DR
The paper tackles solving linear systems on NISQ-era quantum devices using variational methods and introduces the variational-lse-solver library, which assembles existing variational LSE approaches with practical enhancements. Key contributions include a normalized cost framework ($C_G$, $C_L$) to ensure stable convergence, techniques to reduce quantum-evaluation overhead via unitary decompositions and symmetry, multiple modes for loading the system matrix, a dynamic circuit Ansatz that grows with training, and additional evaluation methods for efficient prototyping. The framework is built on PennyLane with configurable optimizers and early stopping, and it provides concrete usage examples such as reproducing Bravo-Prieto et al.'s experiment and integrating dynamic-depth circuits; code is available via pip and GitHub. By abstracting away low-level implementation details and offering an end-to-end research tool, the library accelerates exploration of quantum linear algebra and quantum-software development for variational solvers on near-term devices.
Abstract
Linear systems of equations can be found in various mathematical domains, as well as in the field of machine learning. By employing noisy intermediate-scale quantum devices, variational solvers promise to accelerate finding solutions for large systems. Although there is a wealth of theoretical research on these algorithms, only fragmentary implementations exist. To fill this gap, we have developed the variational-lse-solver framework, which realizes existing approaches in literature, and introduces several enhancements. The user-friendly interface is designed for researchers that work at the abstraction level of identifying and developing end-to-end applications.
