Time-evolution algorithm: Difference between revisions
Line 160: | Line 160: | ||
{{TAG|IEPSILON}} | {{TAG|IEPSILON}} | ||
{{TAG|NELM}} | |||
{{TAG|LHARTREE}} | {{TAG|LHARTREE}} |
Revision as of 12:29, 16 October 2024
The macroscopic dielectric function, , measures how a given dielectric medium reacts when subject to an external electric field. From it is possible to extract several optical properties such as absorption, optical conductivity, reflectance. However, it is important that the interacting electrons and holes are taken into account. This makes the evaluation of the macroscopic dielectric function more involved, since it goes beyond the single-particle level, working either at the two-particle level via either the Bethe-Salpeter equation or time-dependent density-functional theory.
For both frameworks, BSE and TDDFT, users can select two different strategies to compute . The first is based on the eigendecomposition of the electron-hole hamiltonian, . It allows for the evaluation of by initially obtaining the eigenvalues and eigenvectors of and then using both to evaluate . This strategy is based on the Bethe-Salpeter equation or the Casida equation. The second strategy transforms the mathematical expression of into a time-dependent integral. By propagating the dipolar moments in time and then applying a Fourier transform, it can compute .
The advantage of the later method in relation to the former is related to their cost. The time-dependent integral has a cost of the order , while the eigendecomposition has a cost of the order , where is the rank of . This means that for very large numbers of bands or k-points, the time-dependent formalism is cheaper than the eigendecomposition method.
Below we present a brief description of the method, from its theoretical support to how calculations should be performed, with the relevant approximations needed in the two-particle Hamiltonian.
The macroscopic-dielectric function as a time-dependent integral
The starting point is that one can re-write as a time-dependent integral[1]. It starts from its expression, given by
- ,
where is the dipolar moment associated to the the conduction , valence band , and k-point . is the index of the eigenstate of , with and being the associated eigenvector and eigenvalue.
This definition of can be brought into operational form with
by using the spectral decomposition .
The new expression of can be brought into a time-dependent integral, using the fact that
- ,
and recognizing that is the exponential form of a time-dependent equation operator. These considerations allow for the expression of to be written as
- .
The fundamental aspect behind this transformation is that the new, time-dependent vector follows the equation
with the initial vector given by .
To compute the dielectric function with this method, VASP evaluates and stores at each time step the projections of over , . It is the fact that all these operations are of the matrix-vector type that makes this method having a cost of the order of .
Perturbing all transitions with a delta-like potential
In order to probe all possible transitions, a time-dependent term is added to the hamiltonian[2]
where is the perturbation strength parameter and is the electric displacement field. The narrow (in time) potential allows all bands in the occupied and unoccupied manifolds to be included in the transition space. The constant displacement field replicates the long wavelength limit (i.e. ).
The many-body terms in the hamiltonian
Approximations to the interaction between electrons and holes are controlled in the INCAR by the tags LHARTREE, LADDER, and LFXC, which can be set to either .TRUE. or .FALSE.. Below we provide an explanation of what interaction term each tag controls.
Mind: The default setup for VASP is LHARTREE and LADDER set to .FALSE., while LFXC is set to .TRUE.. This means that if no tags are set in the INCAR the time-propagation run will using the TD-DFT kernel. |
Independent-particle approximation
In this approximation all interaction terms in the hamiltonian are turned off by setting LHARTREE, LADDER, and LFXC to .FALSE. in the INCAR file. This means that the computed spectrum will be equal to what is obtained during a ground-state calculation with LOPTICS=.TRUE.. This calculation is useful to test if everything is in order with the input files and the workflow is properly setup.
Hartree exchange potential
With the tag LHARTREE=.TRUE. the interaction terms in the hamiltonian will include the unscreened Coulomb exchange. These terms are also known as the bubble diagrams from many-body perturbation theory (MBPT). With both LFXC and LADDER set to .FALSE., this will be equivalent to running random-phase approximation (RPA) calculation.
Note that at the end, the dielectric function reported in the output files is the macroscopic dielectric function, where no contributions from local fields (i.e. terms with finite ) are included.
The missing interaction between electrons and holes from either LFXC or LADDER has as consequence that bound excitons cannot be properly described, which is a known problem of RPA. However, it can still be used to compute the electron energy-loss function, EELS.
Screened two-particle interaction
Exchange-correlation effects from time-dependent density functional theory
Setting LFXC=.TRUE. includes the local exchange-correlation kernel, in the time-propagation
where controls the fraction of the exchange energy functional that is included in the kernel (see AEXX). This allows users to perform time-dependent calculations using hybrid functionals.
As these kernels often lack the long-range component (which goes as , where is the momentum difference between the electron and the hole), they fail to properly reproduce the binding energies of electron-hole pairs in periodic systems or very large molecules.
Ladder diagrams from many-body perturbation theory
By setting LADDER=.TRUE. the interaction hamiltonian will include the screened exchange interaction potential, . This treats the electron-hole interaction by including the ladder diagrams from MBPT[3]. This term also has the correct long-range behaviour, meaning that it can properly describe bound electron-hole pairs in solids and large molecules.
At the present, the screened interaction has to be computed from a model dielectric function, given by
- .
Both LHFCALC and LMODELHF must be set to .TRUE.. Also, VASP must be provided both with HFSCREEN () and AEXX () to control the range separation parameters in the model dielectric function.
Step-by-step instructions
Step 1: ground state with extra empty states
The starting point is a ground-state calculation which includes extra empty states, whose number is controlled in the INCAR file with the tag NBANDS. In the following example INCAR file
SYSTEM = Si NBANDS = 12 ISMEAR = 0 ; SIGMA = 0.05 ALGO = N LOPTICS = .TRUE. KPAR = 4
8 empty bands are chosen (silicon has 4 occupied bands in the pseudo-potential file, thus making a total of 12 bands for NBANDS). However, with ALGO=N, VASP will employ an iterative diagonalization algorithm, meaning that the last conduction states will not be converged with the same accuracy level as the occupied states. It is possible to avoid this by setting ALGO=Exact, or by increasing the number of bands to make sure that the states which will be used in the time-propagation step are converged with the same level of accuracy.
Finally, with LOPTICS=.TRUE., VASP will compute the dipole momentum for each possible transition (recall the definition of the dipole momentum vector). These are written in the file WAVEDER, which will be used in the next step.
Step 2: time-evolution run
Once the ground state with extra empty states is computed, the resulting WAVECAR and WAVEDER files are ready to use in a time-propagation calculation. The following will be used as an example INCAR file:
SYSTEM = Si ALGO = TIMEEV !Information about the bands NBANDS = 12 NBANDSO = 4 NBANDSV = 8 !Smearing parameters ISMEAR = 0 ; SIGMA = 0.05 !Direction of propagation IEPSILON = 1 !Parallelization options KPAR = 4 !Time-propagation parameters NELMGW = 2000 CSHIFT = 0.1 OMEGAMAX = 20 !Particle interactions LHARTREE = .TRUE. LADDER = .TRUE. LFXC = .FALSE. LHFCALC = .TRUE. LMODELHF = .TRUE. AEXX = 0.088 HFSCREEN = 1.26
Here ALGO is set to TIMEEV, meaning that VASP will now perform a time-propagation calculation.
Setting up the bands
With NBANDS=12 informs VASP that there are 12 states in total in the WAVECAR and WAVEDER. This must be consistent with Step 1! The number of occupied and unoccupied states that are used in the propagation is controlled by the NBANDSO and NBANDSV tags, respectively. To choose which bands to use it is advisable to understand the type of property that is going to be studied. For instance, in the case of optical absorption, materials are probed within a few hundreds of milli-electronvolt of the band gap. In this case it means that only states that lie close to the band extrema are important for the time-propagation.
In this example VASP will use NBANDSO=4 occupied and NBANDSV=8 unoccupied states during the time propagation. There is no need to use the total number of bands set up by NBANDS, but still NBANDSO+NBANDSV cannot be larger than NBANDS.
Setting up the time-step
VASP is now integrating a time-dependent differential equation so the time-step used to propagate the dipole moments can be specified in the INCAR. By default, VASP will use 20000 steps, however a different number can be set with the tag NELMGW. Nevertheless, NELMGW must be larger than 100, otherwise VASP will revert to the default.
The time-step, , and maximum propagation time, , are not dependent on the size of the interacting hamiltonian matrix. However they are dependent on the system in case and the input tag CSHIFT and OMEGAMAX. This comes from the Fourier transform used to integrate the time-dependent dipole moments, which leads to and .
The tag CSHIFT also controls the width used in the plotting of the dielectric function, since
and the -function is approximated as , with CSHIFT=.
Setting CSHIFT = 0.1 ~ 0.01 is often a good choice, as lower values will lead to unnecessarily long propagation times and spectra with very narrow peaks. OMEGAMAX is automatically from the maximum energy difference between occupied and unoccupied states, but can be lowered to decrease the number of pairs used in the basis set and the size of the interacting hamiltonian.
Choosing the direction of perturbation
The dipole momentum vector is direction dependent. The direction of propagation is chosen in the INCAR with the tag IEPSILON, which can take values of 1, 2, or 3 (corresponding to x, y, and z direction, respectively), and 4 (corresponding to all directions).
While choosing a single direction of propagation decreases the computing time, it is important to pay attention to the symmetries of the material in study. For example, in the case of bulk silicon, since the material has cubic symmetry propagating along one direction (x, or y, or z) is enough. However, for a material like hexagonal boron nitride, the crystal symmetries destroy the equivalency between the x and y directions. For this system propagation should happen along both x and y, and then the dielectric function should be the average of both calculations.
Comparison to other methods
VASP offers two other methods with which you can compute the macroscopic dielectric function. These are based on eigen-decomposition of the two particle hamiltonian, . While more expensive than time-evolution, both these methods are able to compute eigenvalues and eigenstates of , meaning that you can have direct access to the excitation energies of a system.
Bethe-Salpeter equation
Here the full Bethe-Salpeter equation is employed by setting ALGO=BSE. The interaction hamiltonian is built using the dielectric function from RPA, and has the right behaviour in the long range regime. This means that it can accurately describe bound excitons in solids and large molecules. However, it is more costly than time-evolution, scaling with .
Casida equation
Similar to the Bethe-Salpeter equation, the Casida equation employs an eigensolver method to compute the dielectric function. This is chosen in the INCAR with ALGO=TDHF. The key differences are that the Casida method does not require a preceding GW run to compute the RPA screening and can be performed with either DFT or hybrid-functional orbitals and energies.
Related tags and articles
Time-dependent density-functional theory calculations
Bethe-Salpeter-equations calculations
References
- ↑ W. G. Schmidt, S. Glutsch, P. H. Hahn, and F. Bechstedt, Efficient O(N2) method to solve the Bethe-Salpeter equation, Phys. Rev. B 67, 085307 (2003)
- ↑ T. Sander, G. Kresse, Macroscopic dielectric function within time-dependent density functional theory—Real time evolution versus the Casida approach , J. Chem. Phys. 146, 064110 (2017)
- ↑ T. Sander, E. Maggio, and G. Kresse, Beyond the Tamm-Dancoff approximation for extended systems using exact diagonalization, Phys. Rev. B 92, 045209 (2015).