Lindblad Master Equation Solvers
A Lindblad solver evolves a prescribed Markovian model while controlling integration and Hilbert-space truncation errors. Trace preservation and positivity are necessary checks, but neither proves that the chosen master equation describes the experiment. The Lindblad–GKSL equation explains the physical assumptions behind this model.
Helpful background. Vectorization constructs the generator; density-matrix diagnostics supplies state checks.
The Liouvillian initial-value problem
Section titled “The Liouvillian initial-value problem”For collapse operators containing square-root rates,
A rate belongs in , not . In finite dimension with a time-independent generator, . An exponential action can avoid forming the full propagator. For time-dependent coefficients an adaptive ODE method evaluates the current generator at each stage.
Use sparse action or direct matrix products when an explicit Liouvillian is too large. Multiple time scales create stiffness: fast decays can constrain an explicit integrator even when only slow populations are desired. Compare an implicit method or exponential method before tightening explicit tolerances indefinitely.
A solvable relaxation benchmark
Section titled “A solvable relaxation benchmark”Let and . Then
Start from to test both coherent rotation and damping. Compare populations, real and imaginary coherences, trace, and the smallest eigenvalue over the entire time interval. A terminal population alone cannot detect a wrong Hamiltonian sign.
Forward Euler illustrates why a trace-preserving derivative is insufficient. Set and . Euler damping multiplies the excited population by and the coherences by . In the input-first Choi matrix, the corner block is
Thus the step is not completely positive for any positive , even when selected input states remain positive. A particular test state need not reveal the defect at every step size: the equal superposition has positive output for sufficiently small damping-only steps. Test the finite-step map or use convergence and state diagnostics together.
For this qubit, exact damping with is a Kraus channel. With a time-independent noncommuting drive, composing a unitary half-step, an exact damping step, and a unitary half-step preserves complete positivity and trace at every step. Its global accuracy is still second order for smooth bounded generators; compare with a refined reference. Generic Runge–Kutta integration does not have this exact channel property.
Steady states as constrained null vectors
Section titled “Steady states as constrained null vectors”Solve
One practical formulation replaces one redundant equation by the trace constraint; another augments the linear system. After reshaping, check the residual , Hermiticity, trace, and positivity. A normalized vector from a near-zero eigenvalue is not automatically a physical steady state.
The replaced equation must really be redundant, and the constrained system must have full rank. Inspect its conditioning when the relaxation gap is small. The steady-state residual alone does not bound the state error uniformly: on the trace-zero subspace, the inverse of the restricted generator determines how residuals are amplified. For a nonnormal generator, an eigenvalue gap alone is not a sufficient conditioning estimate.
If the kernel has dimension greater than one, the steady state is not unique. For pure dephasing, every diagonal density matrix is stationary. Initial conditions and conserved quantities determine the long-time state, and a single trace constraint cannot select it. Near degeneracy can also make steady-state observables sensitive to solver tolerances.
A small residual with a large state error
Section titled “A small residual with a large state error”A finite decay chain makes the conditioning issue explicit. Take orthonormal levels , , and the separate collapse operators
Every excited level feeds the one below it at the same rate. The unique stationary state is . Consider the positive, normalized trial state
All interior population flows cancel in its residual. Nevertheless,
The residual becomes small relative to the rate as the dimension grows, while a ground-state measurement distinguishes the trial state perfectly from the answer. All nonzero population eigenvalues are ; ground–excited coherences decay at and other coherences at . Thus the smallest nonzero decay rate of the full generator stays . For , its population block contains a nontrivial Jordan chain, so that fixed eigenvalue gap does not control the inverse norm. On trace-zero operators the inverse amplifies this particular residual by in trace norm.
For one fixed finite model the inverse bound remains finite. The example rules out an error certificate based only on a small residual and an eigenvalue gap across different models or increasing cutoffs. Supplement residuals with conditioning estimates and independently converged target observables.
A convergence protocol
Section titled “A convergence protocol”First hold the Hilbert cutoff fixed and tighten time tolerances or refine the step until target observables stabilize. Then increase the cutoff independently, monitoring boundary occupation. Finally compare one small instance with exact diagonalization of the Liouvillian or a channel exponential. Keep absolute and relative tolerances meaningful for small coherences as well as order-one populations.
For an oscillator with , the vacuum must be stationary and when . Failure near a high-occupation cutoff can be a representation error rather than an ODE failure. See bosonic bases.
Exercise
Section titled “Exercise”Add excitation to relaxation . Find the stationary excited population and population decay rate.
Solution
, so and the approach rate is . If both rates vanish there is no unique stationary population. The example tests upward/downward rate placement and the singular zero-rate limit.
For the decay chain above, find the mean time to reach when the initial state is . Explain why it can grow even though the decay eigenvalue gap stays fixed.
Solution
Starting at level requires successive jumps, each with mean waiting time , so the mean absorption time is . Averaging the uniform initial populations gives . The cascade must transport population through many levels; its evolution contains polynomial factors multiplying decaying exponentials. A fixed eigenvalue gap alone does not bound this transient duration uniformly in .
References
Section titled “References”- Lindblad, G., “On the generators of quantum dynamical semigroups,” Communications in Mathematical Physics 48, 119–130 (1976), doi:10.1007/BF01608499.
- QuTiP developers, “Lindblad Master Equation Solver” and “Steady State Solvers”, QuTiP documentation — numerical implementations and solver choices.