Block encoding of sparse matrices with a periodic diagonal structure
Alessandro Andrea Zecchi, Claudio Sanavio, Luca Cappelli, Simona Perotto, Alessandro Roggero, Sauro Succi
TL;DR
The paper addresses the challenge of efficiently block-encoding sparse matrices with periodic diagonal structure for quantum algorithms. It introduces a Fourier-based LCU framework that builds a diagonal unitary $V(ω)$ from phase gates, extracts real and imaginary components as $C(ω)$ and $S(ω)$, and combines them with shift operators $L$ and $R$ to block-encode a periodic matrix $M = α_0 C(ω) + α_1 L + α_2 R + α_3 I$. This approach generalizes to multi-frequency decompositions and is demonstrated on discretized elliptic PDEs and ADR-type systems, with numerical validation showing favorable scaling compared to dense encodings. The method enables efficient quantum simulation and linear-system solving via QSVT, offering a practical path for exploiting periodic structure in classical PDEs on quantum hardware, while also outlining open questions about ancilla requirements, α-optimization, and frequency-selection strategies.
Abstract
Block encoding is a successful technique used in several powerful quantum algorithms. In this work we provide an explicit quantum circuit for block encoding a sparse matrix with a periodic diagonal structure. The proposed methodology is based on the linear combination of unitaries (LCU) framework and on an efficient unitary operator used to project the complex exponential at a frequency $ω$ multiplied by the computational basis into its real and imaginary components. We demonstrate a distinct computational advantage with a $\mathcal{O}(\text{poly}(n))$ gate complexity, where $n$ is the number of qubits, in the worst-case scenario used for banded matrices, and $\mathcal{O}(n)$ when dealing with a simple diagonal matrix, compared to the exponential scaling of general-purpose methods for dense matrices. Various applications for the presented methodology are discussed in the context of solving differential problems such as the advection-diffusion-reaction (ADR) dynamics, using quantum algorithms with optimal scaling, e.g., quantum singular value transformation (QSVT). Numerical results are used to validate the analytical formulation.
