Keywords Reference

All keywords are case-insensitive and use key = value syntax. Boolean values accept true/false.

Required Keywords

KeywordTypeDescriptionExample
programstringQM program to usegaussian, orca
methodstringQM method and basis setB3LYP/6-31G*
nprocsintegerNumber of processors4
memstringMemory allocation4GB (Gaussian), 8000 (ORCA MB/core)
chargeintegerMolecular charge0
mult_aintegerSpin multiplicity of state A1
mult_bintegerSpin multiplicity of state B3

Program-Specific Method Format

Gaussian — method goes in the route section:

method = n scf(maxcycle=500,xqc) uwb97xd/def2svpp scrf=(smd,solvent=acetonitrile)
mem    = 8GB

ORCA — method is the ! line (without the !):

method = B3LYP def2-SVP CPCM(2-octanone) VeryTightSCF
mem    = 8000

For ORCA, mem is the per-core memory in MB (%maxcore in the ORCA input).


TD-DFT and State Selection

KeywordTypeDefaultDescription
td_astring""TD-DFT keywords for state A
td_bstring""TD-DFT keywords for state B
state_ainteger0Excited state index for state A (0 = ground state)
state_binteger0Excited state index for state B
mp2booleanfalseUse MP2 gradients (Gaussian only)

td_state_a and td_state_b are accepted as aliases for td_a and td_b.


Run Mode and Basic Optimization

KeywordTypeDefaultDescription
modestringnormalRun mode — see Run Modes
max_stepsinteger100Maximum optimization steps
max_step_sizefloat0.1Maximum step size (Bohr)
restartbooleanfalseRestart from checkpoint file

Optimizer Settings

KeywordTypeDefaultDescription
hessianstringdirect_psbHessian update method (see Hessian Updates)
use_gediisbool/stringfalseDIIS variant: false=GDIIS, true/sequential=GEDIIS, blend=GDIIS_blend
use_hybrid_gediisbooleanfalseEnable sequential hybrid GDIIS/GEDIIS switching
gediis_blend_modestringfixed_sequentialBlend strategy: fixed, fixed_sequential, gradient, sequential
gediis_switch_rmsfloat0.005RMS gradient threshold for GDIIS → GEDIIS switch (Ha/Å)
gediis_switch_stepfloat0.001RMS displacement threshold for GEDIIS → GDIIS switch (Å)
switch_stepinteger3Steps of BFGS before switching to DIIS
max_historyinteger4DIIS history length
smart_historybooleanfalseSmart DIIS history (retains most useful points)
reduced_factorfloat0.5Step size reduction factor for GDIIS
step_reduction_multiplierfloat10.0RMS gradient multiplier for step reduction
steepest_descent_stepfloat0.01Fallback steepest-descent step size (Å)
bfgs_rhofloat15.0BFGS step size scaling factor
print_levelinteger1Verbosity: 0=quiet, 1=normal, 2=verbose
print_checkpointbooleanfalseWrite checkpoint JSON at each step

Trust Radius (GDIIS_blend)

KeywordTypeDefaultDescription
trust_reduction_factorfloat0.5Contraction factor when energy increases
trust_increase_factorfloat1.2Expansion factor when energy decreases
trust_inc_thresholdfloat0.0001Energy increase threshold (Ha) for contraction
trust_dec_thresholdfloat0.0001Energy decrease threshold (Ha) for expansion
trust_min_radiusfloat0.01Minimum trust radius (Å)
trust_max_radiusfloat1.0Maximum trust radius (Å)

Convergence Thresholds

KeywordTypeDefaultDescription
delta_efloat0.000050Energy difference threshold (hartree)
rms_disfloat0.0025RMS displacement threshold (Å)
max_disfloat0.004Maximum displacement threshold (Å)
max_gradfloat0.001323Maximum gradient component threshold (Ha/Å)
rms_gradfloat0.000945RMS gradient threshold (Ha/Å)

Robust DIIS (Step Validation)

These options are only active when use_robust_diis = true.

KeywordTypeDefaultDescription
use_robust_diisbooleanfalseMaster switch for DIIS step validation
gediis_variantstringautoGEDIIS variant: auto, rfo, energy, simultaneous
gdiis_cosine_checkstringstandardCosine threshold: none, zero, standard, variable, strict
gdiis_coeff_checkstringregularCoefficient check: none, regular, force_recent, combined
n_neginteger0Negative eigenvalues: 0=minimum, 1=TS search
gediis_sim_switchfloat0.0025RMS error threshold for GEDIIS variant switching

See Robust DIIS for detailed descriptions.


Optimizer Switching Control

switch_step valueBehavior
3 (default)BFGS for 3 steps, then DIIS
0Pure DIIS from step 1 (fastest, needs good geometry)
10Extended 10-step BFGS warm-up, then DIIS
≥ max_stepsPure BFGS throughout (most stable)

Constraints and Fixed Atoms

KeywordTypeDefaultDescription
fixedatomsstring""Fixed atom indices, e.g. 1,3-5,7

Coordinate Driving

KeywordTypeDefaultDescription
drive_typestring""Coordinate type: bond, angle, dihedral
drive_atomsstring""Atom indices (comma-separated)
drive_startfloat0.0Starting coordinate value
drive_endfloat0.0Ending coordinate value
drive_stepsinteger10Number of drive steps
drive_coordinatestring""Reaction coordinate specification

Program Commands

KeywordTypeDefaultDescription
gau_commstringg16Gaussian executable name or path
orca_commstringorcaORCA executable name or path

ONIOM (QM/MM)

KeywordTypeDefaultDescription
isoniombooleanfalseEnable ONIOM multi-layer calculation
chargeandmultforoniom1string""Charge/multiplicity specification for state A
chargeandmultforoniom2string""Charge/multiplicity specification for state B

Advanced / Miscellaneous

KeywordTypeDefaultDescription
charge_bintegerSeparate charge for state B (overrides charge)
basisstring""Basis set specification
solventstring""Solvent model
dispersionstring""Dispersion correction
custom_interface_filestring""Path to custom QM interface JSON config
fix_defloat0.0Target energy difference for fix-dE mode (eV) (temporarily disabled)