Questaal Home
Navigation

Wings of the dielectric function in the offset-Gamma method

Summary

Implementation notes for the tag GW_GAM=1 (3D).

In the offset- method of Kotani, van Schilfgaarde and Faleev, subsequently improved by Kotani (J. Phys. Soc. Jpn. 83, 094711 (2014)) the singular part of the screened interaction is averaged over the cell using the head of the dielectric function evaluated at a few small, symmetry-inequivalent offset points . Only the head (with local fields) enters; the wings, i.e. the couplings of the singular function to all other product-basis functions, are dropped from at . Friedrich et al. (Phys. Rev. B 81, 125102 (2010)) keep both head and wings.

This note describes what GW_GAM=1 adds to the offset- method: the (angle-averaged) contribution of the wings to the body of at . It does not include the wing of itself (which averages to zero) nor the term in that couples that wing to matrix elements of order (“option B”); see Approximations and limits. The implementation is for GWversion with 1s digit 4, 5 or 6 (default 16).

Table of Contents

Basis and definitions

At each the mixed product basis (muffin-tin products plus interstitial plane waves) is transformed to the eigenvectors of the Coulomb matrix , with eigenvalues and the matrix of eigenvectors (columns , orthonormal with respect to the basis overlap). In this “Coulomb eigenbasis” ( basis)

where is the polarization in the (non-orthogonal) product basis in which the symmetrisation is carried out. Index denotes the singular function; at an offset point its eigenvalue is replaced by the analytic value (in code units, vcou1 , in units of ). The remaining indices form the body . Write the full dielectric matrix as

Behaviour for small q

The density matrix elements to the singular function are , , whereas . The wings are therefore and, to leading order, linear in the direction ,

with direction-independent 3-vectors. The head with local fields is

which is the quantity llw that the existing code obtains from mkwq0 and uses in w0w0i to construct (“”).

Block inverse and the wing correction to the body

The block inversion (Schur complement) of gives

At the present code (mkwq) inverts alone, i.e. it uses only the first term of the last line and discards the coupling to . In the true limit the second term does not vanish because . It is finite, direction dependent, and carries no singularity. Define

The correction to the body of is, following the definition above,

where denotes the average over the cell (below: over directions ). It is added to at (iq=1) in the self-energy step; is unchanged (), and the wings stay zero.

Evaluation at the offset points

At an offset point the full matrix is available (local fields are always on in this code path). For every frequency on the real and on the imaginary axis the routine gam_wing_q0 (module qqsgw) builds from the definition above (after the spin factor and, for GWversion 6, after the shift of that enforces the analytic condition, so that is exactly the llw of mkwq0), solves

by one LU factorisation of , and forms from its definition. As a check, the program prints , which must vanish to rounding error (found for SrTiO3).

Transfer to the Gamma basis

The Coulomb eigenvectors at differ from those at , so cannot be combined in the basis. The product-basis functions, however, carry the same index at and at (identical muffin-tin block; interstitial plane waves labelled by the same list; the program stops if the sizes or lists differ). Transform therefore to the basis: from ,

Since transforms like (a bilinear form in the basis), with and padded with zero in the index ,

The correction is thus a sum of rank-one matrices; only the vectors (length per frequency and per offset point) and the scalars are stored (file w0.h5, datasets gamy_*, gamz_*, gaml_*), never an array. The identification of the bases at and is exact in the muffin-tin block and in the interstitial block.

Angular average and symmetrisation

Directions. The offset points are the symmetry-inequivalent directions , . The average of a function is approximated by

where and are the symmetrised invariant tensors that the offset- code already writes to bz.h5 (/epswklm/epinv, epinvq0i); the same weights are used in w0w0i for the average of . They are exact for a function of the form . For a cubic cell there is one offset point and (printed by the program). The function averaged here, the rank-one form above, is not a quadratic form, so the average is the group-orbit average of the sampled direction, i.e. it contains the part and the higher cubic harmonics () of the sampled direction. This is the approximation used by the code, as in the offset- method for the head with the cutoff lxklm.

Symmetrisation. The sum is invariant only under the little group of . At all point-group operations (and time reversal) leave invariant, so the full average is obtained by applying the same symmetriser as for at (routine x0k_sym, using the sparse rotation matrices of the product basis, rotmpb_sprs):

followed by the rotation to the Coulomb eigenbasis of , .

Final formula used in the self-energy

