Lihui Gao's Technical Notes

A small place for numerical methods, quantum dynamics, programming practice, and technical study notes. I try to keep the writing reproducible, concrete, and honest about tradeoffs.

Latest Articles

CMD III: Learning Centroid Forces

The centroid mean-force derivation, direct and delta learning in a quartic well, and two routes to molecular PIMD datasets.

CMDMachine LearningPIMCPIMDKuboModel Calculation

HEOM: Theory, Boundaries, and DVR Tests

From bath memory to the Gaussian hierarchy: its limits for original Tully SAC, a harmonic-bath DVR validation, and an explicit nuclear-basis comparison.

HEOMOpen Quantum SystemsDVRNonadiabatic Dynamics

Reaction Computation VIII: Instantons and RPMD

Connecting stationary paths with trajectory-based rates: constrained statistical weight, signed recrossing, and a same-barrier DVR comparison.

Chemical ReactionsRPMDInstantonsReaction Rates

Hydrogen Transfer II: From a Barrier to a Rate

A derivation-led route from Arrhenius and transition-state theory to a reproducible one-dimensional sinc-DVR rate benchmark.

Hydrogen Transfer Transition-State Theory DVR Reaction Rates

Hydrogen Transfer I: What Can We Actually Observe?

Why this series begins with experiment, what hydrogen-transfer measurements can actually observe, and how microscopic calculations should meet those observables.

Hydrogen Transfer Kinetic Isotope Effects Reaction Rates Model Validation

Learning the Generator: PINN-MMST Dynamics

A generator-learning view of MLPES and physics-informed MMST dynamics, with a reproducible small-N spin-boson benchmark and an accuracy-adjusted acceleration framework.

MMST PINN Machine Learning Potentials Nonadiabatic Dynamics Reproduction

Codex Skills as Workflow Engineering

A controlled FSSH flowchart case study on turning successful Codex conversations into semantic contracts, deterministic tools, and evidence-based acceptance loops.

Codex Skills Workflow Engineering Automatic Layout Reproducibility

GPT-5.6 Reasoning for Scientific Engineering

A practical policy for choosing GPT-5.6 models, reasoning effort, subagent orchestration, and Fast processing across scientific engineering workflows.

GPT-5.6 Codex Research Engineering Reproducibility

Electronic Nearsightedness, Linear Scaling, and Local ML Potentials

A derivation-focused account of electronic nearsightedness, its consequences for linear-scaling electronic structure, and the scope and limits of locality in machine-learning interatomic potentials.

Electronic Structure Nearsightedness Linear Scaling Machine Learning Potentials

MES-PIMD and the Geometric Phase

A close reading of the MES-PI/MES-PIMD geometric-phase thermodynamics paper, with the logic chain from Jahn-Teller topology to overlap matrices, winding numbers, heat capacity, and single-state limits.

MES-PIMD Geometric Phase Path Integrals Conical Intersection Thermodynamics

Geometric Phase: Key Theory Reproductions

Key theoretical and computational papers on molecular geometric phase effects near conical intersections, with small reproducible models for pseudorotor quantization, two-path interference, and localization.

Geometric Phase Conical Intersection Jahn-Teller Effect Quantum Dynamics Reproduction

Geometric Phase in Jahn-Teller Thermodynamics

A compact derivation of how the geometric phase changes the kinetic operator, boundary condition, degeneracy, spectrum, and heat capacity in the two-state Jahn-Teller E times e model.

Geometric Phase Jahn-Teller Effect Conical Intersection Thermodynamics Model Calculation

How to Prepare a HefeiNAMD Training

A practical note on preparing a complete HefeiNAMD workshop with slides, server environment, precomputed outputs, Slurm scripts, pseudo jobs, and an end-to-end rehearsal path.

HefeiNAMD Nonadiabatic Dynamics Training Slurm Workflow

Jahn-Teller Instability in Li3 and Na3

A compact theoretical note on Jahn-Teller symmetry breaking, group-theoretical selection rules, conical intersections, and the triangular Li3/Na3 examples.

Jahn-Teller Effect Conical Intersection Vibronic Coupling Model Calculation

CMD II: Curvature Red Shift in a 2D Morse Bottle

A 2D champagne-bottle Morse benchmark showing how centroid-constrained path integrals can create an artificial-instanton basin, flatten the CMD PMF, and red-shift the radial stretch spectrum relative to direct-density-matrix DVR, RPMD, and TRPMD controls.

