Potential-independent quantum paths and Gaussian fluctuations¶
Warning
Experimental instanton and quantum-path work in progress. These interfaces may change.
An instanton rate needs an imaginary-time path and the Gaussian fluctuations around it, and the path calculation should not depend on which potential supplies the energies. This page defines the interface and the mathematics that keep the two apart.
Status: implemented as library code in gpr/quantum/ and exercised by the benchmark project in bench/quantum/.
No gprn or gprd flag runs it.
The C++ namespace gpr::quantum separates a potential from the imaginary-time path calculation.
A potential supplies Cartesian energy and gradient callbacks and, optionally, a Cartesian Hessian.
The same path and Gaussian fluctuation code accepts molecular, periodic, analytic and electronic-structure potentials.
A model-specific example establishes behavior for that model; it does not define the mathematical interface.
Gaussian-reference force-gradient corrections describe the residual-force trace correction, its physical Hessian action and its open-arc endpoint term.
Coordinates, units and boundary conditions¶
QuantumPotentialPath.h exposes PathPotential, MassMetric, AffinePathBoundary and optimizePotentialPath.
Gradients are derivatives of energy, not forces.
MassMetric takes one positive mass per moving coordinate and a Cartesian origin, with
The caller supplies consistent energy, length, mass, imaginary-time and \(\hbar\) units. The library does not silently convert an external potential’s units. An omitted Hessian uses central differences of gradients in mass coordinates. Callback counts include these evaluations.
An orthogonal matrix \(P\) and vector \(b\) impose \(q_N=Pq_0+b\).
They represent a closed ring, a permutation or a winding boundary without prescribing an atom count or a material.
physicalPathBoundary transforms a physical affine map into mass coordinates and checks orthogonality there.
A permutation exchanging unequal masses is not an orthogonal symmetry of the kinetic metric.
With an empty harmonicReferenceHessian, the optimizer uses the uniform primitive action with \(h=\tau/N\):
Here \(V(q)\) means the Cartesian callback composed with the mass transform. The endpoint is evaluated explicitly. The interface does not assume \(V(Pq+b)=V(q)\); its endpoint derivative includes \(P^Tg(q_N)\), and its endpoint Hessian includes \(P^TH(q_N)P\).
Cell and minimum-image semantics belong to the supplied potential. A periodic adapter must use its native geometry library and cell convention. The path solver neither wraps coordinates by fractional rounding nor invents a cell.
One action, Hessian and link measure¶
A primitive optimized action combined with an exact-segment fluctuation determinant is a hybrid diagnostic. Its two quadratic forms are different; separate Gaussian and optimizer tests do not certify that product as a rate.
QuantumHarmonicReference.h defines a symmetric split using one fixed positive-semidefinite mass-weighted curvature \(H_0\).
Write \(U(q)=V(q)-q^TH_0q/2\).
The reference kernel supplies \(A_0=W_0\coth(hW_0)\), \(L_0=W_0\operatorname{csch}(hW_0)\) and the link action
Set harmonicReferenceHessian to use that same action in the optimizer.
Its derivatives retain matrix-valued neighbour couplings \(-L_0\), distinct left and right endpoint Hessians, the actual affine endpoint and its chain rule.
A pure harmonic reference has an exact Gaussian integral at every mesh; a nonlinear residual still requires mesh convergence.
This reference is a numerical splitting choice, not an inferred physical bath.
A positive reference alone does not guarantee a positive coarse-grid trace. For scalar reference curvature \(w^2\) and positive physical curvature \(v\), the lowest periodic precision eigenvalue is \(2w\tanh(hw/2)+h(v-w^2)\). A stiffer reference can leave a negative residual that makes this expression negative at a coarse mesh. The signed Gaussian qualification retains that instability; it does not floor the mode.
With retainQuadratic=true, fluctuationSegments holds the optimized action’s own Hessian links and original \(\log\det L_0\) measure, including for the primitive zero-reference case.
The extra endpoint Hessian evaluations are included in the result’s callback counts.
Pass these links to the Gaussian trace or restricted-trace routines.
An explicit rightA block is the right endpoint curvature; an empty block uses A at both ends.
This describes a normalized link quadratic and does not assert that a nonlinear physical potential is harmonic along the link.
Stationarity, slice measure, signed inertia and observable normalization still need separate qualification. No physical rate follows merely from selecting the coherent splitting.
Constraints and force acceptance¶
PathConstraints supplies nodal blocks \(C_j\) of jointly orthonormal linear constraint normals, with \(\sum_j C_j^Tq_j=a\).
Empty constraints are supported.
The Newton step solves the block cyclic bordered system
Open interior elimination retains the endpoint and constraint border. It avoids a dense matrix in the complete nodal dimension, with interior cost \(O(Nd^3)\) for coordinate dimension \(d\). An unresolved interior pivot is a reported factorization failure; it does not authorize regularization or removal of a physical mode.
The result distinguishes the full action gradient from its constrained projection.
Residuals divide that gradient by \(h\).
Full stationarity is the default acceptance condition.
A conditional solution requires an explicit requireFullStationarity=false and reports its normal force.
Convergence under a surrogate callback establishes stationarity of that surrogate; native force qualification remains necessary for a native physical result.
Gaussian propagation and bath elimination¶
QuantumGaussianSegments.h propagates an entire constant-Hessian Dirichlet bridge, rather than a nodal approximation to its Gaussian determinant.
For \(W^2=H_q\), its endpoint blocks are
The code evaluates the zero-curvature limit and negative-curvature analytic continuation and rejects a segment caustic.
Adjacent Hessians need not commute.
QuantumGaussianTwistedTrace.h closes the Gaussian endpoints with \(P\).
QuantumGaussianTwistedRestriction.h computes determinants and covariance projections on a specified affine slice, retaining signed inertia.
It supports multiple constraint normals and a singular full-ring phase direction without inverting the full cyclic matrix.
Gaussian bath elimination is the Schur complement
The determinant factor and induced covariance are part of that elimination. A thermostat matrix used to accelerate equilibrium sampling is not, by that fact, a physical dissipative bath. A physical reduced GLE additionally needs the specified coupling, bath spectrum and boundary conditions. This module makes no automatic identification between the two.
QuantumGaussianPolynomial.h computes sparse polynomial moments for a general noncentral Gaussian, including correlated and deterministic directions.
It can evaluate polynomial measure factors.
A curved collective-coordinate chart still needs its own domain, multiplicity and tail control.
A Gaussian density or an optimized action alone is not a rate or a splitting. The caller must supply the relevant reference partition function, collective measure and physical normalization. Soft modes are not removed on the basis of a molecule-specific label or a numerical cutoff.
C++ measurements¶
The standalone Meson project in bench/quantum builds the production gpr/quantum sources directly, together with the test executables that bench/quantum/meson.build registers and bench_quantum_paths.
It requires Eigen, GoogleTest, MPI, threads and nlohmann_json from the chosen environment.
The commands that produced the receipts below, on a build host:
meson setup build-quantum bench/quantum
meson compile -C build-quantum -j 1
meson test -C build-quantum --no-rebuild --print-errorlogs
mpirun -np 2 build-quantum/bench_quantum_paths --threads 2
The benchmark combines a nonlinear quartic potential with a coupled harmonic bath and a periodic cosine winding potential with a nonlinear coupled bath. Each family uses coordinate dimensions 1, 2, 8 and 32, with 24 and 48 nodes. The largest case therefore has 1536 nodal coordinates. Positive nonunit masses exercise the kinetic metric. These are numerical verification potentials, not material rate predictions.
The frozen production source stage 839a46ffc5b64e00691c4e746e540fa2c65462e5 passed all eight quantum executables that the project registered then (tests.txt in the evidence directory).
That commit is not in this repository’s history; the evidence directory is the record.
Its 16 benchmark cases agree across six layouts: MPI ranks 1, 2 and 4, each with 1 or 2 actual C++ worker threads.
Floating-point values agree to a scaled tolerance of \(10^{-12}\); callback counts and restricted inertia agree exactly.
Every path meets the configured full residual tolerance \(10^{-8}\).
Raw CSVs, compiler information, source hashes and test output are in bench/quantum/evidence/839a46ffc.
That frozen benchmark used a primitive mean action and a midpoint exact-segment cofactor. Its measurements verify those components, not a common finite-grid Laplace integral. The benchmark source selects a fixed harmonic bath reference and consumes the returned action Hessian links; its cofactor callback counts include the retained-quadratic evaluations. Its measurements must be identified by their own source hashes and must not be substituted into the frozen CSVs.
measure.sbatch runs this sweep from a frozen source stage and an existing Pixi environment prefix.
It reserves four MPI tasks with two CPUs each and limits nested BLAS/OpenMP threading to one.
MPI calls remain on the main thread.
The measured case times are per-case elapsed times, not strong-scaling claims: each MPI rank repeats the full case set to check invariance.
The standalone measurement does not establish the status of the complete GP regression suite.
The consistent-action source 70b8381ec6a54245760083aa00e1d04b3af76c3a passes all nine quantum executables and all 16 nonlinear cases across the same six MPI/thread layouts. The comparison retains scaled \(10^{-12}\) numerical agreement and exact count/inertia agreement.
Every full residual is below \(10^{-8}\), and every restricted quadratic is positive.
The new four-case reference suite independently checks dense KKT solves with noncommuting matrix couplings, affine/mass-coordinate derivatives and Hessians, constrained covariance, exact stiff harmonic traces across meshes and large-origin free links.
Receipts are in bench/quantum/evidence/70b8381ec.
These are numerical method checks, not a native material-rate measurement.
Stationary reaction directions in a harmonic bath reference¶
Let H be a symmetric saddle curvature in mass coordinates and let the columns of V span reaction displacements. If A = V^T H V is negative definite, the stationary bath completion is
It satisfies K_0 V = 0. In an orthonormal basis [V,W], the blocks of H are [A,B;B^T,C] and the blocks of K_0 are [0,0;0,C-B^T A-1B].
Congruence preserves inertia, so K_0 is positive semidefinite precisely when the reaction span carries all resolved negative curvature.
The stationaryBathReference function checks this condition and computes the Schur complement with a factorization rather than an explicit inverse.
Dependent directions, unresolved negative restrictions and an unstable complement are rejected.
Roundoff within a dimension-scaled machine precision bound is removed from the semidefinite bath spectrum.
For V(x,y)=(x^2-1)^2+omega^2(y-c x)^2/2, the stationary displacement v=(1,c) gives K_0=omega^2[c^2,-c;-c,1]. The residual potential is exactly (x^2-1)^2. Both physical wells lie in the nullspace of K_0: constant paths at those wells retain zero gradient at every bead count. Taking the positive spectral part of the saddle alone need not preserve that property. This construction preserves stationarity along the supplied directions; it does not establish that a local quadratic bath represents a nonlinear environment. Native path forces, physical fluctuations and mesh convergence still determine the observable.
A bounded stationary bath¶
For a saddle Hessian H in mass coordinates, let H_+ be its positive spectral part. A reaction span W identifies physical stationary displacements from the reference origin. The bath reference K satisfies
Write H_+=CC^T and let Q contain an orthonormal basis for range(C^TW). The largest bath in this order is the shorted operator
The two positive factors establish both inequalities.
The projector removes C^TW, establishing KW=0.
Every negative saddle eigenvector v satisfies C^Tv=0, hence Kv=0.
The C++ function boundedStationaryBathReference constructs this matrix by eigendecomposition and a singular-value decomposition.
Multiple independent reaction directions share the same construction.
For a uniform mesh with N nodes and link duration h, the unstable fundamental Fourier curvature is therefore
The harmonic reference cannot soften this kinetic term. The stable subspace remains positive because its physical curvature minus K is positive semidefinite. Constant paths in W have no reference-induced force, preserving the corresponding physical stationary wells. The reference controls neither nonlinear mesh error nor physical rate accuracy; both require measurements.
Coupled soft-mode initialization¶
For a uniform link, cyclicSoftMode forms the centroid, fundamental and second harmonic action curvatures D_0, D_1 and D_2, divided by h. Let v be the lowest unit eigenvector of D_1 and c=D^3V[.,v,v], d=D^4V[v,v,v,v].
Eliminating the centroid and second harmonic through quartic order gives
A supercritical branch has B>0 and a^2=-A/(2B)>0.
The C++ function cyclicQuarticReduction returns this prediction and cyclicQuarticSeed constructs its nodal coordinates.
Native energies and forces must qualify the resulting orbit.
At least five nodes avoid quartic aliasing; the expansion requires an isolated fundamental soft mode and a positive second harmonic.
Stationary-well frequency fitting¶
ReferenceDiscretization::FrequencyFittedKinetic selects a fixed kinetic coupling fitted to a supplied physical curvature K. In its eigenbasis, a mode with curvature lambda has
An unstable fitting direction requires h sqrt(abs(lambda)) < pi when lambda is negative. Each link is
with normalization det(L_h)^(1/2)/(2 pi hbar)^(d/2). Its two joined endpoint gradients at a constant path give h grad(V). Consequently every constant physical stationary point remains stationary, including wells outside any prescribed reaction span. Physical fluctuation blocks use A=L_h+h H_left/2, rightA=L_h+h H_right/2 and the same L_h and normalization.
For a harmonic physical potential with Hessian K, each mode’s fitted link is c times its exact harmonic endpoint quadratic: c=x coth(x) for a stable mode and c=x cot(x) for an unstable mode, where x=h sqrt(abs(lambda))/2 for an unstable mode. In an untwisted cyclic trace the c^(N/2) normalization cancels the c^(-N/2) change of nodal integration variables. The harmonic trace is therefore exact. This identity does not establish an exact position covariance or a general noncommuting twisted trace.
The unstable first Fourier curvature is
It vanishes at duration=2 pi/omega for every N. The primitive grid shift in this harmonic crossover is absent. The free limit is L_h(K)=I/h-h K/12+O(h^3). Anharmonic paths, their fluctuation spectra and ratios to a differently curved reactant still require numerical mesh comparisons. Exact harmonic traces do not establish an anharmonic physical rate.
PotentialPathOptions options;
options.harmonicReferenceHessian = physicalSaddleHessian;
options.referenceDiscretization = ReferenceDiscretization::FrequencyFittedKinetic;
options.retainQuadratic = true;
FrequencyFittedKineticTest compares stable and unstable harmonic determinants and inertia at 5, 8, 16 and 32 nodes, tests constant wells and the crossover, and verifies that the optimizer retains fluctuations of its own mean action.
The default SymmetricResidual action retains its PSD-reference contract.
Signed inverse response and selection of native curvature probes¶
Let Q span the complement of the fixed orthonormal constraint normals. The resolved restricted operator is B=Q^T K Q. It may have a negative eigenvalue under a declared saddle contour. Its lifted inverse is
restrictedTraceInverseProjection computes F^T G F for supplied observable columns F, retaining signs and checking the original bordered equations.
It requires a resolved nonsingular restricted operator.
It does not define a probability covariance for an indefinite saddle.
The positive covariance interface retains its independent positivity requirement.
For a fixed mean orbit and fixed kinetic reference, a local physical curvature perturbation at node j contributes delta K_jj=h delta H_j. The logarithm of the Gaussian orbit rate therefore has derivative
Choose F to insert the d Cartesian mass-coordinate observables at node j. This supplies G_jj without constructing the full Nd by Nd inverse. The reference population, mean action, phase normal and coarea factor are held fixed in this derivative; their physical responses are different terms.
If U spans already measured curvature directions and P=I-UU^T, an unknown symmetric completion consistent with exact measured responses has the form P delta H P. Its rate derivative is governed by
Among unit rank-one updates alpha vv^T in the unmeasured space, the largest absolute first-order effect per abs(alpha) is the spectral radius of C_j. The corresponding normalized eigenvector selects a collective response probe. Diagonal entries rank Cartesian probes. The Frobenius norm gives abs(delta log k_G) <= ||C_j||_F ||delta H_j||_F at first order. None of these quantities bounds the unmeasured physical curvature itself.
nodalCurvatureRateInfluence returns the full and unmeasured gradients, the leading direction, its absolute influence and the remaining dimension.
The measured basis must be orthonormal.
A fully measured space has zero unmeasured influence and no nonzero recommended direction.
For a matched rate k_U=k_PB+a k_G with its other inputs fixed,
Near cancellation, this amplification can be much larger than one. A small change in a Gaussian determinant is therefore not a small relative rate error. For several orbit contributions, retain the signed coefficient of each contribution separately. A finite-difference stencil check does not replace convergence of the measured curvature span.
CurvatureRateInfluenceTest compares signed projected inverses with an independent dense orthogonal restriction, checks determinant derivatives with a single-node curvature perturbation, retains rejection of indefinite probability covariances and verifies measured-span projection.
A link with an implicit shared endpoint block needs an explicit unchanged right block when perturbing only its left endpoint.
Fixed-energy spatial excursions¶
In mass coordinates the abbreviated forbidden-region action is
JacobiAction.h integrates the square root of a potential interpolated linearly between each pair of spatial nodes.
For endpoint gaps a,b and p=sqrt(a), q=sqrt(b), its link action is
Scaled roots avoid cancellation at nearly equal endpoint potentials. The returned endpoint gradients include both the segment-length derivative and the endpoint potential gradients. The returned traversal time equals the negative energy derivative. A single turning endpoint is supported; negative gaps, zero-length links and two zero-gap endpoints are rejected.
The cubic model V(x)=x^2(1-x)/2 has zero-energy bounce action 8/15.
JacobiActionTest checks this action with 17, 33, 65 and 129 spatial nodes, its coordinate and energy derivatives, and turning-point limits.
This quadrature test does not optimize a multidimensional path or calculate a rate.
Turning-energy closure, stationarity and transverse fluctuations require their own checks.
The abbreviated-action and fluctuation framework is described in Richardson, J. Chem. Phys. 144, 114106 (2016),
https://arxiv.org/abs/1512.04292.
A zero-energy spatial solve with simple turning endpoints¶
ZeroEnergyGeodesic solves an outgoing forbidden-region curve in mass coordinates, with native energies measured from the reactant minimum.
For unit arclength tangent t and curvature kappa, its normal equation is
Adjacent unit link tangents u,v and lengths a,b define
An independent tangential residual enforces a=b. It fixes the mesh gauge without replacing the energy equation.
A positive harmonic well root Omega supplies the inner momentum Omega q. At the radius cut, match its angular component to sqrt(2V) times the first link tangent. At the outer turn, require V=0 and the native gradient parallel to the last link. The inner tangent must point outward and the outer gradient must point inward. A collapsed return to a stationary well is rejected even when its residual norms vanish. Equal-energy well-to-well splitting paths require different endpoint conditions.
The search uses an analytic block tridiagonal Jacobian, a checked block solve and a residual line search. Native energy and gradient callbacks qualify the residuals. Supplied Hessians are search models and do not qualify a physical fluctuation prefactor. The independent checks compare every Jacobian block with finite differences and solve a rotated cubic bounce with a transverse anharmonic mode. Action mesh comparisons, matching radius checks and physical fluctuations remain separate from a stationary spatial solution. The time-domain optimizer has its own test status.
Native-band acceptance during GP line-integral searches¶
GPLineIntegralNEBOptions::proposalAcceptance controls intermediate native bands.
Its default, LineIntegralProposalAcceptance::ForceDescent, retains a proposal only when its actual native maximum force decreases.
LineIntegralProposalAcceptance::AdmissibleBand retains a band whose native energies and gradients satisfy the forbidden-region and endpoint-normal requirements, then fits the measured observations for the following search.
Its native force can rise while the model learns the sampled region.
Both policies apply the same final native force and turning-energy thresholds.
Every returned observation, including rejected proposals and contour corrections, belongs to the training data.
An intermediate band with a lower action or a stationary surrogate supplies no converged orbit or rate.
GPLineIntegralAcceptanceTest checks both policies against a biased surrogate, requires a genuine intermediate native force increase in the admissible-band case, and compares the final action and period.
Native restoration of crossed interior turning surfaces¶
A surrogate proposal can place an interior image at V<=E. For its measured mass-coordinate gradient g, the native correction is
The displacement is limited by the proposal radius.
Its first-order energy change is positive, but the nonlinear energy requires a new native measurement.
restoreLineIntegralInterior evaluates only the affected images and preserves all other coordinate/value pairs.
GPLineIntegralNEBOptions::nativeInteriorCorrections bounds the number of correction batches, with default four.
Zero disables those extra probes.
The original native forbidden-region, force and endpoint-energy checks still decide acceptance and convergence.
This positive search margin changes neither E nor the Hamiltonian and supplies no rate.
All returned correction forces remain training data.
The result reports interiorCorrectionBatches and interiorCorrectionPoints separately.
LineIntegralFeasibilityTest checks owned gradients, bounded probes, unchanged endpoints and failed-return isolation on a two-coordinate native callback.
Loading authenticated GP observations¶
LineIntegralGPModel::addObservations appends native energies and gradients and returns the number of distinct geometries added.
Its periodic membership rule is the same as refit.
Loading observations performs no hyperparameter optimization.
refit({}, {}) fits the stored data; the ordinary refit(points, values) call both loads and fits.
Adding a distinct geometry invalidates the fitted posterior.
evaluate rejects predictions until fitting succeeds, and prepareHessian returns no action for an unfitted data set.
Duplicate periodic observations retain the fitted posterior.
GPObservationPreloadTest compares this loading and fitting sequence with direct fits, checks stale-posterior refusal and verifies that observation loading performs no directional kernel work.
Native path stationarity remains independent of GP fit diagnostics.
observeNativeBatch(points, native) calls the supplied native batch, loads its returned values and returns those same values to the path optimizer.
Path rejection does not discard a closed force calculation.
An exception from the native callback adds no observations.
A malformed batch with a different value count is refused.
A distinct closed return invalidates the posterior until a fit includes it; repeated periodic geometries preserve the fitted posterior.
GPReturnedBatchTest checks these rules and compares predictions with explicit observation loading.
Graded spatial meshes near the harmonic cut¶
ZeroEnergyGeodesicOptions::meshWeights prescribes positive link weights when the harmonic cut needs finer spatial resolution than the barrier interior.
An empty vector selects the equal-link formulation.
The explicit weighted overload of evaluateZeroEnergyGeodesic accepts one weight per link; its Jacobian differentiates the same weighted residual.
For neighbouring parameter steps h_- and h_+, the three-point derivatives at q_j are
The geometric tangent and curvature are t=w/sqrt(w^T w) and kappa=(I-tt^T)z/(w^T w). The speed factor is essential: these are derivatives in the prescribed mesh parameter, which need not be arclength. The normal equation remains (I-tt^T) gradient(V)-2V kappa=0. For link lengths a,b, the tangential mesh residual is 2(h_+ a-h_- b)/(h_-h_). It vanishes when a/h_-=b/h_+. Common rescaling of all weights leaves both equations unchanged. Cut momentum, cut radius, turning orientation and turning energy retain their independent stationarity conditions.
GradedGeodesicTest checks exact quadratic-curve derivatives, every block of the analytic Jacobian against independent coordinate perturbations, weight-rescaling invariance and rotated cubic-bounce solutions with graded links.
Spatial resolution and harmonic matching still require refinement for a material result.
Mesh weights do not supply a fluctuation prefactor.
Geometric conditioning of the LI-NEB search¶
At a fixed energy E, the normal abbreviated-action force contains an inverse factor hbar sqrt(2(V-E)). Close to a turning surface this produces a stiff search even for a smooth native potential. For a unit improved chord tangent t, define P=I-tt^T and the mean adjacent link length ell. The optional search metric is
Its normal eigenvalues are alpha and its tangential eigenvalue is one. It therefore preserves the raw force zeros. At fixed E the conditioned normal force is independent of the arbitrary action scaling by hbar. Endpoints retain their turning-surface correction. The raw native force, endpoint error, action and period determine convergence and reporting.
LineIntegralNEBOptions::geometricPreconditioning selects this metric for the direct FIRE search.
GPLineIntegralNEBOptions::geometricSurrogateForces selects it for surrogate geometry proposals; its default is false.
Native acceptance and all final tolerances remain unchanged.
LineIntegralMetricTest checks positivity, raw-force identity when disabled, rotational covariance, fixed points, invalid inputs and hbar rescaling.
The metric controls optimization only.
It is not a physical fluctuation operator and must not enter a rate prefactor or determinant.
Consistent linear-potential link action¶
LineIntegralAction::LinearPotential selects the analytic link integral from JacobiAction.h for both the action and its normal LI-NEB force.
Set LineIntegralNEBOptions::action to that value for direct or GP-assisted optimization.
The default MomentumTrapezoid retains the Hannes momentum quadrature.
Both modes keep the same tangent, springs, native turning corrections, forbidden-region check and final force criteria.
For link length l and p=sqrt(V_L-E), q=sqrt(V_R-E), the analytic action is
Its potential derivatives are
They have finite single-turning-endpoint limits when the other endpoint has positive momentum. The coordinate derivatives include both link length and native potential changes. The normal force is the projected negative action gradient divided by hbar. The contour endpoint energies are set to E for this spatial quadrature; their measured native errors retain their separate convergence condition.
This mode uses the same action quadrature as lineIntegralOrbit, whose link period is -partial_E J at fixed endpoint geometry and potential.
LineIntegralActionTest checks coordinate finite differences, finite single-turn derivatives, unchanged contour forces, and the action-period identity with moving contours on a triangular barrier.
Interior V<=E is still refused.
Spatial mesh refinement and native path stationarity remain necessary; link consistency alone establishes no material rate.