Molecular instanton reference calculation

Warning

Experimental instanton and quantum-path work in progress. These interfaces may change.

A surrogate instanton search is only as good as the reference it is compared with. The reference must use native energies, gradients and Hessians, count every potential call, and treat the rigid-body and phase modes of a molecule correctly. This page defines that reference calculation.

Status: implemented as library code in gpr/quantum/ and benchmark executables in bench/quantum/. No gprn or gprd flag runs it. It is a reference for benchmarks, not a search driver.

The C++ molecular reference calculation evaluates native energies, Cartesian energy gradients and physical force-difference Hessians. It checks the stationary path and its fluctuation factor separately. The implementation uses atomic units: coordinates in Bohr, masses in electron masses, energies in Hartree and hbar = 1. XYZ input passes through readcon; imported atom IDs restore trajectory order after CON species grouping.

The benchmark executable is bench/quantum/bench_cbe_instanton.cpp. It refines the native CBE saddle, follows a nonzero canonical ring through temperature continuation in optimizeReflectedPotentialPath and measures its physical Hessians. For a multi-frame CON trajectory, highest-energy-frame selects the native maximum-energy frame as the saddle-refinement guess; the refined structure must still pass the index-one stationarity checks before a rate is evaluated. Reference preparation, path gradients, fluctuation gradients and wall times have separate counters. A native CBE gradient request uses 37 potential evaluations: one at the geometry and two for each of the 18 Cartesian coordinates, from central differences with a 1e-5 Bohr step (native_energy_calls_per_gradient and gradient_difference_step_bohr in bench/quantum/bench_cbe_line_integral.cpp).

The molecular DFT oracle consumes full-precision native task records and Cartesian analytic Hessians. The human-readable gradient table does not retain enough digits for stationary reference refinement. The numerical quadrature uses grid huge nodisk, with an energy threshold of 1e-11, density and orbital-gradient thresholds of 1e-10. The uncached grid avoids a fixed grid-cache allocation; it does not change the DFT functional or basis. Independent energy/force and force/Hessian comparisons remain required for a selected Hamiltonian and geometry.

bench/quantum/bench_nwchem_stationary.cpp retains qualified references in both JSON and readcon CON formats. Qualification requires the full Cartesian gradient norm below 1e-7 Ha/Bohr and the requested stationary index. CON preserves atom identity and explicit Angstrom/amu units; a missing cell produces a warning and a transport box for an isolated molecule.

Action and the physical fluctuation matrix

Let q_j = sqrt(M) x_j, h = beta hbar/N and beta_N = beta/N. The primitive uniform-ring action relative to the same native transition state is

S_rel = sum_j [ |q_(j+1)-q_j|^2/(2h) + h (V(x_j)-V_TS) ].

Its mass-coordinate dynamical matrix is D = Hessian(S)/h, with blocks

D_jj = M^(-1/2) Hessian(V_j) M^(-1/2) + 2 I/h^2,
D_(j,j+1) = -I/h^2,

including the cyclic closing link. Hessians used for proposing optimization steps do not substitute for these physical curvatures.

For a nonlinear isolated molecule, the mass-weighted global translations and rotations span six rigid directions. An orthonormal complement removes these six modes from the complete ring, rather than removing six modes from each bead. The candidate time-translation direction is proportional to sqrt(M) (x_(j+1)-x_(j-1)). Its overlap identifies the phase eigenmode in the remaining fluctuation spectrum. The calculation records its overlap, eigenvalue and curvature relative to the nearest retained eigenvalue. Excluding that phase direction, exactly one negative eigenvalue is required.

Define B_N = sum_j |q_(j+1)-q_j|^2. With the prime excluding the six rigid modes and the phase mode, the reference convention is

Q_inst,vib = N^7 sqrt(2 pi N B_N/(beta hbar^2))
             product'_k [ beta_N hbar sqrt(|lambda_k|) ]^(-1).

The absolute value retains the unstable direction’s magnitude; it does not turn an arbitrary multiple-index stationary point into a rate saddle. The phase factor replaces the removed Gaussian direction with its orbit measure. For a free cyclic coordinate, the noncentroid product product_(k=1)^(N-1) 4 sin^2(pi k/N) equals N^2. The symbolic normalization check also verifies the complete finite-ring oscillator determinant against its Chebyshev expression at N = 4, 6 and 8.

Let I_bar be the molecular inertia tensor summed over all beads and divided by N. Translation cancels against the matched TST reference. For the same reaction channel and symmetry convention,