CMD DVR RPMD Curvature Problem Model Calculation

CMD Effective Surfaces for Tully SAC

State-resolved CMD potentials of mean force from constrained PIMC, Hermite-consistent energy-force interpolation, and SAC dynamics against DVR, Ehrenfest, FSSH, and CMD-MQC variants.

CMD PIMC MQC Model Calculation

H2O Electronic Absorption with ABACUS RT-TDDFT

A fixed-nucleus H2O electronic absorption benchmark with ABACUS real-time TDDFT, aligned against the Ren, Kaxiras, and Meng molecular RT-TDDFT reference.

RT-TDDFT ABACUS Electronic Absorption Real-System Calculation

Perovskite Softness from Controlled NVT Spectra

Controlled 330 K NVT trajectories for MAPbI3, CsPbI3, and TiO2, analyzed through bond and angle fluctuations, displacement PCA, and MD-derived phonon density of states.

Perovskites TiO2 Phonon DOS Real-System Calculation

Spin Mapping and Spin-MInt Method

From MMST oscillator mapping to finite-state SU(N) spin mapping, direct Spin-MInt propagation, and Tully SAC plus three-state Morse benchmarks against FSSH, Ehrenfest, and exact DVR.

Spin Mapping Spin-MInt MMST Model Calculation

HamGNN OpenMX Workflow for TiO2 Hamiltonians

OpenMX LCAO data generation, HamGNN Hamiltonian training, band validation, and a 500 fs NVE nonadiabatic-coupling proxy check for TiO2.

HamGNN OpenMX TiO2 Real-System Calculation

Spin Mapping Mathematical Foundations

SU(N) generators, the quadratic Casimir invariant, physical versus algebraic degrees of freedom, and why Stratonovich-Weyl is the finite-state analogue of Wigner mapping.

Spin Mapping SU(N) Stratonovich-Weyl Model Calculation

MQC IV: MMST Mapping and ZPE Leakage

MMST oscillator mapping, electronic phase sampling, ZPE leakage, gamma choices, SQC-style corrections, and SAC diagnostics against FSSH, Ehrenfest, and DVR.

MQC MMST Zero-Point Energy Model Calculation

MQC III: P-Matrix Decoherence and Detailed Balance

Directed density-matrix dynamics with pairwise decoherence and Boltzmann detailed balance, tested against FSSH, Ehrenfest, and DVR toy-model diagnostics.

MQC P-Matrix Density Matrix Model Calculation

MQC II: Ehrenfest Mean-Field Dynamics

Mean-field electronic dynamics on Tully's simple avoided crossing, compared with a finite-grid DVR quantum reference.

MQC Ehrenfest Tully Model Model Calculation

MQC I: Fewest-Switches Surface Hopping

Active surfaces, hop probabilities, velocity rescaling, and a Tully simple avoided crossing benchmark with a DVR exact reference.

MQC FSSH Nonadiabatic Dynamics Model Calculation

MQC 0: Background and Working Assumptions

A concise setup for mixed quantum-classical dynamics: BO approximation, Born-Huang couplings, NAC/HST formulas, closures, and limitations.

MQC Nonadiabatic Dynamics Model Calculation

PIMD VI: Normal-Mode Free Propagation

Normal-mode and bead-coordinate free ring-polymer propagation compared through stability, subcycling convergence, and runtime benchmarks.

PIMD Normal Modes Stability Model Calculation

PIMD V: From PIMD to RPMD

PIMC-initialized RPMD trajectories for the harmonic-oscillator q-q Kubo correlation, with analytic limits and failure modes.

PIMD RPMD Kubo Model Calculation

TRPMD Water IR Spectrum with q-TIP4P/F

A detailed reproduction of the q-TIP4P/F water RPMD/TRPMD infrared comparison, including PILE damping, internal-mode resonance analysis, and experimental n(alpha) overlay.

TRPMD RPMD Infrared Spectrum Real-System Calculation

PIMD IV: Path-Integral Monte Carlo

Local Metropolis bead moves, constrained-PIMC context, and a harmonic-oscillator observable mean benchmark.

PIMD PIMC Metropolis Model Calculation

PIMD I: Ring-Polymer Basics

Path-integral isomorphism, ring-polymer equations of motion, normal modes, static estimators, and a harmonic-oscillator ensemble benchmark.

PIMD Path Integrals Model Calculation

PIMD II: NVT Thermostats and GLE