For each frequency on the real and on the imaginary axis, at and ,

with the Coulomb eigenvalues at and , as before. For GW_GAM=0 none of this is computed and the code is arithmetically unchanged.

Data flow

  1. lmsig –wrwq0-only: at every offset point, before mkwq0 inverts the matrix, call gam_wing_q0; reduce over the MPI ranks; on the root compute (gam_weights), print the checks, multiply by and write the datasets to w0.h5.
  2. lmsig –rdwq0: read the datasets and broadcast; at , for each frequency build with a rank-one update, symmetrise and rotate with x0k_sym at , scale by , and add to the body of just before the self-energy is formed.

The same value of GW_GAM must be used in both stages.

Approximations and limits

  • The correction uses , , , from instead of ; the error is , with set by GW_Q0PSCALE. The result should be tested for convergence as . This is also why the wings so obtained are only approximately the limit, and why Friedrich’s method (GW_GAM=10, reserved) is the clean route to the wings themselves.
  • The product-basis identification between and is exact for the muffin-tin block and for the interstitial block.
  • Only the -type (group-orbit) average of the correction is used.
  • The singular wing is odd in and averages to zero over the cell; its product with the matrix elements of the self-energy gives a finite term in which needs of the matrix elements (-like data) and is not included.
  • Required: time-reversal symmetry, and the list at the offset points equal to those at , GWversion 1s digit 4, 5 or 6; not implemented with mod_x0, phonons, cRPA, ERPA, –qany.

Connection to the electron-phonon formalism of Laricchia et al.

Sec. IV.A of the Questaal electron-phonon paper (Laricchia et al., arXiv:2404.02902) uses the same mathematics for a different purpose. There the long-wavelength limit of the inverse dielectric matrix in the Coulomb eigenbasis separates the electron-phonon matrix elements into a short-range (analytic) and a long-range (non-analytic, Froehlich-like) part. Here the same block structure gives the wing correction to the body of at .

What is the same.

Offset- notePaper (notation of that paper)
Coulomb eigenbasis, singular function , ,
(eq-eps)symmetrized (Eq. 110)
head , wings , body head, wings , body (Eq. 114)
, (eq-schur)block inverse, Eqs. 115 and 120-121
(eq-L, llw), with local fields (Eqs. 116-119)
wings , linear in wings ,

The paper’s short-range part (Eq. 123) uses only the body inverse . That is exactly what mkwq does at without GW_GAM. The rank-one term that GW_GAM=1 adds to the body of is the finite, direction-dependent local-field term of the paper’s Eq. 131 (the second term), which the paper assigns to the long-range part and says “should not be disregarded”.

What is different.

  • Averaged versus kept. In the electron-phonon problem is a physical phonon wave vector, so the wing (the Froehlich/Born-charge term, Eq. 133) is kept and the dependence on is the result. Here is integrated over the cell: the wing averages to zero, and the finite body term is averaged over directions (see Angular average).
  • Same truncation. Both treatments omit the cross term between the wing and the correction of the matrix elements, (the “option B” term here; the “mixing terms ” in the paper).
  • Analytic limit versus offset point. The paper expresses the wings and head through the limits and of the wing and head divided by and (Eqs. 114-119), which give and the Born charges exactly. The offset- implementation obtains numerically at a finite , with an error. The paper’s and are the quantities that the route (GW_GAM=10, reserved) would supply.
  • Angular dependence. With the paper’s form, is a ratio of quadratic forms. It is not itself a quadratic form, which is why the tensor weights are exact only for cubic symmetry (isotropic , then the group average is ). For lower symmetry the group-orbit average is an approximation.
  • Frequency. The paper works at , where is Hermitian and . Here all real and imaginary frequencies are needed, so and are stored separately.

Consequence. The head and wings that enter the electron-phonon long-range term and the body of come from the same expansion. Quantities computed once (, , or their offset-point equivalents) serve both. Neither treatment includes the nonlocal- commutator in the velocity operator; that matters only for the evaluation of and .

Source map

FileContent
subs/str_gw.f90, v7input/m_rdctrl.ftag GW_GAM → s_gw%gam
gw/reconstructed/qqsgw.F90gam_wing_q0: , , at an offset point
gw/reconstructed/w0w0i.fgam_weights:
gw/reconstructed/lmsig.f90calls, reductions, w0.h5 datasets, addition with x0k_sym