Runge–Kutta methods at the complete-positivity boundary
A technical introduction to qubit damping, Choi geometry, and a structural error that ordinary convergence can make small without ever changing its sign.
A numerical solution can be close to the exact answer and still fail to represent a possible quantum process. That distinction is easy to miss because ordinary convergence asks how the error behaves as the step size decreases. Open-system quantum dynamics asks an additional question: does each finite step remain a completely positive, trace-preserving map?
Accuracy is not the whole contract
In a closed classical calculation, a time-stepping method is usually judged by consistency, convergence order, stability, and computational cost. Those diagnostics remain necessary in quantum dynamics, but the object being propagated is not an arbitrary vector. A density matrix must remain Hermitian, have unit trace, and be positive semidefinite.
Positivity alone is not the final condition. A channel may act on one part of an entangled system, so its extension by the identity map must also preserve positivity. This stronger requirement is complete positivity. Together with trace preservation, it defines a CPTP map, the standard mathematical representation of a physically admissible quantum channel.
A direct Runge–Kutta update of a Lindblad equation preserves trace in the model considered here, and real coefficients preserve Hermiticity. Neither fact guarantees complete positivity. The remaining failure can be small enough to disappear on an ordinary error plot while still giving the Choi matrix a negative eigenvalue.
Complete positivity can be tested as a matrix inequality
The Choi construction converts the tensor-level definition of complete positivity into a finite matrix test. Apply the channel to one half of a maximally entangled state. The channel is completely positive exactly when the resulting Choi matrix is positive semidefinite.
For zero-temperature qubit damping, the channel is controlled by two real multipliers. The excited-state population is multiplied by a, while the off-diagonal coherence is multiplied by c. The Choi condition reduces to
The first inequality prevents a population from becoming negative or exceeding its physical ceiling. The second couples coherence to population. A channel cannot retain more squared coherence than the surviving population can support.
The channel constraint is geometric
Population and coherence cannot vary independently in a physical amplitude-damping channel.
Why amplitude damping is a useful boundary problem
Consider a qubit relaxing from its excited state at rate γ. For a step of durationh, define the dimensionless relaxation step x = γh. Optional pure dephasing contributes a second coordinate u = γϕh. The exact population and coherence multipliers are
With pure amplitude damping, u = 0 and |c|² =a exactly. The physical evolution runs along the boundary of the channel set rather than through its interior. There is no structural buffer. A small numerical perturbation can land on either side.
Added dephasing changes that geometry. It suppresses coherence more rapidly while leaving the population multiplier unchanged, so |c|² < a. Near the origin, every fixed positive dephasing-to-relaxation ratio creates a nonzero local CPTP interval. Pure amplitude damping is therefore the critical case: it exposes the sign of the numerical defect without an interior margin masking it.
Runge–Kutta methods enter through a single function
For the scalar test equation y′ = λy, a Runge–Kutta method replaces the exact exponential ehλ with its stability function R(hλ). In this damping model, the Liouvillian separates into invariant population and coherence modes. The full numerical channel is therefore determined by two evaluations of the same function:
On the pure-amplitude-damping boundary, the complete-positivity test becomes
The scalar margin MR is the determinant of the active Choi block. Its sign is the sign of the lower Choi eigenvalue. This makes the physicality test exact without repeatedly diagonalizing a matrix.
The population ceiling and the block margin are independent. Forward Euler atx = 1 keeps both scalar modes within the usual absolute-stability bound, yet its margin is −1/4. Heun’s second-order method has a positive block margin at x = 4, but its population multiplier is 5. Either condition can be the first route out of the channel set.
One stability function, two decay modes
Select a formula and move the relaxation step. The test is structural, not an error estimate.
- population, a
- 0.33333
- squared coherence, c²
- 0.14063
- margin, a − c²
- 0.19271
CPTP at this step
The familiar fourth-order formula is physical on a finite component attached to the origin.
Step doubling contains the local crossing direction
Suppose the first difference between the stability function and the exponential occurs at order m:
Substitute one full population step and two half coherence steps into the Choi margin. The exact exponential terms cancel because e−x = (e−x/2)². What remains is
The factor 1 − 21−m is familiar from full-step versus two-half-step error estimation. Here its signed coefficient has a geometric meaning: it tells us whether the numerical channel initially enters the CPTP region or exits it.
This is not an odd-versus-even order rule. The pattern happens to hold for minimal truncated exponential polynomials, but the Dormand–Prince principal fifth-order formula crosses inward. Backward Euler is first order and remains admissible for every nonnegative step in this model; implicit midpoint is second order and crosses outward immediately. The signed first defect, not formal order alone, controls the local direction.
Physical step-size regions can have different topologies
The release evaluates eight representative explicit and implicit formulas using exact rational Butcher coefficients. Boundary polynomials are derived symbolically. Positive roots are isolated with Sturm counts, and exact rational samples certify the sign on every intervening interval.
The resulting admissible sets include four qualitatively different forms: the origin alone, a finite interval attached to the origin, an unbounded interval, and a disconnected set. The embedded fourth-order Dormand–Prince formula is the most instructive global example. It is non-CPTP for every sufficiently small positive step, then becomes CPTP on the isolated interval 3.0688565481… ≤ x ≤ 4.3849863208….
That remote component is a physicality statement, not an accuracy recommendation. Atx = 4, the step is CPTP but its population multiplier differs substantially from the exact exponential. Complete positivity constrains structure. It does not certify that a numerical answer is close.
| Method | Order | Local crossing | CPTP-admissible set |
|---|---|---|---|
| Forward Euler | 1 | outward | {0} |
| Heun RK2 | 2 | inward | [0, 2] |
| SSPRK(3,3) | 3 | outward | {0} |
| Classical RK4 | 4 | inward | [0, 2.7852935634…] |
| Dormand–Prince 5 | 5 | inward | [0, 3.3065678926…] |
| Dormand–Prince embedded 4 | 4 | outward | {0} ∪ [3.0688565481…, 4.3849863208…] |
| Backward Euler | 1 | inward | [0, ∞) |
| Implicit midpoint | 2 | outward | {0} |
Why more steps do not necessarily restore physicality
Repeating a fixed phase-covariant step raises the population multiplier toaN and the coherence multiplier to cN. On the nonnegative-population branch, taking powers preserves the ordering betweena and c². A failed one-step map therefore remains failed after any finite number of identical compositions.
Fixed-horizon refinement is subtler. Hold a final dimensionless time X constant and take N steps of size x = X/N. For outward methods, the negative Choi eigenvalue can decay at the method’s ordinary global order. The violation becomes rapidly smaller, but it remains negative for every sufficiently fine finite refinement.
This is the central separation. Convergence describes distance to the exact channel. Complete positivity describes which side of the channel boundary the approximation occupies. A sequence can improve by every conventional error measure while approaching the boundary entirely from the nonphysical side.
Refinement can shrink a violation without repairing it
Fixed final time X = 1. Both curves remain on the negative side of the Choi boundary.
- Forward Euler
- −6.772e-4
- SSPRK(3,3)
- −9.890e-9
Smaller is not the same as nonnegative. Every displayed value is still outside the channel set.
What the open release makes inspectable
The repository is not a collection of plotting scripts attached after the analysis. It is the computational record of the proof obligations. One command reconstructs each stability function from its exact tableau, identifies the first exponential defect, forms the boundary polynomials, verifies all listed positive-root brackets, rebuilds the interval sign charts, and regenerates the figures and fixed-horizon data.
A successful check certifies eight method audits, fourteen positive-root certificates, and three figures. The exact symbolic and Sturm calculations are recorded in machine-readable JSON; a compact CSV provides the method-level classification; a human-readable supplement presents the root isolation and sign charts. No external dataset, web access, or proprietary software is required.
This division matters. Decimal endpoints are useful for reading a figure, but they are not the proof. The proof resides in the polynomial identities, exact rational isolating intervals, Sturm root counts, and rational sign samples. The repository keeps those layers together.
Exact Runge–Kutta and Choi admissibility calculations
MIT-licensed code, certified boundary data, plotting data, figures, and citation metadata.
Scope
These results are generator-conditioned. They do not make a classical Runge–Kutta method universally CPTP, and they do not replace structure-preserving Kraus, channel, or exponential integrators when physicality must be guaranteed across broad problem classes.
The analysis covers an autonomous zero-temperature qubit Lindbladian with commuting relaxation and dephasing modes, real Runge–Kutta coefficients, and direct application to the density-matrix equation. Finite-temperature excitation, noncommuting Hamiltonian terms, time-dependent generators, higher-dimensional channels, and projection-based corrections require separate analysis.
The broader program is to pull tractable channel inequalities back through numerical stability functions. Wherever a Lindbladian decomposes into a small set of invariant operator modes, that approach can turn finite-step physicality into an exact region problem and provide benchmark constraints for integrator design.