<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.yambo-code.eu/wiki/index.php?action=history&amp;feed=atom&amp;title=GW</id>
	<title>GW - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yambo-code.eu/wiki/index.php?action=history&amp;feed=atom&amp;title=GW"/>
	<link rel="alternate" type="text/html" href="https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;action=history"/>
	<updated>2026-04-11T07:15:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=8594&amp;oldid=prev</id>
		<title>Petru Milev at 13:53, 2 May 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=8594&amp;oldid=prev"/>
		<updated>2025-05-02T13:53:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:53, 2 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this tutorial you will learn the basic concepts of the [http://www.yambo-code.eu/theory/docs/doc_XX.php Hartree-Fock] and of the [http://www.yambo-code.eu/theory/docs/doc_GW.php GW][[[#strinati|6]]] approximations. In particular we will illustrate how to calculate [http://en.wikipedia.org/wiki/Quasiparticle Quasi-Particle] energies with a single shot G&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;W&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; approximation. Different lecture notes on the GW approach are available in the [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;../../theory/lectures.php#GW&lt;/del&gt;|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;quot;Lecture Notes&amp;amp;quot; &lt;/del&gt;section]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this tutorial you will learn the basic concepts of the [http://www.yambo-code.eu/theory/docs/doc_XX.php Hartree-Fock] and of the [http://www.yambo-code.eu/theory/docs/doc_GW.php GW][[[#strinati|6]]] approximations. In particular we will illustrate how to calculate [http://en.wikipedia.org/wiki/Quasiparticle Quasi-Particle] energies with a single shot G&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;W&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; approximation. Different lecture notes on the GW approach are available in the [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Lectures&lt;/ins&gt;|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Lectures &lt;/ins&gt;section]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The tutorial is split in different sections. In the first part we will deal with Hartree-Fock (HF) and the Coulomb-hole and screened-exchange (COHSEX) approximation. Finally in the last section we will discuss dynamical correlation with a Plasmon Pole Approximation (PPA).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The tutorial is split in different sections. In the first part we will deal with Hartree-Fock (HF) and the Coulomb-hole and screened-exchange (COHSEX) approximation. Finally in the last section we will discuss dynamical correlation with a Plasmon Pole Approximation (PPA).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Petru Milev</name></author>
	</entry>
	<entry>
		<id>https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=7654&amp;oldid=prev</id>
		<title>Daniele at 10:29, 23 February 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=7654&amp;oldid=prev"/>
		<updated>2024-02-23T10:29:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:29, 23 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l185&quot;&gt;Line 185:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 185:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Curiosity: What&amp;#039;s happen if the PPA fails? Have a look to the tutorial on the [http://www.yambo-code.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;org&lt;/del&gt;/tutorials/Real_Axis_and_Lifetimes/index.php Real-Axis Integration].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Curiosity: What&amp;#039;s happen if the PPA fails? Have a look to the tutorial on the [http://www.yambo-code.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;eu&lt;/ins&gt;/tutorials/Real_Axis_and_Lifetimes/index.php Real-Axis Integration].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &amp;lt;span id=&amp;quot;5&amp;quot;&amp;gt;References&amp;lt;/span&amp;gt; ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &amp;lt;span id=&amp;quot;5&amp;quot;&amp;gt;References&amp;lt;/span&amp;gt; ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Daniele</name></author>
	</entry>
	<entry>
		<id>https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=7653&amp;oldid=prev</id>
		<title>Daniele at 10:28, 23 February 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=7653&amp;oldid=prev"/>
		<updated>2024-02-23T10:28:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:28, 23 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l100&quot;&gt;Line 100:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 100:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where W&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;=W - V.&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where W&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;=W - V.&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In order to calculate the COHSEX self-energy with yambo you need first the static screened interaction &amp;lt;code&amp;gt;yambo -b -k hartree&amp;lt;/code&amp;gt;. As for the V(&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;) case, also W(&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;,&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;&amp;#039;,E=0) will depend from the number of &amp;#039;&amp;#039;&amp;#039;G&amp;#039;&amp;#039;&amp;#039;-vectors, and the &amp;#039;&amp;#039;&amp;#039;k&amp;#039;&amp;#039;&amp;#039;-grid, but this time also the number of conduction bands &amp;lt;code&amp;gt;XsBndsRn&amp;lt;/code&amp;gt; will enter in the screening calculation through the polarization function, see [http://www.yambo-code.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;org&lt;/del&gt;/theory/docs/doc_Xd.php The Interacting response function: Many-Body and TDDFT] section. Notice however that there are not any additional dependence of the self-energy operator from the conduction bands. After you obtained the screened interaction you are ready to build the self-energy operator and solve the corresponding Dyson equation, have a look to the [http://www.yambo-code.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;org&lt;/del&gt;/theory/docs/doc_GW.php Dyson Equation solvers] in Yambo. In order to get the quasi-particle energies, just do &amp;lt;code&amp;gt;yambo -b -g n -k hartree&amp;lt;/code&amp;gt;. After calculation are completed Yambo will produce an output file &amp;lt;code&amp;gt;o.qp&amp;lt;/code&amp;gt; which contains the values of the bare and re-normalized energy levels.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In order to calculate the COHSEX self-energy with yambo you need first the static screened interaction &amp;lt;code&amp;gt;yambo -b -k hartree&amp;lt;/code&amp;gt;. As for the V(&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;) case, also W(&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;,&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;&amp;#039;,E=0) will depend from the number of &amp;#039;&amp;#039;&amp;#039;G&amp;#039;&amp;#039;&amp;#039;-vectors, and the &amp;#039;&amp;#039;&amp;#039;k&amp;#039;&amp;#039;&amp;#039;-grid, but this time also the number of conduction bands &amp;lt;code&amp;gt;XsBndsRn&amp;lt;/code&amp;gt; will enter in the screening calculation through the polarization function, see [http://www.yambo-code.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;eu&lt;/ins&gt;/theory/docs/doc_Xd.php The Interacting response function: Many-Body and TDDFT] section. Notice however that there are not any additional dependence of the self-energy operator from the conduction bands. After you obtained the screened interaction you are ready to build the self-energy operator and solve the corresponding Dyson equation, have a look to the [http://www.yambo-code.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;eu&lt;/ins&gt;/theory/docs/doc_GW.php Dyson Equation solvers] in Yambo. In order to get the quasi-particle energies, just do &amp;lt;code&amp;gt;yambo -b -g n -k hartree&amp;lt;/code&amp;gt;. After calculation are completed Yambo will produce an output file &amp;lt;code&amp;gt;o.qp&amp;lt;/code&amp;gt; which contains the values of the bare and re-normalized energy levels.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== &amp;lt;span id=&amp;quot;1&amp;quot;&amp;gt;K-points convergence&amp;lt;/span&amp;gt; ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== &amp;lt;span id=&amp;quot;1&amp;quot;&amp;gt;K-points convergence&amp;lt;/span&amp;gt; ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Daniele</name></author>
	</entry>
	<entry>
		<id>https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=7647&amp;oldid=prev</id>
		<title>Daniele at 10:24, 23 February 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=7647&amp;oldid=prev"/>
		<updated>2024-02-23T10:24:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:24, 23 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;by the Yambo Team ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;by the Yambo Team ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[File:../GW0.png|G0W0]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this tutorial you will learn the basic concepts of the [http://www.yambo-code.eu/theory/docs/doc_XX.php Hartree-Fock] and of the [http://www.yambo-code.eu/theory/docs/doc_GW.php GW][[[#strinati|6]]] approximations. In particular we will illustrate how to calculate [http://en.wikipedia.org/wiki/Quasiparticle Quasi-Particle] energies with a single shot G&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;W&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; approximation. Different lecture notes on the GW approach are available in the [[../../theory/lectures.php#GW|&amp;amp;quot;Lecture Notes&amp;amp;quot; section]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this tutorial you will learn the basic concepts of the [http://www.yambo-code.eu/theory/docs/doc_XX.php Hartree-Fock] and of the [http://www.yambo-code.eu/theory/docs/doc_GW.php GW][[[#strinati|6]]] approximations. In particular we will illustrate how to calculate [http://en.wikipedia.org/wiki/Quasiparticle Quasi-Particle] energies with a single shot G&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;W&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; approximation. Different lecture notes on the GW approach are available in the [[../../theory/lectures.php#GW|&amp;amp;quot;Lecture Notes&amp;amp;quot; section]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Daniele</name></author>
	</entry>
	<entry>
		<id>https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=7646&amp;oldid=prev</id>
		<title>Daniele at 10:24, 23 February 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=7646&amp;oldid=prev"/>
		<updated>2024-02-23T10:24:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:24, 23 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:../GW0.png|G0W0]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:../GW0.png|G0W0]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this tutorial you will learn the basic concepts of the [http://www.yambo-code.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;org&lt;/del&gt;/theory/docs/doc_XX.php Hartree-Fock] and of the [http://www.yambo-code.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;org&lt;/del&gt;/theory/docs/doc_GW.php GW][[[#strinati|6]]] approximations. In particular we will illustrate how to calculate [http://en.wikipedia.org/wiki/Quasiparticle Quasi-Particle] energies with a single shot G&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;W&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; approximation. Different lecture notes on the GW approach are available in the [[../../theory/lectures.php#GW|&amp;amp;quot;Lecture Notes&amp;amp;quot; section]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this tutorial you will learn the basic concepts of the [http://www.yambo-code.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;eu&lt;/ins&gt;/theory/docs/doc_XX.php Hartree-Fock] and of the [http://www.yambo-code.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;eu&lt;/ins&gt;/theory/docs/doc_GW.php GW][[[#strinati|6]]] approximations. In particular we will illustrate how to calculate [http://en.wikipedia.org/wiki/Quasiparticle Quasi-Particle] energies with a single shot G&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;W&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; approximation. Different lecture notes on the GW approach are available in the [[../../theory/lectures.php#GW|&amp;amp;quot;Lecture Notes&amp;amp;quot; section]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The tutorial is split in different sections. In the first part we will deal with Hartree-Fock (HF) and the Coulomb-hole and screened-exchange (COHSEX) approximation. Finally in the last section we will discuss dynamical correlation with a Plasmon Pole Approximation (PPA).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The tutorial is split in different sections. In the first part we will deal with Hartree-Fock (HF) and the Coulomb-hole and screened-exchange (COHSEX) approximation. Finally in the last section we will discuss dynamical correlation with a Plasmon Pole Approximation (PPA).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l31&quot;&gt;Line 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &amp;lt;span id=&amp;quot;1&amp;quot;&amp;gt;Hartree-Fock&amp;lt;/span&amp;gt; ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &amp;lt;span id=&amp;quot;1&amp;quot;&amp;gt;Hartree-Fock&amp;lt;/span&amp;gt; ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now we will study the convergence of the [http://en.wikipedia.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;org&lt;/del&gt;/wiki/Hartree%E2%80%93Fock_method Hartree-Fock] self energy, respect to the number of &amp;#039;&amp;#039;&amp;#039;G&amp;#039;&amp;#039;&amp;#039;-vectors and &amp;#039;&amp;#039;&amp;#039;k&amp;#039;&amp;#039;&amp;#039;-points. Yambo is a plane-wave code, therefore all the operators and wave-functions are expanded as:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now we will study the convergence of the [http://en.wikipedia.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;eu&lt;/ins&gt;/wiki/Hartree%E2%80%93Fock_method Hartree-Fock] self energy, respect to the number of &amp;#039;&amp;#039;&amp;#039;G&amp;#039;&amp;#039;&amp;#039;-vectors and &amp;#039;&amp;#039;&amp;#039;k&amp;#039;&amp;#039;&amp;#039;-points. Yambo is a plane-wave code, therefore all the operators and wave-functions are expanded as:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:orbital.png|Orbital in plane wave]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:orbital.png|Orbital in plane wave]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before you start any calculations we can decide how many &amp;#039;&amp;#039;&amp;#039;G&amp;#039;&amp;#039;&amp;#039;-vectors you want use to represent your wave-function. By default Yambo will use all of them, and for the present tutorial this is fine, however if you are studying larger systems you would like to reduce them in order to speed-up calculations, you can do it with &amp;lt;code&amp;gt; yambo -i -V RL&amp;lt;/code&amp;gt; and then changing the variable &amp;lt;code&amp;gt;MaxGvecs&amp;lt;/code&amp;gt; that referees to N&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt; in the previous formula.&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before you start any calculations we can decide how many &amp;#039;&amp;#039;&amp;#039;G&amp;#039;&amp;#039;&amp;#039;-vectors you want use to represent your wave-function. By default Yambo will use all of them, and for the present tutorial this is fine, however if you are studying larger systems you would like to reduce them in order to speed-up calculations, you can do it with &amp;lt;code&amp;gt; yambo -i -V RL&amp;lt;/code&amp;gt; and then changing the variable &amp;lt;code&amp;gt;MaxGvecs&amp;lt;/code&amp;gt; that referees to N&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt; in the previous formula.&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Daniele</name></author>
	</entry>
	<entry>
		<id>https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=166&amp;oldid=prev</id>
		<title>Yambowikiadmin at 22:12, 17 February 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=166&amp;oldid=prev"/>
		<updated>2017-02-17T22:12:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:12, 17 February 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l96&quot;&gt;Line 96:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 96:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:gw_sex.png|Screened Exchange]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:gw_sex.png|Screened Exchange]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:gw_coh.png|Cuolomb Hole]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:gw_coh.png|Cuolomb Hole]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Image:GW_sex.png]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l140&quot;&gt;Line 140:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 141:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now we will proceed to the calculation of the silicon band gap in G&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;W&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; within PPA. In each section you will be asked to perform several calculations varying the value of the relevant variables involved. More specifically let&amp;#039;s consider a typical Yambo input file to calculate GW corrections in the PPA.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now we will proceed to the calculation of the silicon band gap in G&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;W&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; within PPA. In each section you will be asked to perform several calculations varying the value of the relevant variables involved. More specifically let&amp;#039;s consider a typical Yambo input file to calculate GW corrections in the PPA.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt; gw0                          # [R GW] GoWo Quasiparticle energy levels ppa                          # [R Xp] Plasmon Pole Approximation HF_and_locXC                 # [R XX] Hartree-Fock Self-energy and Vxc em1d                         # [R Xd] Dynamical Inverse Dielectric Matrix EXXRLvcs= 7            Ry    # [XX] Exchange RL components % QpntsRXp   1 |  8 |                   # [Xp] Transferred momenta % % BndsRnXp    1 | 30 |                 # [Xp] Polarization function bands % NGsBlkXp= 7            Ry    # [Xp] Response block size % LongDrXp  1.000000 | 0.000000 | 0.000000 |        # [Xp] [cc] Electric Field % PPAPntXp= 27.21138     eV    # [Xp] PPA imaginary energy % GbndRnge    1 |  30 |                 # [GW] G[W] bands range % GDamping=  0.10000     eV    # [GW] G[W] damping dScStep=  0.10000      eV    # [GW] Energy step to evalute Z factors DysSolver= &amp;amp;quot;n&amp;amp;quot;               # [GW] Dyson Equation solver (`n`,`s`,`g`) %QPkrange                    # [GW] QP generalized Kpoint/Band indices   1|  8|  1| 10| % %QPerange                    # [GW] QP generalized Kpoint/Energy indices   1|  8| 0.0|-1.0| %&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;gw0                          # [R GW] GoWo Quasiparticle energy levels  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;ppa                          # [R Xp] Plasmon Pole Approximation  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;HF_and_locXC                 # [R XX] Hartree-Fock Self-energy and Vxc  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;em1d                         # [R Xd] Dynamical Inverse Dielectric Matrix  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;EXXRLvcs= 7            Ry    # [XX] Exchange RL components  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;% QpntsRXp   1 |  8 |                   # [Xp] Transferred momenta  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;% % BndsRnXp    1 | 30 |                 # [Xp] Polarization function bands %  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NGsBlkXp= 7            Ry    # [Xp] Response block size  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;% LongDrXp  1.000000 | 0.000000 | 0.000000 |        # [Xp] [cc] Electric Field  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;% PPAPntXp= 27.21138     eV    # [Xp] PPA imaginary energy  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;% GbndRnge    1 |  30 |                 # [GW] G[W] bands range %  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;GDamping=  0.10000     eV    # [GW] G[W] damping  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;dScStep=  0.10000      eV    # [GW] Energy step to evalute Z factors  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;DysSolver= &amp;amp;quot;n&amp;amp;quot;               # [GW] Dyson Equation solver (`n`,`s`,`g`)  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;%QPkrange                    # [GW] QP generalized Kpoint/Band indices    &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;1|  8|  1| 10| % %QPerange                    # [GW] QP generalized Kpoint/Energy indices    &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;1|  8| 0.0|-1.0| %&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The variables are the same of the COHSEX case plus a new one &amp;lt;code&amp;gt;PPAPntXp&amp;lt;/code&amp;gt; that describes the imaginary energy used to fit the Plasmon Pole model.&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The variables are the same of the COHSEX case plus a new one &amp;lt;code&amp;gt;PPAPntXp&amp;lt;/code&amp;gt; that describes the imaginary energy used to fit the Plasmon Pole model.&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Follow the same strategy of the COHSEX case. Enter each k-point folder and type:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Follow the same strategy of the COHSEX case. Enter each k-point folder and type:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Yambowikiadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=156&amp;oldid=prev</id>
		<title>Yambowikiadmin: Created page with &quot;=== Basic concepts of the GW approximation&lt;br /&gt; by the Yambo Team ===  G0W0 In this tutorial you will learn the basic concepts of the [http://www.yambo-co...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.yambo-code.eu/wiki/index.php?title=GW&amp;diff=156&amp;oldid=prev"/>
		<updated>2017-02-17T21:17:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== Basic concepts of the GW approximation&amp;lt;br /&amp;gt; by the Yambo Team ===  [[File:../GW0.png|G0W0]] In this tutorial you will learn the basic concepts of the [http://www.yambo-co...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Basic concepts of the GW approximation&amp;lt;br /&amp;gt;&lt;br /&gt;
by the Yambo Team ===&lt;br /&gt;
&lt;br /&gt;
[[File:../GW0.png|G0W0]]&lt;br /&gt;
In this tutorial you will learn the basic concepts of the [http://www.yambo-code.org/theory/docs/doc_XX.php Hartree-Fock] and of the [http://www.yambo-code.org/theory/docs/doc_GW.php GW][[[#strinati|6]]] approximations. In particular we will illustrate how to calculate [http://en.wikipedia.org/wiki/Quasiparticle Quasi-Particle] energies with a single shot G&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;W&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; approximation. Different lecture notes on the GW approach are available in the [[../../theory/lectures.php#GW|&amp;amp;quot;Lecture Notes&amp;amp;quot; section]].&lt;br /&gt;
&lt;br /&gt;
The tutorial is split in different sections. In the first part we will deal with Hartree-Fock (HF) and the Coulomb-hole and screened-exchange (COHSEX) approximation. Finally in the last section we will discuss dynamical correlation with a Plasmon Pole Approximation (PPA).&lt;br /&gt;
&lt;br /&gt;
=== The material: Silicon ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|width=&amp;quot;50%&amp;quot;|&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Bulk Silicon&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* [http://cst-www.nrl.navy.mil/lattice/struk/a1.html FCC] lattice&lt;br /&gt;
* Two atoms per cell (8 electrons)&lt;br /&gt;
* Lattice constant 10.183 [a.u.]&lt;br /&gt;
* Plane waves cutoff 15 Rydberg&lt;br /&gt;
|width=&amp;quot;50%&amp;quot;| [[File:si_banddiagram.gif|Silicon Band Structure]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== The Tutorial structure ===&lt;br /&gt;
&lt;br /&gt;
Once the tutorial zip file is unzipped the following folder structure will appear&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; COPYING  README  Solid_Si/&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
with the Solid_Si folder containing&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt; &amp;amp;gt;ls Solid_Si/ Pwscf/  YAMBO/&amp;lt;/code&amp;gt;&lt;br /&gt;
* In the Pwscf folder information on the ground state generation are provided. In particular the student will find an input/output directory with input/output files for pw.x. Also a psp folder is provided with the silicon pseudo files.&lt;br /&gt;
* The YAMBO folder contains the Yambo input/output files and core databases.&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span id=&amp;quot;1&amp;quot;&amp;gt;Hartree-Fock&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Now we will study the convergence of the [http://en.wikipedia.org/wiki/Hartree%E2%80%93Fock_method Hartree-Fock] self energy, respect to the number of &amp;#039;&amp;#039;&amp;#039;G&amp;#039;&amp;#039;&amp;#039;-vectors and &amp;#039;&amp;#039;&amp;#039;k&amp;#039;&amp;#039;&amp;#039;-points. Yambo is a plane-wave code, therefore all the operators and wave-functions are expanded as:&lt;br /&gt;
[[File:orbital.png|Orbital in plane wave]]&lt;br /&gt;
Before you start any calculations we can decide how many &amp;#039;&amp;#039;&amp;#039;G&amp;#039;&amp;#039;&amp;#039;-vectors you want use to represent your wave-function. By default Yambo will use all of them, and for the present tutorial this is fine, however if you are studying larger systems you would like to reduce them in order to speed-up calculations, you can do it with &amp;lt;code&amp;gt; yambo -i -V RL&amp;lt;/code&amp;gt; and then changing the variable &amp;lt;code&amp;gt;MaxGvecs&amp;lt;/code&amp;gt; that referees to N&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt; in the previous formula.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will proceed in the calculation of the [http://en.wikipedia.org/wiki/Hartree%E2%80%93Fock_method Hartree-Fock(HF)] exchange. This is composed of two terms, that Hartree and the Fock (or exchange) one:&lt;br /&gt;
&lt;br /&gt;
[[File:hf.png|Hartree Fock]]&lt;br /&gt;
In this tutorial we will calculate only the first order correction to the Kohn-Sham Hamiltonian due to the exchange term. Because of we are working in periodic system, the most appropriate basis to represent the Coulomb potential, appearing in the Fock term, is a plane-wave basis:&lt;br /&gt;
&lt;br /&gt;
[[File:v_q_plus_G.png|Coulomb potential in plane wave]]&lt;br /&gt;
In order to generate the input file for the exchange type &amp;lt;code&amp;gt;yambo -x&amp;lt;/code&amp;gt;. The variable that governs the number of &amp;#039;&amp;#039;&amp;#039;G&amp;#039;&amp;#039;&amp;#039; vectors N&amp;lt;sub&amp;gt;ex&amp;lt;/sub&amp;gt; in the Coulomb potential is &amp;lt;code&amp;gt;EXXRLvcs&amp;lt;/code&amp;gt;. In addition notice that in the previous formula for V(&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;-&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;&amp;#039;) we have an integral on the &amp;#039;&amp;#039;&amp;#039;q&amp;#039;&amp;#039;&amp;#039; vector, that in the code is discretized on a regular &amp;#039;&amp;#039;&amp;#039;q&amp;#039;&amp;#039;&amp;#039;-grid generated from the &amp;#039;&amp;#039;&amp;#039;k&amp;#039;&amp;#039;&amp;#039;-point one, &amp;#039;&amp;#039;&amp;#039;q&amp;#039;&amp;#039;&amp;#039;=&amp;#039;&amp;#039;&amp;#039;k&amp;#039;&amp;#039;&amp;#039;-&amp;#039;&amp;#039;&amp;#039;k&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== &amp;lt;span id=&amp;quot;1&amp;quot;&amp;gt;K-points convergence&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
Enter the YAMBO folder&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; &amp;amp;gt;cd YAMBO/ &amp;amp;gt;ls Convergence_Plots  2x2x2 4x4x4  6x6x6 8x8x8 Gamma&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enter each grid folder and run &amp;lt;code&amp;gt;&amp;amp;gt;yambo&amp;lt;/code&amp;gt; without options. Then type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt; &amp;amp;gt;yambo -x -F INPUTS/01HF_corrections&amp;lt;/code&amp;gt;&lt;br /&gt;
and edit the 01HF_corrections file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; HF_and_locXC                 # [R XX] Hartree-Fock Self-energy and Vxc EXXRLvcs= 7           Ry    # [XX] Exchange RL components %QPkrange                    # [GW] QP generalized Kpoint/Band indices   1|  8|  1| 15| % %QPerange                    # [GW] QP generalized Kpoint/Energy indices   1|  8| 0.0|-1.0| %&amp;lt;/code&amp;gt;&lt;br /&gt;
setting&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; EXXRLvcs=7 Ry&amp;lt;/code&amp;gt;&lt;br /&gt;
Then run in each k-point folder&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; &amp;amp;gt;yambo -F INPUTS/01HF_corrections -J HF_7Ry&amp;lt;/code&amp;gt;&lt;br /&gt;
Note that after the each run Yambo produces three output file, one starting with &amp;lt;code&amp;gt;r_...&amp;lt;/code&amp;gt; , another with &amp;lt;code&amp;gt;l_...&amp;lt;/code&amp;gt; and a third one starting with &amp;lt;code&amp;gt;o_...&amp;lt;/code&amp;gt;. The first one is a &amp;#039;&amp;#039;report&amp;#039;&amp;#039; of the actual calculation with all the details of the system, input, and results, while the second is a &amp;#039;&amp;#039;log&amp;#039;&amp;#039; with the running time of each process.&lt;br /&gt;
&lt;br /&gt;
The file we are most interested in is the output file, &amp;lt;code&amp;gt;o-HF_7Ry.hf&amp;lt;/code&amp;gt;. This file contains several columns. The fourth, labelled with &amp;lt;code&amp;gt;Ehf&amp;lt;/code&amp;gt; represents the Hartree-Fock energy. This is the quantitu we have to look at.&lt;br /&gt;
&lt;br /&gt;
==== &amp;lt;span id=&amp;quot;1&amp;quot;&amp;gt;G-vectors convergence&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
Enter the &amp;lt;code&amp;gt;4x4x4&amp;lt;/code&amp;gt; folder and edit the &amp;lt;code&amp;gt;01HF_corrections&amp;lt;/code&amp;gt; file changing the field &amp;lt;code&amp;gt;EXXRLvcs=&amp;lt;/code&amp;gt;3,6,7 and 15 Ry. For each case run&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; &amp;amp;gt;yambo -F INPUTS/01HF_corrections -J HF_???Ry&amp;lt;/code&amp;gt;&lt;br /&gt;
with &amp;lt;code&amp;gt;???&amp;lt;/code&amp;gt;=3,6,7 and 15&lt;br /&gt;
&lt;br /&gt;
The results of this series of calculations are summarized in the following plots. Note the rapid convergence with the number of k-points.&lt;br /&gt;
&lt;br /&gt;
To obtain the plots of the following graphs just plot the columns &amp;lt;code&amp;gt;#4-#3&amp;lt;/code&amp;gt; versus &amp;lt;code&amp;gt;#3&amp;lt;/code&amp;gt; of the &amp;lt;code&amp;gt;o.hf&amp;lt;/code&amp;gt; files.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:HF_parameters.png|Convergence Hartree-Fock calculations]]&lt;br /&gt;
| [[File:HF_gap.png|Convergence Hartree-Fock gap silicon]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span id=&amp;quot;2&amp;quot;&amp;gt;COHSEX without empty bands&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The Hartree-Fock self-energy just described in the previous section, although successful on some molecular systems, miserably fails in extended systems. The reason of this failure lies in the fact that electrons can screen the Coulomb potential, and therefore one electron feels a screened potential instead of the bare one. A common approximation for this screened potential is the so-called Random Phase Approximation:&lt;br /&gt;
&lt;br /&gt;
[[File:gw.png|Hartree Fock]]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the bare Coulomb potential V(&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;) is replaced by a non-local and frequency dependent one W(&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;,&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;&amp;#039;,ω). Subsequently it is possible to redefine all the perturbation theory in term of this screened potential, and disregarding the additional corrections coming from the vertex part, one obtains the so-called [http://localhost/yambo_web_page/theory/lectures.php#GW GW] approximation.&lt;br /&gt;
&lt;br /&gt;
However the substantial complexity associated with calculating the non-local, energy dependent Σ=GW operator inspired early efforts to find simplifying approximations as the static COHSEX approximation prosed by Hedin[[[#hedin|4]]]. The Coulomb Hole plus Screened Exchange (COHSEX) approximation[[[#march|2]],[[#fardi|3]]] eliminates the summation over empty states for the self energy operator and has the added benefit of being a static operator, a particular simplification for self consistent calculations. With the COHSEX approximation the self-energy is composed of two parts:&lt;br /&gt;
&lt;br /&gt;
[[File:gw_sex.png|Screened Exchange]]&lt;br /&gt;
[[File:gw_coh.png|Cuolomb Hole]]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where W&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;=W - V.&amp;lt;br /&amp;gt;&lt;br /&gt;
In order to calculate the COHSEX self-energy with yambo you need first the static screened interaction &amp;lt;code&amp;gt;yambo -b -k hartree&amp;lt;/code&amp;gt;. As for the V(&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;) case, also W(&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;,&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;&amp;#039;,E=0) will depend from the number of &amp;#039;&amp;#039;&amp;#039;G&amp;#039;&amp;#039;&amp;#039;-vectors, and the &amp;#039;&amp;#039;&amp;#039;k&amp;#039;&amp;#039;&amp;#039;-grid, but this time also the number of conduction bands &amp;lt;code&amp;gt;XsBndsRn&amp;lt;/code&amp;gt; will enter in the screening calculation through the polarization function, see [http://www.yambo-code.org/theory/docs/doc_Xd.php The Interacting response function: Many-Body and TDDFT] section. Notice however that there are not any additional dependence of the self-energy operator from the conduction bands. After you obtained the screened interaction you are ready to build the self-energy operator and solve the corresponding Dyson equation, have a look to the [http://www.yambo-code.org/theory/docs/doc_GW.php Dyson Equation solvers] in Yambo. In order to get the quasi-particle energies, just do &amp;lt;code&amp;gt;yambo -b -g n -k hartree&amp;lt;/code&amp;gt;. After calculation are completed Yambo will produce an output file &amp;lt;code&amp;gt;o.qp&amp;lt;/code&amp;gt; which contains the values of the bare and re-normalized energy levels.&lt;br /&gt;
&lt;br /&gt;
==== &amp;lt;span id=&amp;quot;1&amp;quot;&amp;gt;K-points convergence&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
Follow the same strategy of the HF case. Enter each k-point folder and type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; &amp;amp;gt; yambo -b -k hartree -g n -p c -F INPUTS/02Cohsex&amp;lt;/code&amp;gt;&lt;br /&gt;
edit the input file and change the values of the fields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; EXXRLvcs=7 Ry %BndsRnXs   1 | 10  |                   # [Xs] Polarization function bands % NGsBlkXs= 1            RL    # [Xs] Response block size #UseEbands                   # [GW] Force COHSEX to use empty bands %QPkrange                    # [GW] QP generalized Kpoint/Band indices  1|  8|  1| 10| %&amp;lt;/code&amp;gt;&lt;br /&gt;
leaving the other parameters unchanged. Now, in each k-point folder, run&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; &amp;amp;gt;yambo -F INPUTS/02Cohsex -J Cohsex_HF7Ry_X0Ry-nb10&amp;lt;/code&amp;gt;&lt;br /&gt;
==== &amp;lt;span id=&amp;quot;1&amp;quot;&amp;gt;W size convergence&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
Enter the &amp;lt;code&amp;gt;4x4x4&amp;lt;/code&amp;gt; folder and edit the &amp;lt;code&amp;gt;02Cohsex_corrections&amp;lt;/code&amp;gt; file changing the field &amp;lt;code&amp;gt;NGsBlkXs=&amp;lt;/code&amp;gt;3,6,7 Ry. Run&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; &amp;amp;gt;yambo -F INPUTS/02Cohsex -J Cohsex_HF7Ry_X???Ry-nb10 &amp;lt;/code&amp;gt;&lt;br /&gt;
with &amp;lt;code&amp;gt;???&amp;lt;/code&amp;gt;=3,6,7 and 15&lt;br /&gt;
&lt;br /&gt;
==== &amp;lt;span id=&amp;quot;1&amp;quot;&amp;gt;W bands&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
Open your input file and change only the input variable &amp;lt;code&amp;gt;NGsBlkXs=1 Ry. Then change&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt; %BndsRnXs   1 | 20  |        # [Xs] Polarization function bands %&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and run &amp;lt;code&amp;gt;yambo -F INPUTS/02Cohsex -J Cohsex_HF7Ry_X1Ry-nb20&amp;lt;/code&amp;gt;. Repeat the calculations using 30 and 40 bands changing &amp;lt;code&amp;gt;nb???&amp;lt;/code&amp;gt; in the job string identifier. Finally check how the Chosex Direct and Indirect band gap behave as a function of the number of bands in the screening.&lt;br /&gt;
&lt;br /&gt;
==== &amp;lt;span id=&amp;quot;4&amp;quot;&amp;gt;COHSEX with empty bands&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
While the Screened Exchange(SEX) part of the COHSEX self-energy has a structure similar to the Hartree-Fock exchange term, the Coulomb Hole(COH) acts as static external potential on the electrons. In the COH part the delta function δ(&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;-&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;&amp;#039;) comes from the completeness relation:&lt;br /&gt;
&lt;br /&gt;
[[File:completeness.png|Completeness relation]]&lt;br /&gt;
Now we avoid the use of this relation in such a way to have a self-energy that depends from the conduction bands too. This can be done uncommenting flags &amp;lt;code&amp;gt;UseEbands&amp;lt;/code&amp;gt; and setting the number of bands in the Green&amp;#039;s function: &amp;lt;code&amp;gt; % GbndRnge   1 | 10 |                   # [GW] G[W] bands range %&amp;lt;/code&amp;gt; Repeat the previous calculations with different &amp;lt;code&amp;gt;GbndRnge&amp;lt;/code&amp;gt; for instance, 10 20 30 40, and check how the COHSEX direct and indirect band gap behave as a function of the number of bands in the Green&amp;#039;s function.&amp;lt;br /&amp;gt;&lt;br /&gt;
Recently an enhanced version of the COHSEX approximation has been proposed, if you want learn more have a look to the reference[[[#hybertsen|4]]].&lt;br /&gt;
&lt;br /&gt;
[[File:Cohsex_gap.png|COHSEX convergence]]&lt;br /&gt;
=== &amp;lt;span id=&amp;quot;4&amp;quot;&amp;gt;The plasmon pole approximation&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Even the static COHSEX approximation is very appealing, it was clear from the first calculation that dynamical effects cannot be disregarded in solids[[[#strinati|6]]]. This fact motivated the research for approximated way to deal with a frequency dependent interaction, and one of the first proposal was the so-called [[../../theory/docs/doc_Xp.php|Plasmon-Pole Approximation (PPA)]] (see ref. [[[#godby|7]]]).&lt;br /&gt;
&lt;br /&gt;
Now we will proceed to the calculation of the silicon band gap in G&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;W&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; within PPA. In each section you will be asked to perform several calculations varying the value of the relevant variables involved. More specifically let&amp;#039;s consider a typical Yambo input file to calculate GW corrections in the PPA.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; gw0                          # [R GW] GoWo Quasiparticle energy levels ppa                          # [R Xp] Plasmon Pole Approximation HF_and_locXC                 # [R XX] Hartree-Fock Self-energy and Vxc em1d                         # [R Xd] Dynamical Inverse Dielectric Matrix EXXRLvcs= 7            Ry    # [XX] Exchange RL components % QpntsRXp   1 |  8 |                   # [Xp] Transferred momenta % % BndsRnXp    1 | 30 |                 # [Xp] Polarization function bands % NGsBlkXp= 7            Ry    # [Xp] Response block size % LongDrXp  1.000000 | 0.000000 | 0.000000 |        # [Xp] [cc] Electric Field % PPAPntXp= 27.21138     eV    # [Xp] PPA imaginary energy % GbndRnge    1 |  30 |                 # [GW] G[W] bands range % GDamping=  0.10000     eV    # [GW] G[W] damping dScStep=  0.10000      eV    # [GW] Energy step to evalute Z factors DysSolver= &amp;amp;quot;n&amp;amp;quot;               # [GW] Dyson Equation solver (`n`,`s`,`g`) %QPkrange                    # [GW] QP generalized Kpoint/Band indices   1|  8|  1| 10| % %QPerange                    # [GW] QP generalized Kpoint/Energy indices   1|  8| 0.0|-1.0| %&amp;lt;/code&amp;gt;&lt;br /&gt;
The variables are the same of the COHSEX case plus a new one &amp;lt;code&amp;gt;PPAPntXp&amp;lt;/code&amp;gt; that describes the imaginary energy used to fit the Plasmon Pole model.&amp;lt;br /&amp;gt;&lt;br /&gt;
Follow the same strategy of the COHSEX case. Enter each k-point folder and type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;  yambo -d -k hartree -g n -p p -F INPUTS/03GoWo_PPA_corrections&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
otherwise you can use the existent file &amp;lt;code&amp;gt;Input/03GoWo_PPA_corrections&amp;lt;/code&amp;gt;. Now you have to study the convergence of the G&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;W&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; gap versus the number of k-points, the number of bands in χ &amp;lt;code&amp;gt;BndsRnXs&amp;lt;/code&amp;gt;, the size of the dielectric constant &amp;lt;code&amp;gt;NGsBlkXs&amp;lt;/code&amp;gt; and the number of bands in the Green&amp;#039;s function &amp;lt;code&amp;gt;GbndRnge&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Please follow the same strategy of the COHSEX case running yambo using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; yambo -F INPUTS/03GoWo_PPA_corrections -J GoWo_PPA_HF7Ry_X???Ry-nb???_nb???&amp;lt;/code&amp;gt;&lt;br /&gt;
The final convergence plots should look like these.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:GoWo_PPA_parameters.png|G0W0 Convergence]]&lt;br /&gt;
| [[File:GoWo_PPA_gap.png|G0W0 silicon gap]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Final runs!! Now you know how to converge a G&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;W&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; calculation so you can decide which are the parameters needed for full convergence. First do a COHSEX and then a GoWo (PPA) run at convergence, and you should obtain results similar to the following graph:&lt;br /&gt;
&lt;br /&gt;
[[File:Si_gap.png|Final Gap Silicon]]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Curiosity: What&amp;#039;s happen if the PPA fails? Have a look to the tutorial on the [http://www.yambo-code.org/tutorials/Real_Axis_and_Lifetimes/index.php Real-Axis Integration].&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span id=&amp;quot;5&amp;quot;&amp;gt;References&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;span id=&amp;quot;wikipedia&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;[http://en.wikipedia.org/wiki/Silicon Silicon on wikipedia].&lt;br /&gt;
# &amp;lt;span id=&amp;quot;march&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;[http://www.amazon.com/Electron-Correlation-Solid-State-Norman/dp/1860942008 Electron Correlation in the Solid State], Norman H. March (1999).&lt;br /&gt;
# &amp;lt;span id=&amp;quot;farid&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;[http://prb.aps.org/abstract/PRB/v38/i11/p7530_1 GW approach to the calculation of electron self-energies in semiconductors], B. Farid et al., Phys. Rev. B &amp;#039;&amp;#039;&amp;#039;38&amp;#039;&amp;#039;&amp;#039;, 7530 (1988).&lt;br /&gt;
# &amp;lt;span id=&amp;quot;hedin&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;[http://prola.aps.org/abstract/PR/v139/i3A/pA796_1 New Method for Calculating the One-Particle Green&amp;#039;s Function with Application to the Electron-Gas Problem] L. Hedin, Phys. Rev. &amp;#039;&amp;#039;&amp;#039;139&amp;#039;&amp;#039;&amp;#039;, A796 (1965).&lt;br /&gt;
# &amp;lt;span id=&amp;quot;hybertsen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;[http://arxiv.org/abs/1008.4320 Enhanced Static Approximation to the Electron Self-Energy Operator for Efficient Calculation of Quasiparticle Energies], Wei Kang, Mark S. Hybertsen, Phys. Rev. B &amp;#039;&amp;#039;&amp;#039;82&amp;#039;&amp;#039;&amp;#039;, 195108 (2010).&lt;br /&gt;
# &amp;lt;span id=&amp;quot;strinati&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;[http://prl.aps.org/abstract/PRL/v45/i4/p290_1 Dynamical Correlation Effects on the Quasiparticle Bloch States of a Covalent Crystal], G. Strinati, H. J. Mattausch, and W. Hanke , Phys. Rev. Lett. &amp;#039;&amp;#039;&amp;#039;45&amp;#039;&amp;#039;&amp;#039;, 290 (1980).&lt;br /&gt;
# &amp;lt;span id=&amp;quot;godby&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;[http://www-users.york.ac.uk/~rwg3/Papers/Paper_34.pdf Space-time method for ab initio calculations of self-energies and dielectric response functions of solids], H. N. Rojas, R. W. Godby, and R. J. Needs, Phys. Rev. Lett. &amp;#039;&amp;#039;&amp;#039;74&amp;#039;&amp;#039;&amp;#039;, 1827 (1995) .&lt;/div&gt;</summary>
		<author><name>Yambowikiadmin</name></author>
	</entry>
</feed>