Quantum Linear Solver Solves the Inverse ECG Problem for the First Time: A Hybrid Framework Enables Non-Invasive Cardiac Imaging

First introduction of a quantum linear solver to the inverse ECG problem, with a hybrid quantum-classical framework proposed and validated.
The article presents a study that applies a quantum linear solver to the inverse ECG problem for the first time. The inverse ECG problem requires inferring cardiac surface potentials from body surface potentials, and the involved linear systems are dense and ill-conditioned, with computational cost rising sharply as the mesh is refined. The paper proposes a hybrid quantum-classical framework: Laplacian-regularized pre-encoding reduces the system dimension and improves conditioning, and the reduced system is then encoded and fed into a coherent variational quantum linear solver (VQLS). The authors theoretically prove that the framework preserves the exact solution of the original problem at every stage and experimentally validate accurate reconstruction on a real heart-torso geometry model. This work opens a new quantum-enhanced path for non-invasive cardiac imaging and lays the foundation for future extension and generalization.
The inverse ECG problem aims to non-invasively reconstruct cardiac surface potentials from body surface potentials, thereby mapping cardiac electrical activity. However, this process requires solving dense and ill-conditioned linear systems whose computational cost rises sharply as the cardiac mesh is refined. A recent paper proposes a hybrid quantum-classical framework that, for the first time, applies a quantum linear solver to the inverse ECG problem, opening a new technical path for non-invasive cardiac imaging.

