Hartree Fock: Difference between revisions

From The Yambo Project
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:


The variable  [[Variables#EXXRLvcs|EXXRLvcs]]  governs the number of G vector to be summed in the expression of the exchange self-energy reported above.
The variable  [[Variables#EXXRLvcs|EXXRLvcs]]  governs the number of G vector to be summed in the expression of the exchange self-energy reported above.
The [[Variables#QPkrange|QPkrange]]  name list it is a generalized index needed to select the first and last kpoints and bands we want to calculate the QP correction. Let's start by editing the ''hf.in'' file by considering the last occupied and first empty bands in order to calculate the direct gap,  and run calculations to converge the expression above. In the expression of the Exchange Self Energy, we have a summation over bands, an integral over the Brillouin Zone and a Sum over bands. Sum over bands
The [[Variables#QPkrange|QPkrange]]  name list it is a generalized index needed to select the first and last kpoints and bands we want to calculate the QP correction. Let's start by editing the ''hf.in'' file by considering the last occupied and first empty bands in order to calculate the direct gap,  and run calculations to converge the expression above.
 
So we change the [[Variables#QPkrange|QPkrange]] variable in:
check convergence of the G vectors in the summation in the Σx expression. So we change the [[Variables#QPkrange|QPkrange]] variable in:


  %[[Variables#QPkrange|QPkrange]]                    # [GW] QP generalized Kpoint/Band indices
  %[[Variables#QPkrange|QPkrange]]                    # [GW] QP generalized Kpoint/Band indices
     14| 14|  8| 9|
     14| 14|  8| 9|
  %
  %
and  
 
In the expression of the Exchange Self Energy, we have a summation over bands, an integral over the Brillouin Zone and a Sum over the G vectors. Looking at the occupation factor we realize that occupied states only enters in the expression, so we do not need to worry about the bands as Yambo will include all the occupied bands by default. In order to check convergence of the G vectors in the summation in the Σx expression, we will perform different calculation varying the kinetic energy cutoff governing the number of G vectors entering in the sum. Let's start by setting in ''hf.in'':
   
   
  [[Variables#EXXRLvcs|EXXRLvcs]]= 10 Ry
  [[Variables#EXXRLvcs|EXXRLvcs]]= 10 Ry

Revision as of 08:37, 11 April 2017

Prerequisites

The exchange part contribution of the self-energy for a generic state (nk) in reciprocal space reads:

caption

It is important to note that in this way we are adding the HF contribution in a perturbative way to previously calculated DFT energies:

caption

and hence they will differ from a standard self-consistent HF calculation.

Let's start by building up the input file for an HF calculation by typing:

$ yambo -x -V all -F hf.in

Looking inside the input file you will find:

EXXRLvcs = 1491        RL    # [XX] Exchange RL components
%QPkrange                    # [GW] QP generalized Kpoint/Band indices
  1| 14|  1|100|
%

The variable EXXRLvcs governs the number of G vector to be summed in the expression of the exchange self-energy reported above. The QPkrange name list it is a generalized index needed to select the first and last kpoints and bands we want to calculate the QP correction. Let's start by editing the hf.in file by considering the last occupied and first empty bands in order to calculate the direct gap, and run calculations to converge the expression above. So we change the QPkrange variable in:

%QPkrange                    # [GW] QP generalized Kpoint/Band indices
   14| 14|  8| 9|
%

In the expression of the Exchange Self Energy, we have a summation over bands, an integral over the Brillouin Zone and a Sum over the G vectors. Looking at the occupation factor we realize that occupied states only enters in the expression, so we do not need to worry about the bands as Yambo will include all the occupied bands by default. In order to check convergence of the G vectors in the summation in the Σx expression, we will perform different calculation varying the kinetic energy cutoff governing the number of G vectors entering in the sum. Let's start by setting in hf.in:

EXXRLvcs= 10 Ry

and run yambo:

$ yambo -F hf.in -J 3D

Links