Introduction to Real Time propagation in Yambo: Difference between revisions

From The Yambo Project
Jump to navigation Jump to search
m (Removed links not ok for school)
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Introduction ==
A new feature in yambo is the numerical integration of a time-dependent (TD) equation of motion (EOM), able to describe the evolution of the electronic system under the action of an external laser pulse. Similarly to the equilibrium case, the most diffuse ab initio approaches to real-time propagation are based on TD-DFT and there exist a number of GPL codes available to this end. On the contrary the implementation of real time propagation within MBPT is an almost unique feature of the yambo code. Two different schemes
A new feature in yambo is the numerical integration of a time-dependent (TD) equation of motion (EOM), able to describe the evolution of the electronic system under the action of an external laser pulse. Similarly to the equilibrium case, the most diffuse ab initio approaches to real-time propagation are based on TD-DFT and there exist a number of GPL codes available to this end. On the contrary the implementation of real time propagation within MBPT is an almost unique feature of the yambo code. Two different schemes
are available. In one case, the density matrix of the system, is propagated in time, as described in the first section. In
are available. In one case, the density matrix of the system, is propagated in time, as described in the first section. In
Line 11: Line 13:


Here we underline quantities which are vectors in the trans­ition space. The Hamiltonian contains the equilibrium eigenvalues plus
Here we underline quantities which are vectors in the trans­ition space. The Hamiltonian contains the equilibrium eigenvalues plus
the variation of the self-energy.
the variation of the self-energy. It is a functional of the density matrix and can be written as follows:
[[File:H mb.png|400px|center|Many-Body Hamiltonian]]
The variation of the self--energy can be efficiently constructed via the linearization of the self--energy (which is exact for most of the approximations available in yambo)
[[File:Self-Energy Rho Linear Expansion.png|center|200px|Expression for the many body self-energy doing a linear expansion in terms of the density matrix]].
K is the functional derivative of the self--energy with respect to the density matrix and corresponds to the kernel of the Bethe--Salpeter equation. In the language of the yambo code we will refer to it with the name "real time collisions" or simply "collisions". Choosing the HSEX approximation and using the GW energies for the quasi--particle corrections, the time propagation corresponds to a real-time version of the Bethe-Salpeter Equation<ref>[http://bcsbec.df.unicam.it/files/LaRNC11_N12%281988%29.pdf  G. Strinati, La Rivista del Nuovo Cimento '''11''' (12), 1-86 (1988)]</ref>
More details can be found in Ref. <ref name="Attaccalite2011">[https://arxiv.org/abs/1109.2424 C. Attaccalite, M. Grüning, and A. Marini PRB '''84''', 245110 (2011)]</ref>


[[File:External field in length gauge.png|frameless|150px|]]
[[File:External field in length gauge.png|frameless|150px|]]
represents the external potential written in the length gauge; shape, polarization, intensity (and eventually frequency) of the field E can be selected in input. r is the position operator. The coupling to the external field is exact up to first order.
represents the external potential written in the length gauge; shape, polarization, intensity (and eventually frequency) of the field E can be selected in input. r is the position operator. The coupling to the external field is exact up to first order.
=== Linear Response ===
=== Linear Response ===
From the knowledge of the density matrix, the first order polarization  
From the knowledge of the density matrix, the first order polarization  
Line 22: Line 30:
to the length gauge in linear response).
to the length gauge in linear response).
<math> \chi(\omega) = \frac{P(\omega)}{E(\omega)} </math>
<math> \chi(\omega) = \frac{P(\omega)}{E(\omega)} </math>
<!--
More details will be given during the tutorials:
* [[Real time approach to linear response]]
* [[Real time Bethe-Salpeter Equation (TDSE)]]
-->


== Time Dependent Effective Schrödinger Equation ==
== Time Dependent Effective Schrödinger Equation ==
Line 28: Line 42:




[[File:Formula tdse.png|center|400px|Time-Dependent Schrödinger Equation]]
[[File:Tdse new.png|center|400px|Time-Dependent Schrödinger Equation]]




