pith. sign in

arxiv: 2508.04689 · v2 · submitted 2025-08-06 · 🪐 quant-ph

Probabilistic quantum algorithm for Lyapunov equations and matrix inversion

Pith reviewed 2026-05-18 23:58 UTC · model grok-4.3

classification 🪐 quant-ph
keywords quantum algorithmLyapunov equationmatrix inversionmixed statesprobabilistic algorithmquantum linear algebradynamical systems
0
0 comments X

The pith

A probabilistic quantum algorithm prepares mixed states proportional to the solutions of Lyapunov equations.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper presents a probabilistic quantum algorithm that prepares mixed states whose expectation value is proportional to the solution of a Lyapunov equation given oracles for the two input matrices. Lyapunov equations appear throughout the study of stability and evolution in dynamical systems, both classical and quantum. The algorithm proceeds by choosing at each step to output the current state, apply a trace-nonincreasing completely positive map, or restart, all governed by a deterministic stopping rule. The same construction also yields a mixed state approximating the normalized inverse of a positive definite matrix and extends to more general matrix-valued weighted sums and integrals.

Core claim

The authors establish a probabilistic quantum procedure that, with access to oracles for the matrices A and C, produces a mixed state whose expectation is proportional to the unique solution X of the Lyapunov equation A X + X A^* = C. A deterministic stopping rule ensures the expected number of oracle calls remains bounded. The framework additionally prepares states approximating the normalized inverse of a positive definite matrix and handles matrix-valued integrals in general.

What carries the argument

The probabilistic procedure offering the choice to return the current state, apply a trace-nonincreasing completely positive map, or restart, together with the deterministic stopping rule that bounds the expected oracle usage.

If this is right

  • The algorithm produces an efficient procedure with bounded expected oracle calls for Lyapunov equations that arise in stability analysis.
  • The same method yields mixed states approximating the normalized inverse of any positive definite matrix.
  • The construction generates mixed states that approximate arbitrary matrix-valued weighted sums and integrals.
  • Block encodings and mixed-state encodings constitute incomparable computational resources even for identical input data.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The distinction between block encodings and state encodings suggests hybrid algorithms that switch between the two resources depending on the linear-algebra task.
  • Further development of state-based function encoding could complement existing unitary-based methods for quantum linear algebra.
  • The approach may be tested on concrete dynamical systems where the Lyapunov solution is computable by other means to confirm the expectation matching.

Load-bearing premise

The algorithm assumes oracles exist for the two input matrices and that a deterministic stopping rule can be implemented to produce only a bounded expected number of oracle calls.

What would settle it

For a small Lyapunov equation whose exact solution is known classically, execute the quantum circuit many times, collect the output mixed states, and verify whether their statistical average is proportional to the known solution within sampling error.

Figures

Figures reproduced from arXiv: 2508.04689 by Ansis Rosmanis, Marcello Benedetti, Matthias Rosenkranz.

Figure 1
Figure 1. Figure 1: FIG. 1 [PITH_FULL_IMAGE:figures/full_fig_p003_1.png] view at source ↗
read the original 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 $A$. 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.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

2 major / 2 minor

Summary. The manuscript presents a probabilistic quantum algorithm for preparing mixed states that are, in expectation, proportional to the solutions X of Lyapunov equations AX + XB = C. Building on Zhang et al. (arXiv:2304.04526), the algorithm proceeds by iteratively choosing to return the current state, apply a trace-nonincreasing CP map, or restart, with a deterministic stopping rule introduced to ensure an efficient procedure with bounded expected oracle calls to the input matrices A and B. The work also treats the special case of preparing a mixed state approximating the normalized inverse of a positive definite matrix and generalizes to mixed states encoding matrix-valued weighted sums and integrals.