log(k_inst/k_TST) = (1/2) log(det(I_bar)/det(I_TS))
                 + log Q_inst,vib - log Q_TS,vib - S_rel/hbar,
log Q_TS,vib = -sum_(omega_k>0) log[2 sinh(beta hbar omega_k/2)].

The large-argument implementation uses x + log(-expm1(-2x)) for log[2 sinh(x)], avoiding exponential overflow. The molecular calculation returns a tunnelling factor; it does not infer an absolute bimolecular rate without the corresponding reactant partition function and volume convention.

For a unimolecular rate, the matched primitive reactant partition is

log Q_R,vib(N) = -sum_a log[2 sinh(N asinh(beta hbar omega_a/(2N)))].

This expression is the exact product over the finite-ring Matsubara frequencies of each positive reactant vibration. With the action measured relative to that reactant,

log k = log(g) - log(2 pi beta hbar)
      + (1/2) log(det(I_bar)/det(I_R))
      + log Q_inst,vib - log Q_R,vib(N) - S_R/hbar.

The channel multiplicity g is supplied explicitly. Atomic units give k in inverse atomic time; converting to inverse picoseconds divides by 2.4188843265864e-5 ps. This expression applies to the two unimolecular proton-transfer benchmarks rather than to a bimolecular standard state.

Time-reflected native reference path

The bond-centred reflection chart stores m = N/2 nodes and reconstructs the ring as [q_0,…,q_(m-1),q_(m-1),…,q_0]. It fixes the time phase by reflection while retaining the physical unstable direction. With h equal to the full-ring time step, its action is

S = 2 h sum_(j=0)^(m-1) V_j
    + (1/h) sum_(j=0)^(m-2) |q_(j+1)-q_j|^2.

The native stationary equation is grad(V_j) + (L q)_j/h^2 = 0, where L is the open-chain Laplacian: degree one at the two ends and degree two in the interior. The end links in the reconstructed ring have zero displacement. The reference Newton equation uses this Hessian, with an explicit rigid gauge. Every accepted step must decrease the full native force residual. Independent full-ring force and action evaluations test the reconstruction; the fluctuation prefactor still uses the complete ring and its physical Hessians. Dense reference solves are distinct from the reduced bath calculation for the extended material.

Block fluctuation kernel

The primitive link has A_j = I/h + h H_j/2, rightA_j = I/h + h H_(j+1)/2 and L_j = I/h. These links assemble the same complete cyclic action Hessian K = h D. The seven supplied normal vectors are the global molecular rigid modes and the normalized time tangent after projecting out those rigid modes.

The block kernel returns

log D_normalized = log |det(K_restricted)| - sum_j log det(L_j).

For n = N d coordinates and k = 7 constraints,

log D_normalized = log |det(D_restricted)| + (2 n-k) log h,
log product'_a [h sqrt(|lambda_a|)]^(-1)
    = -(1/2) log D_normalized + (k/2) log h.

This supplies the same ring measure without constructing a complete nodal Hessian or its eigenspectrum. The explicit phase plane and the phase eigenvector agree in the continuum limit; their finite-grid difference is measured against the independent spectral calculation.

The block kernel replaces only the prefactor stage of the spectral calculation. The benchmark executable measures that stage and the difference between the two tunnelling factors at run time. This repository records neither value. The native electronic Hessian cost remains separate. The calculation checks one retained negative direction and removes the same six global rigid degrees of freedom.

Native comparisons

The CBE surface is the methane-abstraction potential evaluated by gpr::potentials::CbeMethaneOracle, which loads a native shared library named on the command line. The benchmark records the SHA-256 digest of that library and of the initial CON file, so a reported result names the potential that produced it. The oracle requires the atom order H,C,H,H,H,H.

The benchmark compares its native tunnelling factor \(\kappa\) at 300 K with published values hard-coded in publishedKappa in bench/quantum/bench_cbe_jctc_map_rate.cpp: 11.80 for N = 40, 10.01 for N = 160 and 9.93 for N = 320. The comparison measures agreement of a numerical calculation with a published number. It is not an established speed improvement and not a complete reproduction of every published rate. The direct reference search evaluates native force-difference Hessians; its force counts must not be presented as the surrogate algorithm’s cost.

