Nearly optimal quantum algorithm for linear matrix differential equations with applications to open quantum systems. Achieves O~(nu*L*t/epsilon) query complexity for unitary/dissipative dynamics, with polynomial to exponential quantum speedups over classical methods. Activation: quantum differential equation, open quantum system simulation, dissipative dynamics quantum, linear matrix ODE quantum, quantum time evolution algorithm.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add hiyenwong/ai_collection --skill quantum-linear-differential-equation --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Quantum Linear Differential Equation?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hiyenwong-quantum-linear-differential-equation)More formats (shields.io, HTML) on the badges page.
---
name: quantum-linear-differential-equation
description: "Nearly optimal quantum algorithm for linear matrix differential equations with applications to open quantum systems. Achieves O~(nu*L*t/epsilon) query complexity for unitary/dissipative dynamics, with polynomial to exponential quantum speedups over classical methods. Activation: quantum differential equation, open quantum system simulation, dissipative dynamics quantum, linear matrix ODE quantum, quantum time evolution algorithm."
---
# Quantum Linear Matrix Differential Equation Solver
> Nearly optimal quantum algorithm for solving linear matrix differential equations with O~(nu*L*t/epsilon) query complexity, achieving polynomial to exponential speedups for dissipative dynamics and open quantum system simulation. (arXiv:2605.16195)
## Metadata
- **Source**: arXiv:2605.16195
- **Authors**: Sophia Simon, Dominic W. Berry, Rolando D. Somma
- **Published**: 2026-05-15
- **Categories**: quant-ph
## Core Methodology
### Key Innovation
First efficient quantum algorithm for **linear matrix differential equations** that avoids the exponential-time bottleneck of prior approaches. Unlike methods that encode the solution in a quantum state (leading to exponentially small amplitudes), this algorithm computes **entries of the solution matrix** directly, with query complexity **linear in time t** for unitary dynamics and **constant** for dissipative dynamics.
### Complexity Analysis
The algorithm achieves query complexity: **O~(nu * L * t / epsilon)**
- **nu**: Problem-dependent constant (related to norms of evolution operators)
- **L**: Time integral of upper bounds on evolution operator norms
- **t**: Evolution time
- **epsilon**: Target precision
**Key results:**
- nu * L is **linear in t** for unitary dynamics
- nu * L can be **constant** for dissipative dynamics (bounded by system properties)
- **Proven lower bound**: Omega(nu * L * t / epsilon) — algorithm is optimal up to logarithmic factors
### Contrast with Prior Approaches
| Approach | Time Complexity | Limitation |
|----------|----------------|------------|
| State-encoding methods | Exponential in t | Solution amplitudes decay exponentially |
| This algorithm | O~(nu*L*t/eps) | Nearly optimal, no exponential decay |
### Technical Framework
1. **Matrix Differential Equation Formulation**
```
dX/dt = A(t) * X(t), X(0) = X_0
```
where X is a matrix (not a vector), enabling direct computation of matrix entries
2. **Time-Discretized Evolution**
- Decompose total time t into segments where A(t) is approximately constant
- Apply product formula for each segment's evolution operator
- Use quantum singular value transformation for each segment's matrix function
3. **Entry Computation via Overlap Estimation**
- Instead of encoding the full solution state, compute specific matrix entries
- Use amplitude estimation or Hadamard tests for inner product estimation
- Avoids the exponential suppression inherent in state-based approaches
4. **Dissipative Dynamics Specialization**
- For Lindblad-type dissipative dynamics, the evolution operator norm is bounded
- L becomes time-independent, yielding constant query complexity in t
- Applicable to non-interacting fermion systems, extendable to broader quantum/classical systems
### End-to-End Application: Dissipative Fermion Dynamics
- Simulate dissipative dynamics for non-interacting fermions on a lattice
- **Polynomial quantum speedup** for short-range interactions
- **Exponential quantum speedup** for long-range interactions
- Comparison with classical algorithms confirms advantage scaling
## Implementation Guide
### Prerequisites
- Quantum singular value transformation (QSVT) primitives
- Block-encoding of the coefficient matrix A(t)
- Amplitude estimation or Hadamard test circuits
### Step-by-Step
1. **Block-Encode the Coefficient Matrix**
```
A_block = block_encode(A(t), alpha)
```
where alpha >= ||A(t)|| is the subnormalization factor
2. **Time-Segment Decomposition**
```
T = t / dt # Number of segments
For k in 1..T:
U_k = exp(A(t_k) * dt) # Evolution operator for segment k
```
3. **QSVT Implementation**
- For each segment, apply QSVT to approximate exp(A * dt)
- Polynomial degree scales as O(alpha * dt * log(1/epsilon'))
4. **Entry Computation**
```
X_ij = <i| X(t) |j> = <i| U_T ... U_1 X_0 |j>
```
- Use Hadamard test or amplitude estimation
- Sample complexity: O(1/epsilon^2) for classical sampling, O(1/epsilon) for quantum
5. **Error Analysis**
- Trotter error: O(dt^p) for p-th order product formula
- QSVT approximation error: O(epsilon')
- Total error: epsilon = sum of component errors
### Code Example (Pseudocode)
```python
def solve_linear_matrix_ode(A_block, X0_entries, t, epsilon):
"""Solve dX/dt = A*X with matrix entry computation."""
# Determine time segments
dt = optimal_step_size(A_block, epsilon, t)
T = int(t / dt)
# For each segment, apply QSVT
evolution_ops = []
for k in range(T):
A_k = get_matrix_at_time(A_block, k * dt)
U_k = qsvt_matrix_exp(A_k, dt, precision=epsilon/T)
evolution_ops.append(U_k)
# Compute entries of solution matrix
results = {}
for (i, j) in X0_entries:
entry = hadamard_test(evolution_ops, i, j)
results[(i, j)] = entry
return results
```
## Applications
- Open quantum system simulation (Lindblad dynamics)
- Quantum chemistry: time-dependent electronic structure
- Quantum many-body physics: non-equilibrium dynamics
- Classical systems: linear ODEs in engineering, finance, epidemiology
- Control theory: time-varying linear systems analysis
## Pitfalls
- **Subnormalization factor**: alpha = ||A|| directly affects query complexity; poorly conditioned A increases cost
- **Entry-wise vs full matrix**: Algorithm is efficient for sparse entry queries; dense matrix computation may favor classical methods
- **Time-dependent coefficients**: Rapidly varying A(t) requires fine discretization, increasing segment count T
- **Lower bound tightness**: The Omega(nu*L*t/epsilon) lower bound applies to unitary/dissipative cases; general non-normal A may have different bounds
- **Classical comparison**: Speedup is polynomial for local interactions; exponential advantage requires specific system structure (e.g., long-range interactions)
## Related Skills
- quantum-algorithm-framework-designer
- quantum-block-encoding-linear-algebra
- quantum-linear-algebra-block-encoding
- quantum-signal-processing-orthogonal-poly
- quantum-chemistry-algorithmsIs this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!