Solving 1D Poisson problem with a Variational Quantum Linear Solver

Giorgio Tosti Balducci, Boyang Chen, Matthias Möller, Roeland De Breuker · DOI

Abstract

Hybrid quantum-classical algorithms offer a promising path for solving linear systems of equations on near-term quantum devices. While previous work has focused on physics-based Hamiltonians, this study addresses engineering-relevant tridiagonal systems, such as those arising from the 1D Poisson equation. We propose a novel matrix decomposition method using multi-qubit gates that reduces the number of required unitary terms compared to standard Pauli decompositions. We demonstrate the effectiveness of this approach through simulations and real-hardware experiments on the IBM Quantum platform, achieving high fidelity even in the presence of noise.

Introduction

The quest for quantum advantage in linear algebra often points toward the HHL algorithm, which requires fault-tolerant hardware. In the current Noisy Intermediate-Scale Quantum (NISQ) era, the Variational Quantum Linear Solver (VQLS) serves as a practical alternative. VQLS uses a classical optimizer to minimize a cost function evaluated on a quantum processor. However, applying VQLS to non-physics problems requires efficient ways to decompose arbitrary matrices into quantum gates.

The Challenge of Tridiagonal Systems

Engineering problems, particularly those involving Finite Element Analysis (FEA), frequently result in tridiagonal matrices. For the 1D Poisson problem, the discretized matrix has a specific structure that is not naturally aligned with standard Pauli string decompositions. A naive Pauli decomposition leads to a high number of terms, increasing the total number of quantum circuits that must be executed.

Innovation: Multi-Qubit Decomposition

To address this, we developed a decomposition strategy leveraging multi-qubit gates like SWAP and "center-switch" (CS) gates. These gates more naturally represent the off-diagonal structure of tridiagonal matrices.

Comparison of Pauli and Multi-qubit decompositions, showing the reduction in the number of terms ($n_{terms}$) as the number of qubits ($n$) increases.

As shown in the table above, the multi-qubit approach reduces the number of terms from $2^n$ to $2^{n-1} + n$. For larger systems, this reduction significantly lowers the overhead of the variational algorithm, though it comes at the cost of increased circuit depth due to the implementation of multi-qubit gates via Toffoli sequences.

Experimental Results

We tested our decomposition on $2 \times 2$ and $4 \times 4$ tridiagonal systems using the qasm_simulator and the 5-qubit ibmq_athens processor.

Cost function $C_G$ convergence over iterations for (a) $2 \times 2$ and (b) $4 \times 4$ systems. The black line represents the simulator, while colored lines show different hardware repetitions.

The results indicate that the VQLS algorithm is remarkably resilient to noise. For the $2 \times 2$ system, hardware fidelity remained near 1.0. For the $4 \times 4$ system, while hardware noise increased the cost function floor, the classical optimizer still converged toward the correct solution parameters, achieving a simulation fidelity of 0.96. On real hardware, despite significant noise, the numerical solution remained very close to the analytical one.

Conclusion

This work demonstrates the first application of VQLS to tridiagonal engineering problems on real hardware. By optimizing the matrix decomposition, we reduced the "breadth" of the algorithm (number of circuits) at the expense of "depth." Future work will explore more complex ansatz structures and higher-dimensional Poisson problems to further bridge the gap between quantum algorithms and practical engineering applications.

Summary updated

BibTeX
@misc{balducci2024solving,
  author = {Giorgio Tosti Balducci and Boyang Chen and Matthias Möller and Roeland De Breuker},
  title = {{Solving 1D Poisson problem with a Variational Quantum Linear Solver}},
  year = {2024},
  eprint = {2412.04938},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.04938},
}
Figure