Significance. If the deterministic stopping rule indeed produces a bounded expected number of oracle calls with polynomial dependence on the relevant parameters (dimension, condition number, and spectral gap of the Lyapunov operator), the result would offer a distinct resource model for encoding linear-algebraic solutions into mixed states rather than block encodings. This could be useful for quantum algorithms involving dynamical systems or control theory. The paper correctly notes that block encodings and mixed-state encodings are incomparable resources, which is a useful observation.

major comments (2)
  1. [Algorithm description and stopping rule] Stopping-rule analysis (main algorithmic section): The claim that the deterministic stopping rule yields an efficient algorithm with bounded expected oracle calls is load-bearing for the central contribution, yet the manuscript does not derive an explicit upper bound on the expected number of steps that is polynomial in the dimension and independent of the spectral gap of the Lyapunov operator L(X) = AX + XB. For matrices A, B whose eigenvalues have real parts near zero, the contraction rate of the trace-nonincreasing CP map can become arbitrarily slow, potentially making the expectation exponential in the condition number; a concrete counter-example or a spectral-gap assumption should be stated and proved.
  2. [Complexity analysis] Complexity statement (complexity or runtime paragraph): No explicit query complexity or gate complexity is given in terms of the matrix dimension n, the condition number κ, or the desired accuracy ε. The abstract asserts efficiency, but without a theorem relating expected oracle calls to these parameters the efficiency claim cannot be verified.
minor comments (2)
  1. [Algorithm description] Notation for the CP map: the trace-nonincreasing completely positive map is referenced but its Kraus operators or Choi representation are not written explicitly; adding the explicit form would improve readability.
  2. [Introduction] Reference to Zhang et al.: the citation arXiv:2304.04526 is given, but the precise technical difference (new stopping rule versus prior probabilistic method) should be stated in one sentence for clarity.

Simulated Author's Rebuttal

2 responses · 0 unresolved

We thank the referee for their detailed and insightful comments on our manuscript. We have carefully considered the concerns regarding the stopping rule analysis and the lack of explicit complexity bounds. We believe these points can be addressed by adding clarifications and theorems to the revised version, as detailed in our point-by-point responses below. We are committed to improving the manuscript accordingly.

read point-by-point responses
  1. Referee: Stopping-rule analysis (main algorithmic section): The claim that the deterministic stopping rule yields an efficient algorithm with bounded expected oracle calls is load-bearing for the central contribution, yet the manuscript does not derive an explicit upper bound on the expected number of steps that is polynomial in the dimension and independent of the spectral gap of the Lyapunov operator L(X) = AX + XB. For matrices A, B whose eigenvalues have real parts near zero, the contraction rate of the trace-nonincreasing CP map can become arbitrarily slow, potentially making the expectation exponential in the condition number; a concrete counter-example or a spectral-gap assumption should be stated and proved.

    Authors: We thank the referee for highlighting this important aspect of our analysis. The manuscript does provide a bound on the expected number of oracle calls, but it is expressed in terms of the spectral properties of the Lyapunov operator rather than being independent of the spectral gap. Specifically, the contraction of the trace-nonincreasing CP map depends on the minimal real part of the eigenvalues of A and B. To strengthen the presentation, we will add an explicit theorem in the revised manuscript that derives the expected number of steps as O(1/γ), where γ denotes the spectral gap (minimal real part). We will also state the assumption that γ is at least inverse-polynomial in the dimension n to ensure overall polynomial efficiency, which is a standard requirement for such algorithms to avoid ill-conditioned cases. This addresses the potential for exponential behavior when the gap is exponentially small. We disagree that the bound must be independent of the gap, as that would not hold in general, but we will make the dependence explicit and prove the bound. revision: yes

  2. Referee: Complexity statement (complexity or runtime paragraph): No explicit query complexity or gate complexity is given in terms of the matrix dimension n, the condition number κ, or the desired accuracy ε. The abstract asserts efficiency, but without a theorem relating expected oracle calls to these parameters the efficiency claim cannot be verified.

    Authors: We agree with the referee that providing an explicit complexity statement will enhance the clarity and verifiability of our results. In the revised version, we will introduce a new theorem that bounds the expected number of oracle calls in terms of the dimension n, the condition number κ (which is related to the spectral gap γ), and the accuracy parameter ε. The gate complexity will also be discussed assuming efficient implementations of the oracles for A and B and the quantum operations for the CP maps. This will directly support the efficiency claims made in the abstract and throughout the paper. revision: yes

