Bethe-Salpeter kernel: Difference between revisions

From The Yambo Project
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 23: Line 23:


==Choosing input parameters==
==Choosing input parameters==
Generate the input file by invoking yambo with the option <code>-o b -k sex -V qp</code> from the command line:
Generate the input file by invoking yambo with the option <code>-o b -k sex</code> from the command line:


  $ yambo -o b -k sex -V qp -F 02_3D_BSE_kernel.in -J 3D_BSE
  $ yambo -o b -k sex -F 02_3D_BSE_kernel.in -J 3D_BSE


The input opens in the standard editor. The relevant input parameters to be changed are  
The input opens in the standard editor. The relevant input parameters to be changed are  


  [[Variables#BSENGexx|BSENGexx]] = 30 Ry
  [[Variables#BSENGexx|BSENGexx]] = 30000 mRy
  [[Variables#BSENGBlk|BSENGBlk]] = 4 Ry
  [[Variables#BSENGBlk|BSENGBlk]] = 4000 mRy
  % [[Variables#BSEBands|BSEBands]]
  % [[Variables#BSEBands|BSEBands]]
   6 | 10 |       
   6 | 10 |       
Line 37: Line 37:


The third parameter gives the range of quasiparticle states (their band index) that define the basis of quasiparticle pairs that we need to describe the excitons (in the energy range of interest).
The third parameter gives the range of quasiparticle states (their band index) that define the basis of quasiparticle pairs that we need to describe the excitons (in the energy range of interest).
For example since we have 8 occupied bands, here we consider the pairs of bands: ''6-9'', ''6-10'', ''7-9'', ''7-10'', ''8-9'', ''8-10'' (those are 6 pairs of bands = 2 valence times 3 conduction bands).  
For example since we have 8 occupied bands, here we consider the pairs of bands: ''6-9'', ''6-10'', ''7-9'', ''7-10'', ''8-9'', ''8-10'' (those are 6 pairs of bands = 3 valence times 2 conduction bands).  


For each of those pairs we then consider all '''k''' points in the Brillouin zone available from the DFT calculations. Since we have a ''6 x 6 x 2'' grid, this amounts to 72 '''k''' points in the Brillouin zone.  
For each of those pairs we then consider all '''k''' points in the Brillouin zone available from the DFT calculations. Since we have a ''6 x 6 x 2'' grid, this amounts to 72 '''k''' points in the Brillouin zone.  
Line 80: Line 80:
* How to compute the Bethe-Salpeter kernel  
* How to compute the Bethe-Salpeter kernel  


==Links==
==Navigate==


* Previous module: [[Static screening]]
* Previous module: [[Static screening]]
* Numerically solving the Bethe-Salpeter equation: [[Bethe-Salpeter solver: diagonalization | diagonalization]]  
* Next module: [[Bethe-Salpeter solver: diagonalization | Bethe-Salpeter solver: diagonalization]]  
* Back to [[Calculating optical spectra including excitonic effects: a step-by-step guide]] tutorial
* Back to [[Calculating optical spectra including excitonic effects: a step-by-step guide]] tutorial
* [[Tutorials|Back to tutorials menu]]
* [[Tutorials|Back to tutorials menu]]

Latest revision as of 12:56, 24 May 2023

In this module you will learn how to calculate the matrix elements of the Bethe-Salpeter kernels. This is a fundamental step in the calculation of optical spectra within the Bethe-Salpeter equation framework.


Background

To solve the Bethe-Salpeter equation, the latter is usually rewritten in the space of transitions between valence and conduction states as the (pseudo)eigenvalue problem for a two-particle Hamiltonian. For a non spin-polarized system and in the q=0 limit, the two-particle Hamiltonian matrix elements are given by

BSE1-Eq1.png

where vck indicates the pair of quasiparticle states vk and ck. The first term on the RHS is the quasiparticle energy differences (diagonal only). The second term is the kernel which is the sum of the electron-hole exchange part V (which stems from the Hartree potential) and the electron-hole attraction part W (which stems from the screened exchange potential). The kernel both shifts (diagonal contributions) and couples (off-diagonal contributions) the quasiparticle energy differences:

BSE1 Eq3.png

Here εGG'-1 is the inverse of the dielectric screening matrix which was evaluated in the Static screening module.

Prerequisites

Cheatsheet on BSE Kernel

You will need:

  • The SAVE databases for 3D hBN
  • The 3D_BSE directory with the databases generated in the static screening module
  • The yambo executable

Choosing input parameters

Generate the input file by invoking yambo with the option -o b -k sex from the command line:

$ yambo -o b -k sex -F 02_3D_BSE_kernel.in -J 3D_BSE

The input opens in the standard editor. The relevant input parameters to be changed are

BSENGexx = 30000 mRy
BSENGBlk = 4000 mRy
% BSEBands
 6 | 10 |       
%

The first two are the cutoff for the summations on the reciprocal lattice vectors which appear in the expressions for V (BSENGexx) and W (BSENGBlk) here above.

The third parameter gives the range of quasiparticle states (their band index) that define the basis of quasiparticle pairs that we need to describe the excitons (in the energy range of interest). For example since we have 8 occupied bands, here we consider the pairs of bands: 6-9, 6-10, 7-9, 7-10, 8-9, 8-10 (those are 6 pairs of bands = 3 valence times 2 conduction bands).

For each of those pairs we then consider all k points in the Brillouin zone available from the DFT calculations. Since we have a 6 x 6 x 2 grid, this amounts to 72 k points in the Brillouin zone.

Then finally we are using a basis of 6 x 72 = 432 vck pairs to represent the excitons of the system.

The values for these 3 parameters are chosen from convergence studies, as discussed in the next tutorial.

Bethe-Salpeter kernel runlevel

Run the calculation by invoking yambo in the command line:

$ yambo -F 02_3D_BSE_kernel.in -J 3D_BSE 

In the log (either in standard output or in l-3D_BSE_optics_dipoles_bse), after various setup/loading, the kernel is calculated:

<01s> [05.03.03] Main kernel loop
<02s> Kernel |########################################| [100%] --(E) --(X)

In the report r-3D_BSE_optics_dipoles_bse the information relative to this runlevel are reported under the section:

[05] Bethe Salpeter Equation @q1
================================

Take some time to inspect the log and the report. For example try to find where the input parameters are reported, the dimension of the 2-particle Hamiltonian and if these match your expectations.

This run does not produce any human readable output. The kernel is stored in a database in the 3D_BSE directory

3D_BSE/ndb.BS_Q1

Summary

From this tutorial you've learned:

  • How to compute the Bethe-Salpeter kernel

Navigate