5. FLOSIC

The Perdew–Zunger self-interaction correction (PZ-SIC) removes the one-electron self-interaction error of a semilocal functional orbital by orbital. Restricting the unitary transformation to Fermi–Löwdin orbitals (FLOs), which are defined by a set of Fermi-orbital descriptors (FODs, one point per occupied orbital and spin), gives the FLOSIC method (Pederson, Ruzsinszky, Perdew 2014). DFTSW27 implements FLOSIC self-consistently with a Jacobi-type solver (Yang, Pederson, Perdew 2017) and with the Krieger–Li–Iafrate (KLI) local potential (Diaz, Baruah, Zope 2021); for background and benchmarks of the method see Zope et al. 2019.

All SIC keys live in the top-level sic: section.

A first FLOSIC calculation

# Tutorial 07, exercise 1: FLOSIC-LDA with the self-consistent Jacobi solver instead of KLI.
#   OMP_NUM_THREADS=16 ./run_dft tutorials/07_flosic/files/h2o_flosic_jacobi.yaml > h2o_flosic_jacobi.out

system:
  charge: 0
  unpaired_electrons: 0
  units: angstrom

functional:
  exchange: slater
  correlation: pw92

basis:
  name: UTEP-NRLMOL
  file: basis/FLOSIC-LDA_atoms_normalized.nw

scf:
  conv_tol: 1.0e-8

sic:
  functional: pz_sic
  solver: jacobi
  fod_file: tutorials/07_flosic/files/h2o.fod

atoms:
  - element: O
    position: [0.000000,  0.000000,  0.117300]
  - element: H
    position: [0.000000,  0.757200, -0.469200]
  - element: H
    position: [0.000000, -0.757200, -0.469200]

with the FODs of water (the format is the number of α FODs, their positions in bohr, the number of β FODs, their positions):

5
  -3.556723249481608E-10   9.819727088301473E-01  -5.260347736353286E-01
  -9.604510168918406E-10  -9.819727096259314E-01  -5.260347740702989E-01
  -1.207482940483041E+00  -3.499580047778365E-10   8.344956513025354E-01
   1.207482941574058E+00  -8.066335976547032E-10   8.344956492758137E-01
   0.000000000000000E+00   0.000000000000000E+00   2.216648584627800E-01
5
  -3.556690503082822E-10   9.819727088301489E-01  -5.260347736353241E-01
  -9.604491787775021E-10  -9.819727096259318E-01  -5.260347740702972E-01
  -1.207482940483041E+00  -3.499580247573390E-10   8.344956513025354E-01
   1.207482941574062E+00  -8.066339869758690E-10   8.344956492758088E-01
   0.000000000000000E+00   0.000000000000000E+00   2.216648584627800E-01

A FOD file needs exactly one FOD per occupied orbital and spin. FLOSIC-LDA of water gives −76.67890 Ha with the Jacobi solver and −76.67627 Ha with KLI; Tutorial 7 explains the output and shows that the HOMO moves from 7.36 eV (LDA) to 14.8 eV, close to the ionization energy of 12.6 eV.

Method and solver

Key

Values

functional

pz_sic (Perdew–Zunger) or lsic (locally scaled, see below)

solver

kli (default; cheaper per iteration) or jacobi (self-consistent; exact FOD forces and nuclear gradients)

scf_algorithm

with jacobi: jacobi (fixed-point SCF) or direct (direct minimization; robust for open shells such as Fe or O atoms)

oep

with kli: kli or ceda (Gritsenko and Baerends; Krieger, Li, Iafrate)

coulomb_method

self-Coulomb engine for each orbital: poisson (default), analytic, density_fitting

orbitals

flo (default), or free/free_complex to minimize over all unitary rotations (Vydrov and Scuseria)

Requirements: a DFT functional (LDA, GGA or meta-GGA; the orbital self-XC follows functional: correlation, use pw92 for comparison with other FLOSIC codes), no hybrids, collinear SCF with moment_mode: fixed.

Where the FODs come from

Choose one way to get the starting FODs:

  1. A file: fod_file: water.fod, for instance from a previous run (relax_checkpoint_file) or from a published set (Kao et al. 2017 give optimized FODs for atoms Li–Kr).

  2. fod_guess_method: thomson (default): geometric shells from each atom’s filling and covalent radius, spread on spheres. A starting guess, good for atoms and small molecules.

  3. fod_guess_method: assembly: FODs assembled from a database of atomic and bond FOD positions and the Lewis structure of the molecule (main-group elements H–Kr; transition-metal molecules get the superposition of the atoms’ FOD sets). It is the recommended choice for main-group molecules. The Lewis structure it used is printed. See also Schwalbe et al. 2019 on interpreting and generating FODs.

  4. fod_guess_method: centroid: FODs at the centroids of Foster–Boys localized orbitals of a preliminary plain-DFT SCF; needs no structure.

Every guess is only a starting point. Follow it with the optimization below.

FOD optimization

sic:
  functional: pz_sic
  solver: jacobi
  fod_guess_method: assembly
  fod_optimization: energy
  fix_fod_at_nucleus: true
  relax_checkpoint_file: h2o_fods_relaxed_assembly.dat

fod_optimization: energy relaxes the FODs against the SIC energy (BFGS by default, relax_method; converged when the largest FOD force is below relax_force_tol, 10⁻⁴ Ha/bohr). fix_fod_at_nucleus: true pins each atom’s 1s FOD at the nucleus (standard practice, Jacobi only). relax_checkpoint_file (default RELAXED_FOD.dat) is rewritten after every step and can be reused as fod_file. Starting from the centroid guess, water relaxes to −76.67890 Ha in 17 outer iterations, 87 mHa below the unrelaxed guess; Tutorial 8 compares the centroid and assembly guesses.

For KLI on molecules the force is approximate; add frozen_density: true and frozen_cycle: true.

Locally scaled SIC (LSIC)

functional: lsic scales the correction down in many-electron regions (Vydrov et al. 2006; self-consistent implementation: Yamamoto et al. 2023). lsic_consistency: full is the fully self-consistent version, quasi the cheaper approximation.

sic:
  functional: lsic
  solver: jacobi
  lsic_consistency: full
  coulomb_method: poisson
  fod_file: tutorials/09_lsic/files/h2o.fod

With direct minimization the LSIC energy of water is −76.48273 Ha (Tutorial 9).

Other points to know

  • SIC gradients and geometry optimizations are available with the Jacobi solver; frequencies are not.

  • sic: symmetry: use exploits point-group symmetry; locality: on speeds up very large molecules.

  • ECPs are supported (valence-only correction; give one FOD per valence electron and spin).

  • orbital_log_file (default FLOSIC_ORBITAL_ENERGIES.log) lists each orbital’s SIC energy.

  • Properties: polarizabilities and hyperpolarizabilities with SIC (Polarizabilities and hyperpolarizabilities, with SIC).

Related tutorials: Self-interaction correction with FLOSIC, FOD optimization, Locally scaled SIC by direct minimization.