Downsampling of the Hartree-Fock operator: Difference between revisions
No edit summary |
|||
(12 intermediate revisions by 2 users not shown) | |||
Line 54: | Line 54: | ||
is not only limited by the <math>{\rm erfc}(\mu|{\bf r}-{\bf r}'|)/|{\bf r}-{\bf r}'|</math> | is not only limited by the <math>{\rm erfc}(\mu|{\bf r}-{\bf r}'|)/|{\bf r}-{\bf r}'|</math> | ||
kernel, but depends on the extent of the spatial overlap of the orbitals as well | kernel, but depends on the extent of the spatial overlap of the orbitals as well | ||
(this can easily be shown for the | (this can easily be shown for the Hartree-Fock exchange energy when one adopts a Wannier | ||
representation of the orbitals); | representation of the orbitals); | ||
<math>R_{\rm max}=2/\mu</math>; (as defined [[#rmax|above]]), therefore, provides an upper limit | <math>R_{\rm max}=2/\mu</math>; (as defined [[#rmax|above]]), therefore, provides an upper limit | ||
Line 64: | Line 64: | ||
the other contributions to the Hamiltonian. | the other contributions to the Hamiltonian. | ||
To take advantage of this situation one may, for instance, restrict the sum over | To take advantage of this situation one may, for instance, restrict the sum over | ||
<math>{\bf q}</math> in the | <math>{\bf q}</math> in the short range exchange potential to a subset, {<math>{\bf q_{k}}</math>}, of the full <math>N_{1}\times N_{2}\times N_{3}</math> <math>{\bf k}</math>-point set, {<math>{\bf k}</math>}, for which the following holds | ||
:<math> | :<math> | ||
Line 121: | Line 121: | ||
267 5.8826 0.50661 5.9100 1.24261 5.8817 0.00000 | 267 5.8826 0.50661 5.9100 1.24261 5.8817 0.00000 | ||
Without {{TAG|NKRED}}, the one electron energies are pretty similar to the one electron energies in the undoped system (last two columns), whereas using {{TAG|NKRED}} a strong reduction of the "gap" between the valence and conduction band is observed, in particular, close to the conduction band minimum (in this case the point). This result is an artifact of the approximation used for {{TAG|NKRED}}=2. The | Without {{TAG|NKRED}}, the one electron energies are pretty similar to the one electron energies in the undoped system (last two columns), whereas using {{TAG|NKRED}} a strong reduction of the "gap" between the valence and conduction band is observed, in particular, close to the conduction band minimum (in this case the point). This result is an artifact of the approximation used for {{TAG|NKRED}}=2. The nonlocal exchange operator cancels the self-interaction present in the Hartree-potential. For {{TAG|NKRED}}=2 and <math>2\times2\times2</math> <math>{\bf k}</math>-points, the nonlocal exchange operator at each <math>{\bf k}</math>-point is evaluated using the one-electron orbitals at this <math>{\bf k}</math>-point only, e.g.: | ||
:<math> | :<math> | ||
Line 131: | Line 131: | ||
</math> | </math> | ||
The sum over <math>{\bf q}</math> in the | The sum over <math>{\bf q}</math> in the Hartree-Fock exchange potential reduces to a single <math>{\bf k}</math>-point. This reduces the self-interaction for states that originally have an occupancy larger than one, concomitantly pulling those states to lower energies. Initially, empty states (occupancy smaller one) are pushed up slightly. Since this is an artifact, {{TAG|NKRED}} must be used with utmost care for large supercells with coarse <math>{\bf k}</math>-point sampling. Please always check whether occupancies are similar at all <math>{\bf k}</math> points if this | ||
is not the case. The calculations should be double-checked without downsampling. | is not the case. The calculations should be double-checked without downsampling. | ||
Line 166: | Line 166: | ||
2x2x2 TOTEN = -838.104787 eV | 2x2x2 TOTEN = -838.104787 eV | ||
2x2x2 {{TAG|NKRED}}=2 TOTEN = -838.418681 eV | 2x2x2 {{TAG|NKRED}}=2 TOTEN = -838.418681 eV | ||
== Related tags and articles == | |||
{{TAG|NKRED}}, | |||
{{TAG|NKREDX}}, | |||
{{TAG|NKREDY}}, | |||
{{TAG|NKREDZ}}, | |||
[[Hybrid functionals: formalism]] | |||
== References == | |||
<references/> | |||
---- | |||
[[Category:Exchange-correlation functionals]][[Category:Hybrid_functionals]] |
Latest revision as of 11:47, 19 July 2022
Downsampling
Consider the description of a certain bulk system, using a supercell made up of primitive cells, in such a way that, {A i' }, the lattice vectors of the supercell are given by A i' =n iA i (i=1,2,3), where {A i} are the lattice vectors of the primitive cell. Let be the distance for which
When the nearest neighbour distance between the periodically repeated images of the supercell (i.e. ), the short-range Hartree-Fock potential can be represented exactly, sampling the BZ at the -point only, i.e.,
This is equivalent to a representation of the bulk system using the primitive cell and a sampling of the BZ,
where the set of vectors is given by
for i =1,..,n 1, j =1,..,n 2, and k =1,..,n 3, with G1,2,3 being the reciprocal lattice vectors of the supercell.
In light of the above it is clear that the number of -points needed to represent the short-range Hartree-Fock potential decreases with decreasing (i.e., with increasing ). Furthermore, one should realize that the maximal range of the exchange interactions is not only limited by the kernel, but depends on the extent of the spatial overlap of the orbitals as well (this can easily be shown for the Hartree-Fock exchange energy when one adopts a Wannier representation of the orbitals); ; (as defined above), therefore, provides an upper limit for the range of the exchange interactions, consistent with maximal spatial overlap of the orbitals.
It is thus well conceivable that the situation arises where the short-range Hartree-Fock potential may be represented on a considerably coarser mesh of points in the BZ than the other contributions to the Hamiltonian. To take advantage of this situation one may, for instance, restrict the sum over in the short range exchange potential to a subset, {}, of the full -point set, {}, for which the following holds
where b1,2,3 are the reciprocal lattice vectors of the primitive cell, and is the integer grid reduction factor along reciprocal lattice direction b i. This leads to a reduction in the computational workload by a factor:
Note: From the above, one should not get the impression that the grid reduction can only be used (or is useful) only in conjunction with range-separated functionals (e.g., HSE03/HSE06). It can be applied, for instance, in the PBE0 and pure HF cases as well, although from the above it might be clear that the range-separated functionals, in general, will allow for a larger reduction of the grid.[1]
Caveat: when one should not use downsampling
In metallic systems, downsampling the exact exchange potential (NKRED, NKREDX, NKREDY, and/or NKREDZ ≠ 1) must be used with great care, and results might be wrong, if downsampling is applied. Problematic cases include electron or hole doped semiconductors or insulators. If two electrons are added to a bulk TiO2 cell containing 72 atoms, and calculations are performed using -points, the following results are obtained for the one-electron energies and occupancies with and without NKRED=2 (LHFCALC=.TRUE. ; AEXX=0.2 ; HFSCREEN = 0.2):
k-point 1: 0.0000 0.0000 0.0000 DOPED NKRED = 2 DOPED NKRED = 1 UNDOPED CASE band No. band energies occupation band energies occupation band energies occupation valence bands 262 2.4107 2.00000 2.4339 2.00000 2.4082 2.00000 263 2.4107 2.00000 2.4339 2.00000 2.4082 2.00000 264 2.8522 2.00000 2.8597 2.00000 2.8566 2.00000 conduction bands 265 5.4046 2.00000 5.8240 1.87262 5.8126 0.00000 266 5.4908 2.00000 5.8695 1.62151 5.8424 0.00000 267 5.4894 2.00000 5.8695 1.62192 5.8424 0.00000
k-point 2: 0.5000 0.0000 0.0000 DOPED NKRED = 2 DOPED NKRED = 1 UNDOPED CASE band No. band energies occupation band energies occupation band energies occupation valence bands 262 2.0015 2.00000 2.0144 2.00000 2.0160 2.00000 263 2.5961 2.00000 2.6072 2.00000 2.6046 2.00000 264 2.5961 2.00000 2.6072 2.00000 2.6045 2.00000 conduction bands 265 6.1904 0.00000 6.1335 0.00435 6.0300 0.00000 266 6.1904 0.00000 6.1335 0.00435 6.0300 0.00000 267 6.1907 0.00000 6.1340 0.00426 6.0305 0.00000
k-point 3 : 0.5000 0.5000 0.0000 DOPED NKRED = 2 DOPED NKRED = 1 UNDOPED CASE band No. band energies occupation band energies occupation band energies occupation valence bands 262 2.4237 2.00000 2.4433 2.00000 2.4287 2.00000 263 2.4238 2.00000 2.4432 2.00000 2.4287 2.00000 264 2.4239 2.00000 2.4433 2.00000 2.4287 2.00000 conduction bands 265 5.8966 0.42674 5.9100 1.24121 5.8817 0.00000 266 5.8780 0.54128 5.9100 1.24143 5.8817 0.00000 267 5.8826 0.50661 5.9100 1.24261 5.8817 0.00000
Without NKRED, the one electron energies are pretty similar to the one electron energies in the undoped system (last two columns), whereas using NKRED a strong reduction of the "gap" between the valence and conduction band is observed, in particular, close to the conduction band minimum (in this case the point). This result is an artifact of the approximation used for NKRED=2. The nonlocal exchange operator cancels the self-interaction present in the Hartree-potential. For NKRED=2 and -points, the nonlocal exchange operator at each -point is evaluated using the one-electron orbitals at this -point only, e.g.:
The sum over in the Hartree-Fock exchange potential reduces to a single -point. This reduces the self-interaction for states that originally have an occupancy larger than one, concomitantly pulling those states to lower energies. Initially, empty states (occupancy smaller one) are pushed up slightly. Since this is an artifact, NKRED must be used with utmost care for large supercells with coarse -point sampling. Please always check whether occupancies are similar at all points if this is not the case. The calculations should be double-checked without downsampling.
Since HF type calculations using points without NKRED, are roughly 64 times more expensive than those using the -point only, it might seem impossible to do anything but -point only calculations. However, VASP allows to generate special points using generating lattices.
The following -point sets are particularly useful for HF-type calculations:
k-point set generating a bcc like lattice in the BZ -> 2 k points in BZ 0 direct 0.5 0.5 0.5 -.5 -.5 0.5 0.5 -.5 -.5 0 0 0
This KPOINTS file generates two 2 points, one at the -point and one along the space diagonal at the BZ boundary (R point).
The following KPOINTS file generates 4 points, one at the point and three at the S points (the latter ones might be symmetry equivalent for cubic cells).
k-point set generating an fcc lattice -> 4 k points in BZ 0 direct 0.5 0.5 0.0 0.0 0.5 0.5 0.5 0.0 0.5 0 0 0
Using such grids, sensible and fairly rapidly converging results are obtained, e.g., for electron and hole doped materials, even if the conduction or valence band is partially occupied or depleted. For instance, the following energies are obtained for TiO2:
Gamma only TOTEN = -837.759900 eV 2 k-points TOTEN = -838.039157 eV 4 k-points TOTEN = -838.129712 eV 2x2x2 TOTEN = -838.104787 eV 2x2x2 NKRED=2 TOTEN = -838.418681 eV
Related tags and articles
NKRED, NKREDX, NKREDY, NKREDZ, Hybrid functionals: formalism