Where  <math> | v_{i \mathbf{k}} \rangle </math> are the time-dependent valence bands, Hsysk is the Hamiltonian, <math>\mathcal E(t)</math> is the external field and the term <math> i e \partial k</math> corresponds to the dipole operator in periodic systems. For more details on this last term see Ref. <ref>I. Souza, J. Íñiguez, and D. Vanderbilt, [https://cfm.ehu.es/ivo/publications/souza_prb04.pdf PRB 69, 085106 (2004)]</ref> and <ref name="Attaccalite2013">C. Attaccalite and M. Gruning [https://arxiv.org/abs/1309.4012v2 Rev. B, '''88''', 235113 (2013)]</ref>.
Where  <math> | v_{i \mathbf{k}} \rangle </math> are the time-dependent valence bands, <math>H_{rt}</math> is the Hamiltonian, <math>\mathcal E(t)</math> is the external field and the term <math> i e \partial k</math> corresponds to the dipole operator in periodic systems. For more details on this last term see Ref. <ref>I. Souza, J. Íñiguez, and D. Vanderbilt, [https://cfm.ehu.es/ivo/publications/souza_prb04.pdf PRB 69, 085106 (2004)]</ref> and <ref name="Attaccalite2013">C. Attaccalite and M. Gruning [https://arxiv.org/abs/1309.4012v2 Rev. B, '''88''', 235113 (2013)]</ref>.
Differently from other codes, the equations of motion of Yambo are in the length gauge and not in the velocity one. If you want to know more about the advantages and disadvantages of the two gauges read section 2.7 of Ref. <ref>C. Attaccalite, [https://arxiv.org/abs/1609.09639 arXiv 1609.09639 (2017)]</ref>.
Differently from other codes, the equations of motion of Yambo are in the length gauge and not in the velocity one. If you want to know more about the advantages and disadvantages of the two gauges read section 2.7 of Ref. <ref>C. Attaccalite, [https://arxiv.org/abs/1609.09639 arXiv 1609.09639 (2017)]</ref>.
The Hamiltonian and the initial wave-functions are obtained from DFT. Then in order to obtain linear response, we probe the system with a delta function field, that excites all the frequencies at the same footing, and Fourier transforms. We calculate the Berry polarization
The Hamiltonian and the initial wave-functions are obtained from DFT. Then in order to obtain linear response, we probe the system with a delta function field, that excites all the frequencies at the same footing, and Fourier transforms.  
 
The hamiltonian is defined as in the case of the equation of motion for the density matrix. Then the polarization is calculated by means of Berry's phase


[[File:Berry polarization.png|center|350px|Berry's polarization]]
[[File:Berry polarization.png|center|350px|Berry's polarization]]
=== Advantages and disadvantages of the two formalisms ===
The reason why in Yambo there are two distinct formalisms for studying the real-time response is due to the fact that these have particular advantages and disadvantages which are therefore suitable for some types of simulations and not others. The dynamics formulation in terms of density matrix or non-equilibrium Green's functions allows a systematic treatment of correlation effects and electron-phonon coupling<ref name="DavideEPL">[https://arxiv.org/abs/1409.1706 D. Sangalli, and A. Marini  EPL '''110''', 47004 (2015)]</ref>, but the price to pay is that the coupling with the external field is correct only to the linear order. This formalism is important in all those phenomena where electronic relaxation plays a major role.  On the other hand,  in the TDSE formalism the coupling with the external field in an exact way even beyond the linear regime, and for this reason, it allows the description of phenomena coherent with the strong external fields, like the non-linear response.


=== Linear Response ===
=== Linear Response ===
Line 48: Line 69:
See also Ref. <ref name="Attaccalite2013"></ref>
See also Ref. <ref name="Attaccalite2013"></ref>


<!--
More details will be given during the tutorials:
More details will be given during the tutorials:
* [[Real time approach to linear response]]  
* [[Real time approach to linear response]]  
* [[Real time Bethe-Salpeter Equation (TDSE)]]
* [[Real time Bethe-Salpeter Equation (TDSE)]]
-->


=== Non Linear Response ===
=== Non Linear Response ===


Non-linear response calculations are similar to the linear response case, with the only difference that we excite the system with a sinusoidal external field. A perturbation with a specific frequency allows to expand the polarization in the form <math>\bf{P}(t) = \sum_{n=-\infty}^{+\infty} \bf{p}_n e^{-i\omega_n t} </math> where the coefficient <math>\bf{p}_1,...,\bf{p}_n </math> are related to <math>\chi^{(1)},...,\chi^{(n)} </math>.
Non-linear response calculations are similar to the linear response case, with the only difference that we excite the system with a sinusoidal external field. A perturbation with a specific frequency allows to expand the polarization in the form <math>\bf{P}(t) = \sum_{n=-\infty}^{+\infty} \bf{p}_n e^{-i\omega_n t} </math> where the coefficient <math>\bf{p}_1,...,\bf{p}_n </math> are related to <math>\chi^{(1)},...,\chi^{(n)} </math>.
In practice we use the scheme described in Ref. <ref>C. Attaccalite and M. Gruning, [https://arxiv.org/abs/1309.4012v2 Rev. B, 88, 235113 (2013)]</ref> and show below to extract the non-linear coefficients:
In practice we use the scheme described in Ref. <ref name="Attaccalite2013"></ref> and show below to extract the non-linear coefficients:


[[File:Scheme nl.png|350px|center|Schematic representation of real-time calculations]]
[[File:Scheme nl.png|350px|center|Schematic representation of real-time calculations]]


<!--
More details will be given during the tutorials:
More details will be given during the tutorials:
* [[Real time approach to non-linear response]]  
* [[Real time approach to non-linear response]]  
* [[Correlation effects in the non-linear response]]
* [[Correlation effects in the non-linear response]]
-->


==References==
==References==
<references />
<references />
<br>
{| style="width:100%" border="1"
|style="width:15%; text-align:left"|Prev: [[Linear response from real time simulations|Linear response]]
|style="width:70%; text-align:center"|Now: [[Tutorials|Tutorials]] --> [[Linear response from real time simulations|Linear Response]] -->  [[Introduction to Real Time propagation in Yambo|Theory]]
|style="width:35%; text-align:right"|Next: [[Prerequisites_for_Real_Time_propagation_with_Yambo|Prerequisites]]
|-
|}

Latest revision as of 14:30, 24 May 2023

Introduction

A new feature in yambo is the numerical integration of a time-dependent (TD) equation of motion (EOM), able to describe the evolution of the electronic system under the action of an external laser pulse. Similarly to the equilibrium case, the most diffuse ab initio approaches to real-time propagation are based on TD-DFT and there exist a number of GPL codes available to this end. On the contrary the implementation of real time propagation within MBPT is an almost unique feature of the yambo code. Two different schemes are available. In one case, the density matrix of the system, is propagated in time, as described in the first section. In the second case an effective time dependent Schrodinger equation for the occupied orbitals is propagated, as described in the second section.

Time Dependent Equation for the Reduced One--Body Density--Matrix

The first scheme is a Time Dependent equation for the one body reduced density matrix. The EOM for the density matrix projected in the space of the single particle wave-functions is derived from non-equilibrium (NEQ) many-body perturbation theory and reads

The time dependent equation of motion for the one body reduced density matrix as implmented in the Yambo code

Here we underline quantities which are vectors in the trans­ition space. The Hamiltonian contains the equilibrium eigenvalues plus the variation of the self-energy. It is a functional of the density matrix and can be written as follows:

Many-Body Hamiltonian

The variation of the self--energy can be efficiently constructed via the linearization of the self--energy (which is exact for most of the approximations available in yambo)

Expression for the many body self-energy doing a linear expansion in terms of the density matrix

.

K is the functional derivative of the self--energy with respect to the density matrix and corresponds to the kernel of the Bethe--Salpeter equation. In the language of the yambo code we will refer to it with the name "real time collisions" or simply "collisions". Choosing the HSEX approximation and using the GW energies for the quasi--particle corrections, the time propagation corresponds to a real-time version of the Bethe-Salpeter Equation[1] More details can be found in Ref. [2]

External field in length gauge.png represents the external potential written in the length gauge; shape, polarization, intensity (and eventually frequency) of the field E can be selected in input. r is the position operator. The coupling to the external field is exact up to first order.

Linear Response

From the knowledge of the density matrix, the first order polarization Polarization from rho.png is computed at each time step. The spectrum of the system can then be obtained by the Fourier transform of the polarization, which can be done as a post-processing step. Absorption is thus obtained via the dipole-dipole response function (equivalent to the length gauge in linear response). [math]\displaystyle{ \chi(\omega) = \frac{P(\omega)}{E(\omega)} }[/math]


Time Dependent Effective Schrödinger Equation

The second scheme is a Time Dependent Effective Schrödinger Equation(TD-ESE), where the coupling between electrons and the external field is described by means of the Modern Theory of Polarization:


Time-Dependent Schrödinger Equation


Where [math]\displaystyle{ | v_{i \mathbf{k}} \rangle }[/math] are the time-dependent valence bands, [math]\displaystyle{ H_{rt} }[/math] is the Hamiltonian, [math]\displaystyle{ \mathcal E(t) }[/math] is the external field and the term [math]\displaystyle{ i e \partial k }[/math] corresponds to the dipole operator in periodic systems. For more details on this last term see Ref. [3] and [4]. Differently from other codes, the equations of motion of Yambo are in the length gauge and not in the velocity one. If you want to know more about the advantages and disadvantages of the two gauges read section 2.7 of Ref. [5]. The Hamiltonian and the initial wave-functions are obtained from DFT. Then in order to obtain linear response, we probe the system with a delta function field, that excites all the frequencies at the same footing, and Fourier transforms.

The hamiltonian is defined as in the case of the equation of motion for the density matrix. Then the polarization is calculated by means of Berry's phase

Berry's polarization


Advantages and disadvantages of the two formalisms

The reason why in Yambo there are two distinct formalisms for studying the real-time response is due to the fact that these have particular advantages and disadvantages which are therefore suitable for some types of simulations and not others. The dynamics formulation in terms of density matrix or non-equilibrium Green's functions allows a systematic treatment of correlation effects and electron-phonon coupling[6], but the price to pay is that the coupling with the external field is correct only to the linear order. This formalism is important in all those phenomena where electronic relaxation plays a major role. On the other hand, in the TDSE formalism the coupling with the external field in an exact way even beyond the linear regime, and for this reason, it allows the description of phenomena coherent with the strong external fields, like the non-linear response.

Linear Response

In general the induced polarization is the sum of the responses of the system to all orders in the external field: [math]\displaystyle{ \bf{P}(t) = \sum_{n=-\infty}^{+\infty} \bf{P}_n (t) }[/math] If the perturbation is weak enought the response is dominated by the first order term and from its Fourier transform we get the response function. Indeed

[math]\displaystyle{ \chi(\omega) = \frac{P(\omega)}{E(\omega)} }[/math]

that is related to the dielectric constant through the relation [math]\displaystyle{ \epsilon(\omega) = 1 + 4 \pi \chi(\omega) }[/math]. See also Ref. [4]


Non Linear Response

Non-linear response calculations are similar to the linear response case, with the only difference that we excite the system with a sinusoidal external field. A perturbation with a specific frequency allows to expand the polarization in the form [math]\displaystyle{ \bf{P}(t) = \sum_{n=-\infty}^{+\infty} \bf{p}_n e^{-i\omega_n t} }[/math] where the coefficient [math]\displaystyle{ \bf{p}_1,...,\bf{p}_n }[/math] are related to [math]\displaystyle{ \chi^{(1)},...,\chi^{(n)} }[/math]. In practice we use the scheme described in Ref. [4] and show below to extract the non-linear coefficients:

Schematic representation of real-time calculations


References



Prev: Linear response Now: Tutorials --> Linear Response --> Theory Next: Prerequisites