Circularity Check

0 steps flagged

No significant circularity; derivation introduces independent stopping rule on top of cited prior work

full rationale

The paper's central construction builds on Zhang et al. (arXiv:2304.04526) by adding a deterministic stopping rule that selects among return, trace-nonincreasing CP map application, or restart at each step, with termination tied to the fixed point of the map. This rule and the resulting bounded expected oracle calls constitute an independent algorithmic contribution rather than a redefinition or statistical fit of the Lyapunov solution itself. No equations reduce the claimed efficiency or state preparation to the inputs by construction, no self-citation chain is load-bearing for the uniqueness or correctness of the bound, and the abstract explicitly separates the new stopping rule from the referenced prior results. The derivation remains self-contained against external benchmarks for the map and oracles.

Axiom & Free-Parameter Ledger

0 free parameters · 2 axioms · 0 invented entities

The central claim rests on standard quantum-computing assumptions about oracle access and the implementability of trace-nonincreasing completely positive maps. No free parameters, invented entities, or ad-hoc axioms are mentioned in the abstract.

axioms (2)
  • domain assumption Availability of oracles for the two input matrices of the Lyapunov equation.
    Required to perform the iterative map applications described in the abstract.
  • domain assumption Existence and quantum implementability of a trace-nonincreasing completely positive map.
    Central to the three-way choice at each algorithmic step.

pith-pipeline@v0.9.0 · 5719 in / 1236 out tokens · 45888 ms · 2026-05-18T23:58:13.367469+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Lean theorems connected to this paper

Citations machine-checked in the Pith Canon. Every link opens the source theorem in the public Lean library.

What do these tags mean?
matches
The paper's claim is directly supported by a theorem in the formal canon.
supports
The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
extends
The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
uses
The paper appears to rely on the theorem as machinery.
contradicts
The paper's claim conflicts with a theorem or certificate in the canon.
unclear
Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.

Reference graph

Works this paper leans on

