Abstract
Solving a Poisson equation is generally reduced to solving a linear system with a coefficient matrix of entries , , from the discretized Poisson equation. Although the variational quantum algorithms are promising algorithms to solve the discretized Poisson equation, they generally require that be decomposed into a sum of simple operators in order to evaluate efficiently the loss function. A tensor product decomposition of with terms has been explored in previous works. In this paper, based on the decomposition of sparse Hamiltonians we greatly reduce the number of terms. We first write the loss function in terms of the operator with denoting the standard Pauli operator. Then for the one-dimensional Poisson equations with different boundary conditions and for the -dimensional Poisson equations with Dirichlet boundary conditions, we decompose into a sum of at most 7 and Hermitian, one-sparse, and self-inverse operators, respectively. We design explicitly the quantum circuits to evaluate efficiently the loss function. The decomposition method and the design of quantum circuits can also be easily extended to linear systems with Hermitian and sparse coefficient matrices satisfying for and .