Quantum algorithm for linear matrix equations
Abstract
We describe an efficient quantum algorithm for solving the linear matrix equation AX+XB=C, where A, B, and C are given complex matrices and X is unknown. This is known as the Sylvester equation, a fundamental equation with applications in control theory and physics. Our approach constructs the solution matrix X/x in a block-encoding, where x is a rescaling factor needed for normalization. This allows us to obtain certain properties of the entries of X exponentially faster than would be possible from preparing X as a quantum state. The query and gate complexities of the quantum circuit that implements this block-encoding are almost linear in a condition number that depends on A and B, and depend logarithmically in the dimension and inverse error. We show how our quantum circuits can solve BQP-complete problems efficiently, discuss potential applications and extensions of our approach, its connection to Riccati equation, and comment on open problems.
Cite
@article{arxiv.2508.02822,
title = {Quantum algorithm for linear matrix equations},
author = {Rolando D. Somma and Guang Hao Low and Dominic W. Berry and Ryan Babbush},
journal= {arXiv preprint arXiv:2508.02822},
year = {2025}
}
Comments
24 pages, 1 figure