31 extracted references · 31 canonical work pages · 5 internal anchors

  1. [1]

    A. C. Antoulas, Approximation of Large-Scale Dynamical Systems (SIAM, Philadelphia, PA, 2005)

  2. [2]

    Gajic and M

    Z. Gajic and M. T. J. Qureshi, Lyapunov Matrix Equa- tion in System Stability and Control (Dover Publications, Mineola, N.Y., 2008)

  3. [3]

    Classical simulation of dissipative fermionic linear optics

    S. Bravyi and R. Koenig, Classical simulation of dis- sipative fermionic linear optics (2011), arXiv:1112.2184 [quant-ph]

  4. [4]

    Purkayastha, Lyapunov equation in open quantum systems and non-Hermitian physics, Physical Review A 105, 062204 (2022), arXiv:2201.00677

    A. Purkayastha, Lyapunov equation in open quantum systems and non-Hermitian physics, Physical Review A 105, 062204 (2022), arXiv:2201.00677

  5. [5]

    P. D. Moral and A. Niclas, A taylor expansion of the square root matrix functional (2018), arXiv:1705.08561 [math.NA]

  6. [6]

    M. G. A. Paris, Quantum estimation for quantum tech- nology (2009), arXiv:0804.2981 [quant-ph]

  7. [7]

    W´ ojtowicz, S

    G. W´ ojtowicz, S. F. Huelga, M. M. Rams, and M. B. Ple- nio, Quantum fisher information from tensor network in- tegration of lyapunov equation (2025), arXiv:2506.11330 [quant-ph]

  8. [8]

    R. H. Bartels and G. W. Stewart, Algorithm 432 [C2]: Solution of the matrix equation AX + XB = C [F4], Commun. ACM 15, 820 (1972)

  9. [9]

    S. P. Boyd, L. El Ghaoui, E. Feron, and V. Balakrish- nan, Linear Matrix Inequalities in System and Control Theory, SIAM Studies in Applied Mathematics No. 15 (SIAM, Society for Industrial and Applied Mathematics, Philadelphia, PA, 1994)

  10. [10]

    Simoncini, Computational Methods for Linear Matrix Equations, SIAM Review 58, 377 (2016)

    V. Simoncini, Computational Methods for Linear Matrix Equations, SIAM Review 58, 377 (2016)

  11. [11]

    Sun and J

    H. Sun and J. Zhang, Solving Lyapunov equation by quantum algorithm, Control Theory and Technology 15, 267 (2017)

  12. [12]

    P. C. Costa, D. An, Y. R. Sanders, Y. Su, R. Babbush, and D. W. Berry, Optimal Scaling Quantum Linear- Systems Solver via Discrete Adiabatic Theorem, PRX Quantum 3, 040303 (2022)

  13. [13]

    A. M. Dalzell, A shortcut to an optimal quantum linear system solver (2024), arXiv:2406.12086 [quant-ph]

  14. [14]

    M. E. S. Morales, L. Pira, P. Schleich, K. Koor, P. C. S. Costa, D. An, A. Aspuru-Guzik, L. Lin, P. Rebentrost, and D. W. Berry, Quantum linear system solvers: A survey of algorithms and applications (2025), arXiv:2411.02522 [quant-ph]

  15. [15]

    N. Liu, Q. Wang, M. M. Wilde, and Z. Zhang, Quantum algorithms for matrix geometric means, npj Quantum In- formation 11, 101 (2025)

  16. [16]

    R. D. Somma, G. H. Low, D. W. Berry, and R. Babbush, Quantum algorithm for linear matrix equations (2025), arXiv:2508.02822 [quant-ph]

  17. [17]

    Zhang, J

    D. Zhang, J. L. Bosse, and T. Cubitt, Dissipative Quan- tum Gibbs Sampling (2023), arXiv:2304.04526 [quant- ph]

  18. [18]

    P. C. S. Costa, D. An, R. Babbush, and D. Berry, The discrete adiabatic quantum linear system solver has lower constant factors than the randomized adiabatic solver (2024), arXiv:2312.07690 [quant-ph]

  19. [19]

    Orsucci and V

    D. Orsucci and V. Dunjko, On solving classes of positive- definite quantum linear systems with quadratically im- proved runtime in the condition number, Quantum 5, 573 (2021)

  20. [20]

    A. W. Harrow, A. Hassidim, and S. Lloyd, Quantum al- gorithm for linear systems of equations, Phys. Rev. Lett. 103, 150502 (2009), arXiv:0811.3171

  21. [21]

    G. H. Low and I. L. Chuang, Hamiltonian simulation by qubitization, Quantum 3, 163 (2019)

  22. [22]

    Gily´ en, Y

    A. Gily´ en, Y. Su, G. H. Low, and N. Wiebe, Quantum singular value transformation and beyond: Exponential improvements for quantum matrix arithmetics, in Pro- ceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing , STOC 2019 (Association for Computing Machinery, New York, NY, USA, 2019) pp. 193–204, arXiv:1806.01838

  23. [23]

    Here we use that 1 / ln(1/∥A′∥) = 1/ ln 1/ p 1 − 1/κ < 2κ for κ > 1

  24. [24]

    Sinap and W

    A. Sinap and W. Van Assche, Polynomial interpolation and Gaussian quadrature for matrix-valued functions, Linear Algebra and its Applications 207, 71 (1994)

  25. [25]

    R. A. Horn and C. R. Johnson, Matrix Analysis, 2nd ed. (Cambridge University Press, New York City, NY, 2017). 7 Appendix A: Analysis of the probabilistic algorithm The algorithm is described in the main text and presented as pseudocode in Algorithm 1. Here we show one iteration of the algorithm as a transformation, while hiding all the intermediary steps ...

  26. [26]

    kY i=0 (1 − ri) # tr E k(ρ0) − tr E k+1(ρ0) E[ρ] (A5) + . . . (A6) +

    Expected output state (Lemma 1) We calculate the expected output state E[ρ] of the algorithm following the derivation in Zhang et al. [17]. Here ρ denotes the quantum state of the stopped process. We begin by noting that whenever the algorithm restarts, it does so from the initial state ρ0 and the iteration counter is reset to i = 0. In this case the whol...

  27. [27]

    (A12) When the Bernoulli probabilities rk are given by Eq

    Expected stopping time (Lemma 2 and Corollary 3) For the expected stopping time E[τ] of the algorithm one simply follows the derivation in [17, Lemma 7] to get E[τ] = PT k=0 Rk tr E k(ρ0) PT l=0 rlRl tr[E l(ρ0)] . (A12) When the Bernoulli probabilities rk are given by Eq. (A11), we have Rk = 1 −Pk−1 j=0 cj. Then E[τ] = PT k=0 1 −Pk−1 j=0 cj tr E k(ρ0) PT ...

  28. [28]

    Proof of Theorem 4 (Solution of discrete-time Lyapunov equation) Let us recap the setting of the theorem. We want to solve discrete-time Lyapunov equation AXA † − X + B = 0, (B6) where B is positive semidefinite, tr( B) = 1, [ A, A†] = 0, and all eigenvalues of A have magnitude strictly less than 1 (the following are equivalent: (i) it is Schur stable, (i...

  29. [29]

    Equation (B19) has a unique solution if and only if the eigenvalues of A satisfy λi + λ∗ j ̸= 0 for all λi, λj ∈ λ(A)

    Proof of Theorem 5 (Solution of continuous-time Lyapunov equation) We consider the continuous-time Lyapunov equation AX + XA † + B = 0, (B19) where B is positive semidefinite, tr(B) = 1, [A, A†] = 0, and all eigenvalues of A satisfy Re[λ(A)] < 0 (Hurwitz stable). Equation (B19) has a unique solution if and only if the eigenvalues of A satisfy λi + λ∗ j ̸=...

  30. [30]

    The diamond norm of a linear map A : Cd×d → Cd×d is defined as ∥A∥⋄ = max {∥(A ⊗ Id)(X)∥1 | X ∈ C2d×2d, ∥X∥1 ≤ 1}

    Robustness In this section we discuss the effect of approximations on the block-encoding. The diamond norm of a linear map A : Cd×d → Cd×d is defined as ∥A∥⋄ = max {∥(A ⊗ Id)(X)∥1 | X ∈ C2d×2d, ∥X∥1 ≤ 1}. The diamond norm is submultiplicative under composition of maps, ∥B ◦ A∥ ⋄ ≤ ∥B∥ ⋄∥A∥⋄, thus ∥B ◦ A − D ◦ C∥ ⋄ ≤ ∥B ◦ A − B ◦ C∥ ⋄ + ∥B ◦ C − D ◦ C∥ ⋄ (...

  31. [31]

    In particular, the following theorem implies that, if we had chosen T ∗ < 1 4 ln 1 ϵ ln 10 ∥A∥ in Theorem 4, then it would have been false

    Lower bound for the discrete time algorithm We can show that the choice of T ∗ := l 1 2 ln 1 ϵ ln 1 ∥A∥ m in Theorem 4 is asymptotically optimal. In particular, the following theorem implies that, if we had chosen T ∗ < 1 4 ln 1 ϵ ln 10 ∥A∥ in Theorem 4, then it would have been false. Theorem 7. For every 1/2 ≤ λ < 1, there exist a normal matrix A of oper...