Abstract
Solving linear ordinary differential equations (ODE) is one of the most promising applications for quantum computers to demonstrate exponential advantages. The challenge of designing a quantum ODE algorithm is how to embed non-unitary dynamics into intrinsically unitary quantum circuits. In this work, we propose a new quantum algorithm for solving ODEs by harnessing open quantum systems. Specifically, we propose a novel technique called non-diagonal density matrix encoding, which leverages the inherent non-unitary dynamics of Lindbladians to encode general linear ODEs into the non-diagonal blocks of density matrices. This framework enables us to design quantum algorithms with both theoretical simplicity and high performance. Combined with the state-of-the-art quantum Lindbladian simulation algorithms, our algorithm can outperform all existing quantum ODE algorithms and achieve near-optimal dependence on all parameters under a plausible input model. We also give applications of our algorithm including the Gibbs state preparations and the partition function estimations.
Introduction
Differential equations are fundamental to physics, engineering, and finance. While classical computers struggle with massive systems, quantum computers offer a potential exponential advantage. However, a significant hurdle exists: quantum mechanics is naturally unitary (reversible and information-preserving), whereas most real-world ODEs are non-unitary, involving dissipation or growth. Previous attempts to bridge this gap—such as linear system solvers or unitary dilation—often suffer from suboptimal scaling, particularly with "non-normal" matrices where techniques like Quantum Singular Value Transformation (QSVT) are difficult to apply.
Methods: Non-Diagonal Density Matrix Encoding (NDME)
The core innovation of this work is the Non-Diagonal Density Matrix Encoding (NDME) framework. Instead of representing the solution as a standard state vector $|\psi\rangle$ in a closed system, the authors utilize an "open" quantum system governed by a Lindblad master equation.
The process involves several key steps:
- The Lindbladian Connection: Open systems naturally exhibit non-unitary dynamics due to interaction with an environment, making them ideal for modeling dissipative ODEs.
- The Encoding Trick: The solution vector $\vec{\mu}(t)$ is encoded into the off-diagonal blocks of a density matrix $\rho$. Unlike the full matrix, these blocks are not restricted to being Hermitian or positive semi-definite, allowing for the representation of general mathematical structures.
- Mapping the ODE: The ODE's coefficient matrix $V(t)$ is decomposed into Hermitian (dissipative) and anti-Hermitian (oscillatory) parts, which are then mapped to the Lindbladian's jump operators and Hamiltonian.
- Extraction: A specialized version of Amplitude Amplification is used to extract the solution state from the larger density matrix.
Key Results and Complexity Analysis
The NDME approach achieves near-optimal scaling, specifically linear in time ($T$) and poly-logarithmic in precision ($1/\epsilon$). This matches theoretical lower bounds. Furthermore, the algorithm introduces a "square root access" model, providing significant performance gains in scenarios where only components of the matrix $V(t)$ are accessible.
As shown in the comparison table, this work provides better dependence on the preparation error $\epsilon$ compared to previous methods like "Improved LCHS." For time-independent cases, it achieves optimal dependence on $\epsilon$. The query complexity to the initial state is $O(\eta_T^{-1})$, where $\eta_T$ is the solution's norm, marking a substantial improvement over linear-system-based solvers. Beyond ODEs, the authors demonstrate that this framework can be used for Gibbs state preparation and partition function estimation.
Conclusion
This framework not only sets a new benchmark for quantum ODE solvers but also provides a bridge to non-Hermitian physics. While its efficiency is currently tied to the state-of-the-art in Lindbladian simulation, it opens doors for solving general linear equations and other eigenvalue-related challenges. Future work will explore applying NDME to broader non-unitary problems beyond the reach of current tools like QSVT.
Summary updated