English

Probabilistic quantum algorithm for Lyapunov equations and matrix inversion

Quantum Physics 2026-04-20 v2

Abstract

We present a probabilistic quantum algorithm for preparing mixed states which, in expectation, are proportional to the solutions of Lyapunov equations -- linear matrix equations ubiquitous in the analysis of classical and quantum dynamical systems. Building on previous results by Zhang et al., arXiv:2304.04526, at each step the algorithm can (i) return the current state, (ii) apply a trace nonincreasing completely positive map, or (iii) restart. We introduce a deterministic stopping rule, which leads to an efficient algorithm with a bounded expected number of calls to oracles representing the two input matrices of the Lyapunov equations. We also consider preparing a mixed state that approximates the normalized inverse of a positive definite matrix AA. In its most general form, the algorithm generates mixed states, which approximate matrix-valued weighted sums and integrals. It can be shown that block encodings and states yield two incomparable computational resources even when they represent the same piece of data. While block encodings of functions have received much attention in the literature, our work takes a step toward the less explored problem of encoding functions into mixed states.

Keywords

Cite

@article{arxiv.2508.04689,
  title  = {Probabilistic quantum algorithm for Lyapunov equations and matrix inversion},
  author = {Marcello Benedetti and Ansis Rosmanis and Matthias Rosenkranz},
  journal= {arXiv preprint arXiv:2508.04689},
  year   = {2026}
}

Comments

20 pages, 1 figure, 2 tables. Published version

R2 v1 2026-07-01T04:37:49.607Z