For malonaldehyde and Z-3-aminopropenal the reference electronic method is B3LYP/6-31G*. The pinned tutorial input includes D3, which is not specified in the 2025 article’s electronic-method description. The native oracle therefore requires an explicit dispersion selection and retains every input and output. This distinction must remain visible in comparisons.

Relation to the spatial and bath calculation

The spatial method uses W(E) = integral sqrt(2(V-E)) ds in mass coordinates. For the closed orbit, -dW/dE = beta hbar and S = W + beta hbar E. An energy fixed from a separate ring calculation is a supplied reference; it is distinct from solving the period condition with the spatial method.

For a quadratic bath with block curvature [[A,B],[B^T,C]], Gaussian elimination at Matsubara frequency nu gives

D_eff(nu) = nu^2 I + A - B (C+nu^2 I)^(-1) B^T
          = A - B C^(-1) B^T
            + nu^2 [I + B C^(-1)(C+nu^2 I)^(-1) B^T].

This is the reduced GLE matrix. The bath determinant is retained along with the reduced action. Static relaxation alone omits its frequency dependence and fluctuation normalization. Positive bath curvature and native coupling measurements are physical inputs, not consequences of a successful GP fit. The identity is exact for the stated quadratic bath; anharmonic bath errors require separate native measurements.

For a finite N-bead ring with step h, the discrete kinetic Laplacian has eigenvalues lambda_m = 4 sin^2(pi m/N)/h^2. In the static-relaxation convention V = V_ad(x) + 1/2 (y-E^(-1)C^T x)^T E (y-E^(-1)C^T x), the active mode curvature is

A + K_m,     K_m = C [E^(-1) - (E + lambda_m I)^(-1)] C^T.

If E u_l = epsilon_l u_l and c_l = C u_l, then

K_m = sum_l lambda_m/[epsilon_l (epsilon_l + lambda_m)] c_l c_l^T.

This gives K_0 = 0, avoiding a second static relaxation, and tends to C E^(-1) C^T at high frequency. The full finite-ring determinant factors as det(P_yy) det(P_eff). The bath factor cancels from a rate ratio only when the same positive E and C are used for reactant and saddle. Geometry-dependent bath changes require their determinant and action response in the rate.

The frequency-diagonal formula assumes equal time steps and the same harmonic bath E and coupling C at every bead. For nonuniform Gaussian links, assemble the cyclic Hessian directly. Write link i between nodes i and i+1 as

S_i = 1/2 x_i^T A_i x_i + 1/2 x_(i+1)^T B_i x_(i+1)
      - x_i^T L_i x_(i+1).

The ring Hessian has diagonal blocks A_i+B_(i-1), upper cyclic blocks -L_i, and lower cyclic blocks -L_i^T. Let U be an orthonormal retained spatial basis and V its orthogonal complement; apply Q=I_N tensor [U,V] to the full Hessian:

Q^T K Q = [ K_aa  K_ab ]
          [ K_ba  K_bb ].

When K_bb is positive definite, exact Gaussian elimination gives

K_eff = K_aa - K_ab K_bb^(-1) K_ba,
det(K) = det(K_bb) det(K_eff),
inertia(K) = inertia(K_bb) + inertia(K_eff).

For a phase normal wholly in the retained space, the same factorization holds after restricting K_eff to the transverse plane. The determinant normalization from the Gaussian links, sum_i log(det L_i), is subtracted from both full and restricted log determinants. Unlike the uniform formula above, this segment form allows unequal link durations and path-dependent harmonic bath blocks; the bath determinant is evaluated and retained separately at each path. It is exact for the supplied quadratic link Hessians, not for anharmonic fluctuations or unmeasured native curvatures.

reducePeriodicGaussianGLE and reduceGaussianSegmentsGLE implement these two finite-dimensional Schur reductions. Their trace results can be supplied to logImFSaddleFamilyRate when the phase normal lies in the retained subspace. The determinant identity is algebraic verification; it does not qualify a chosen active space, Gaussian bath, or native material curvature.

An extended periodic material has a different rigid-mode and volume convention from an isolated nonlinear molecule. The molecular six-mode prefactor is not the periodic material prefactor. A calculation with frozen background atoms does not integrate their fluctuations. The periodic calculation must retain its coupled native bath and its boundary conditions.

An apparent activation energy is -d log(k)/d beta. A rate at one temperature does not determine that derivative, and S/beta alone omits the prefactor. Comparing a small apparent activation energy with a classical barrier therefore requires a temperature-dependent rate calculation for the same physical observable.

Sources