Research/Research Note 001

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.

Open reproducibility package ↗Archived release v1.0.0 ↗
Choi matrix connected to a complete-positivity boundary

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

0 ≤ a ≤ 1|c|² ≤ a.

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.

Figure 1

The channel constraint is geometric

Population and coherence cannot vary independently in a physical amplitude-damping channel.

Complete-positivity geometry for qubit dampingThe physical region lies below the line squared coherence equals population. Exact pure amplitude damping follows the boundary; added dephasing moves into the interior.00.20.40.60.8100.20.40.60.81population multiplier asquared coherence |c|²CPTP relative interiorpure amplitude dampingadded dephasinga = 1
The Choi test reduces to 0 ≤ a ≤ 1 and |c|² ≤ a. Exact zero-temperature amplitude damping satisfies equality and therefore sits on the boundary. Dephasing lowers coherence without changing the population multiplier, creating a physical buffer.

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

aexact = e−xcexact = e−x/2−u.

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 e with its stability function R(). 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:

a = R(−x)c = R(−x/2−u).

On the pure-amplitude-damping boundary, the complete-positivity test becomes

R(−x) ≤ 1MR(x) := R(−x) − R(−x/2)² ≥ 0.

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.

Interactive figure 2

One stability function, two decay modes

Select a formula and move the relaxation step. The test is structural, not an error estimate.

01234510relaxation step x = γh
Classical RK4order 4 · locally inward
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.

Certified admissible set[0, 2.7852935634…]
Complete positivity requires both a ≤ 1 and ac² ≥ 0. The second condition automatically supplies a ≥ 0. The ribbon reports the exact certified set; the plot is a visual evaluation of the same stability function.

Step doubling contains the local crossing direction

Suppose the first difference between the stability function and the exponential occurs at order m:

R(s) − es = ηmsm + O(sm+1).

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

MR(x) = (−1)m(1 − 21−mmxm+ O(xm+1).

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.

Certified pure-amplitude-damping regions
MethodOrderLocal crossingCPTP-admissible set
Forward Euler1outward{0}
Heun RK22inward[0, 2]
SSPRK(3,3)3outward{0}
Classical RK44inward[0, 2.7852935634…]
Dormand–Prince 55inward[0, 3.3065678926…]
Dormand–Prince embedded 44outward{0} ∪ [3.0688565481…, 4.3849863208…]
Backward Euler1inward[0, ∞)
Implicit midpoint2outward{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.

Interactive figure 3

Refinement can shrink a violation without repairing it

Fixed final time X = 1. Both curves remain on the negative side of the Choi boundary.

4101001,00010,00010⁻²10⁻⁵10⁻⁸10⁻¹¹10⁻¹⁴number of equal steps Nmagnitude of negative Choi eigenvalueForward Euler · N⁻¹SSPRK(3,3) · N⁻³
Nearest certified sampleN = 100
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.

At a fixed final time, the structural defect decays at the ordinary global order for these examples. Its sign does not change. The repeated numerical map converges to the exact boundary channel from the nonphysical side.

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.

python src/reproduce_pla_results.py --check

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.

Open research release · v1.0.0

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.

Research Notes

Follow new open releases

Receive an email when a new research package or explanatory note is published. Messages are occasional and limited to research output.

Research Note 001

Educational companion to the open data and code release. The associated manuscript contains the complete theorem statements, proofs, literature context, and limitations.

Return to Research →