PILE, GLE, PIGLET-style covariance shaping, and compact sampling diagnostics for a harmonic ring polymer.

PIMD GLE PIGLET Model Calculation

PIMD III: Cayley Stability

Why exact normal-mode propagation can trigger resonance instabilities in ring-polymer simulations, and how the Cayley step stabilizes the free substep.

PIMD RPMD Cayley Transform Model Calculation

Matsubara I: From Kubo to LSC-IVR

Phase-space representation of Kubo correlations, the LSC-IVR truncation, and a harmonic/quartic benchmark.

Matsubara LSC-IVR Model Calculation

RPMD Water IR Spectrum with SPC/F

A reproducible SPC/F fallback for the RPMD water infrared spectrum workflow, including the dipole-derivative autocorrelation estimator and drift diagnostics.

RPMD Infrared Spectrum Water Real-System Calculation

Allegro MLPES Workflow for MAPbI3

A compact MAPbI3 Allegro workflow covering data generation, extxyz packaging, training, ASE/LAMMPS deployment, and NVE validation.

Allegro MLPES LAMMPS Real-System Calculation

DVR I: Wavepacket Dynamics Methods

Why DVR and finite-difference methods discretize the same wavepacket problem differently, with a harmonic-oscillator benchmark.

DVR Quantum Dynamics Model Calculation

DVR III: Wavepacket Dynamics with DVR

Building a multi-state DVR Hamiltonian, diagonalizing once, and evaluating exact finite-dimensional wavepacket dynamics.

DVR Wavepacket Model Calculation

DVR VI: Flux-Side Kubo Correlation

Side projectors, commutator-defined flux operators, CAP handling, and flux-flux integration for rate-like diagnostics.

Kubo Flux-Side Model Calculation

Browse

Archive

CMD III: Learning Centroid Forces Matsubara IV: 绝热与非绝热 Matsubara 实时动力学推导 HEOM: Theory, Boundaries, and DVR Tests Reaction Computation VIII: Instantons and RPMD Reaction Computation VII: Multidimensional Instantons Reaction Computation VI: Instanton Rates Across Crossover Reaction Computation V: From Barrier Penetration to Imaginary-Time Instantons Reaction Computation IV: Free Energy and the Events We Rarely See Reaction Computation III: When One Electronic State Is Not Enough Hydrogen Transfer II: From a Barrier to a Rate Hydrogen Transfer I: What Can We Actually Observe? Learning the Generator: PINN-MMST Dynamics From Reactants or the Dividing Surface? An N=1 Equivalence Test Comparing Trajectory Dynamics with Kubo Flux-Side Correlations Electronic Nearsightedness, Linear Scaling, and Local ML Potentials MES-PIMD and the Geometric Phase Geometric Phase: Key Theory Reproductions Geometric Phase in Jahn-Teller Thermodynamics How to Prepare a HefeiNAMD Training Jahn-Teller Instability in Li3 and Na3 CMD II: Curvature Red Shift in a 2D Morse Bottle CMD Effective Surfaces for Tully SAC H2O Electronic Absorption with ABACUS RT-TDDFT Perovskite Softness from Controlled NVT Spectra Spin Mapping and Spin-MInt Method HamGNN OpenMX Workflow for TiO2 Hamiltonians Spin Mapping Mathematical Foundations MQC IV: MMST Mapping and ZPE Leakage MQC III: P-Matrix Decoherence and Detailed Balance MQC II: Ehrenfest Mean-Field Dynamics MQC I: Fewest-Switches Surface Hopping MQC 0: Background and Working Assumptions PIMD VI: Normal-Mode Free Propagation PIMD V: From PIMD to RPMD TRPMD Water IR Spectrum with q-TIP4P/F PIMD IV: Path-Integral Monte Carlo PIMD I: Ring-Polymer Basics PIMD II: NVT Thermostats and GLE PIMD III: Cayley Stability Matsubara I: From Kubo to LSC-IVR Matsubara II: Low Modes and the Matsubara Phase Matsubara III: Quartic Benchmark and Phase Reweighting RPMD Water IR Spectrum with SPC/F Allegro MLPES Workflow for MAPbI3 DVR I: Wavepacket Dynamics Methods DVR II: Operator Matrices in the DVR Basis DVR III: Wavepacket Dynamics with DVR DVR IV: Density-Matrix Ensemble Evolution DVR V: Kubo-Transformed Position Correlation DVR VI: Flux-Side Kubo Correlation DVR VII: Excited-Ground Kubo Population Correlation