The Computational Bottleneck of the Inverse ECG Problem and the Quantum Opportunity
Traditional solutions to the inverse ECG problem rely on inverting body surface potential measurements to estimate the potential distribution on the cardiac surface. Because the heart-torso geometry is complex, the resulting linear systems are often large-scale and severely ill-conditioned, making numerical solutions unstable and computationally expensive. With the use of high-resolution cardiac meshes, this bottleneck becomes increasingly prominent.
Quantum computing shows potential advantages in solving linear systems, especially for dense matrix problems. The authors point out that this is the first time a quantum linear solver has been introduced to the inverse ECG problem. The core idea is to build a hybrid quantum-classical framework that uses quantum algorithms to handle the reduced linear system while ensuring numerical stability and solution accuracy through classical preprocessing steps.
An ill-conditioned linear system refers to a coefficient matrix with a very large condition number, so that small perturbations in the input data (such as measurement noise) are significantly amplified, causing the numerical solution to deviate severely from the true solution. In the inverse ECG problem, body surface potentials are highly sensitive to cardiac source potentials, and the attenuation effect of the heart-torso geometry makes body surface signals low in amplitude and poor in spatial resolution, so the resulting transfer matrix naturally has a large condition number. Even for systems of modest size, direct inversion fails due to numerical instability, and regularization methods (such as Tikhonov regularization) are usually needed to constrain the solution space. As the cardiac mesh is refined, the matrix size grows quadratically and computational cost rises sharply—this is precisely the motivation for introducing quantum solvers.
Laplacian-Regularized Pre-Encoding: Dimensionality Reduction and Improved Conditioning
The first step of the framework is a Laplacian-regularized pre-encoding procedure. Before encoding into quantum states, this procedure preprocesses the original linear system: on one hand, it reduces the system dimension; on the other hand, it improves its conditioning.
By introducing Laplacian regularization, the pre-encoding step can suppress numerical errors caused by ill-conditioning while compressing the problem size into a range more manageable for the quantum solver. The paper emphasizes that this preprocessing does not change the solution of the original problem, laying a reliable foundation for the subsequent quantum solution.
The condition number is a core metric for measuring the numerical stability of a linear system, defined as the ratio of the largest singular value to the smallest singular value of a matrix. The larger the condition number, the more ill-conditioned the system and the more sensitive it is to perturbations during solving. Laplacian regularization adds a penalty term for the Laplacian operator (i.e., the second spatial derivative) of the solution to the objective function, encouraging spatial smoothness of the solution and thereby suppressing amplification of high-frequency noise; this is equivalent to reweighting the singular values to reduce the effective condition number. Introducing this regularization in the pre-encoding stage both mathematically preserves the uniqueness and invertibility of the solution and projects the system onto a low-dimensional subspace, so that the quantum circuit only needs to handle a reduced system that is smaller and better conditioned—an important prerequisite for making the hybrid framework practical.
Coherent Variational Quantum Linear Solver (VQLS)
After pre-encoding reduction, the linear system is encoded and fed into a coherent variational quantum linear solver (VQLS). VQLS is a variational quantum algorithm that approximates the solution of linear equations by optimizing quantum circuit parameters. Compared with traditional quantum linear solving algorithms (such as HHL), VQLS is better suited to noisy quantum hardware and does not require complex quantum phase estimation.
The paper adopts a coherent variational approach, meaning that the execution of the quantum circuit preserves quantum coherence, thereby theoretically guaranteeing solution accuracy. The authors combine VQLS with the preprocessing step to form a complete quantum-classical hybrid solving pipeline.
The HHL algorithm (Harrow-Hassidim-Lloyd) is an early well-known quantum linear solving algorithm that can theoretically achieve exponential speedup, but it relies on quantum phase estimation and requires a large number of high-fidelity quantum gates and deep circuits, making it difficult to implement on noisy intermediate-scale quantum (NISQ) hardware. VQLS instead adopts a variational approach: the solution is represented as the result of a parameterized quantum circuit acting on an initial state, and parameters are updated by a classical optimizer minimizing a cost function related to the residual of the linear equation. So-called "coherent" variation means that the cost function is computed directly based on inner products of quantum state amplitudes rather than approximated by incoherent measurement sampling, so the residual can be evaluated more precisely. VQLS circuits are shallower and somewhat robust to noise, making them more suitable for current quantum hardware—a key reason the paper chose this solver.
Theoretical Proof: Exact Preservation of the Solution
The paper provides a rigorous theoretical proof: the proposed framework preserves the exact solution of the original reconstruction problem at all computational stages. Specifically, from Laplacian-regularized pre-encoding to VQLS solving, each transformation is equivalent to an invertible operation on the original system, so the final solution is consistent with the solution obtained by directly solving the original ill-conditioned system.
This proof is quite important. In practical applications, quantum linear solvers often face the issue that solution accuracy is limited by quantum state preparation and measurement errors. This framework guarantees the reliability of the solution results through mathematical equivalence, providing theoretical support for the practicality of quantum-enhanced inverse ECG.
Experimental Validation: Performance on Real Heart-Torso Geometry
The paper conducted experiments on a real heart-torso geometry model. The results show that the hybrid quantum-classical method achieves significant accuracy in inverse ECG reconstruction. Although the abstract does not disclose specific error metrics or comparative data, the authors state that the experimental results demonstrate the method's ability to accurately reconstruct the inverse ECG problem.
These findings highlight the potential of quantum solvers in non-invasive cardiac imaging, laying the groundwork for future research on quantum-enhanced cardiac assessment and other medical applications.
Significance and Outlook
This work applies a quantum linear solver to the inverse ECG problem for the first time and provides both theoretical guarantees and experimental validation. Its innovations lie in the following: Laplacian-regularized pre-encoding effectively reduces the problem size and improves the condition number; coherent VQLS provides a quantum route to solving ill-conditioned linear systems; and the rigorous theoretical proof ensures the exactness of the framework.
Future research directions may include validating the framework's scalability on larger-scale real data, exploring more efficient quantum encoding methods, and extending the framework to other medical imaging inverse problems. As quantum hardware advances, quantum-enhanced cardiac assessment is expected to become an important tool for non-invasive cardiac diagnosis.
One-line Summary
First introduction of a quantum linear solver to the inverse ECG problem, with a hybrid quantum-classical framework proposed and validated.
Paragraph Summary
The article presents a study that applies a quantum linear solver to the inverse ECG problem for the first time. The inverse ECG problem requires inferring cardiac surface potentials from body surface potentials, and the involved linear systems are dense and ill-conditioned, with computational cost rising sharply as the mesh is refined. The paper proposes a hybrid quantum-classical framework: first, Laplacian-regularized pre-encoding reduces the system dimension and improves conditioning; then the reduced system is encoded and fed into a coherent variational quantum linear solver (VQLS). The authors theoretically prove that the framework preserves the exact solution of the original problem at every stage and experimentally validate accurate reconstruction on a real heart-torso geometry model. This work opens a new quantum-enhanced path for non-invasive cardiac imaging and lays the foundation for future extension and generalization.
Related articles

Pure-Code Video Generation Tested: Which AI Model Actually Follows Instructions?
A Bilibili creator tested three AI models' pure-code video generation with unified prompts and three revisions each: Xiaonaomao has a high ceiling but lacks stability, GPT 6.2 Extra models well but only follows half the instructions, and OPAS 5.5 remains the benchmark.

GPT-6 Six-Tier Hands-On Test: Astra Ultra Dominates but Bills Double
GPT-6 six-tier test: Astra Ultra sweeps 3:0 in 3D tasks thanks to sub-agents and runs 14% faster, but hidden backend bills make its real cost 2.6x single-threaded.

GPT-6.2 Astra vs Fable 5.2: Huge Cost-Efficiency Gap Across 12 Real-World Tests
Bilibili creator tests GPT-6.2 Astra vs Fable 5.2 across 12 real tasks: Fable wins 7-5 but costs 7.2x more and takes nearly 5x longer. Token efficiency emerges as the key selection metric.