File: dhf.html

package info (click to toggle)
bagel 1.2.2-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 134,940 kB
  • sloc: cpp: 1,236,571; javascript: 15,383; python: 1,461; ansic: 674; makefile: 253; sh: 109
file content (284 lines) | stat: -rw-r--r-- 16,535 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Dirac–Hartree–Fock &#8212; BAGEL Manual</title>
    <link rel="stylesheet" href="../_static/override.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="Configuration interaction" href="../ci/ci_methods.html" />
    <link rel="prev" title="Hartree–Fock" href="hf.html" /> 
  </head><body>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../ci/ci_methods.html" title="Configuration interaction"
             accesskey="N">next</a></li>
        <li class="right" >
          <a href="hf.html" title="Hartree–Fock"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="../index.html">BAGEL Manual</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="../user-manual.html" ><strong>BAGEL user manual</strong></a> &#187;</li>
          <li class="nav-item nav-item-2"><a href="scf.html" accesskey="U">Self-consistent field</a> &#187;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="dirac-hartree-fock">
<span id="dhf"></span><h1>Dirac–Hartree–Fock<a class="headerlink" href="#dirac-hartree-fock" title="Permalink to this headline">¶</a></h1>
<div class="section" id="description">
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
<p>The Dirac–Hartree–Fock method performs a self-consistent field orbital optimization and energy calculation within a four-component relativistic framework.
The Dirac–Coulomb, Dirac–Coulomb–Gaunt, or full Dirac–Coulomb–Breit Hamiltonian can be used.
Density fitting is used for the two-electron integrals, and 2-spinor basis functions are generated using restricted kinetic balance (RKB).
External magnetic fields can be applied, in which case the spinor basis functions are generated using restricted magnetic balance (RMB) instead.</p>
<p><strong>Dirac–Hartree–Fock (DHF) should not be run with an odd number of electrons</strong> in the absence of an external magnetic field, due to the Kramers degeneracy.
For open-shell molecules, it is recommended to run relativistic complete active space self-consistent field (ZCASSCF).
Dirac HF can be used to generate guess orbitals by increasing the molecular charge to remove unpaired electrons.</p>
<p>Calculations using DHF can be done using the keyword <code class="docutils literal notranslate"><span class="pre">&quot;title&quot;</span> <span class="pre">:</span> <span class="pre">&quot;dhf&quot;</span></code>.</p>
</div>
<div class="section" id="keywords">
<h2>Keywords<a class="headerlink" href="#keywords" title="Permalink to this headline">¶</a></h2>
<p>The default values are recommended unless mentioned otherwise.</p>
<div class="topic">
<p class="topic-title first"><code class="docutils literal notranslate"><span class="pre">gaunt</span></code></p>
<div class="line-block">
<div class="line"><strong>Description</strong>: Turns on the Gaunt interaction in the Hamiltonian.</div>
<div class="line"><strong>Datatype</strong>: bool</div>
<div class="line"><strong>Default</strong>: false</div>
</div>
</div>
<div class="topic">
<p class="topic-title first"><code class="docutils literal notranslate"><span class="pre">breit</span></code></p>
<div class="line-block">
<div class="line"><strong>Description</strong>: Turns on the full Breit interaction in the Hamiltonian.</div>
<div class="line"><strong>Datatype</strong>: bool</div>
<div class="line"><strong>Default</strong>: value copied from “gaunt” (if gaunt is true, breit is true)</div>
<div class="line"><strong>Recommendation</strong>: Usually the Breit contribution is not important for molecular properties.</div>
</div>
</div>
<div class="topic">
<p class="topic-title first"><code class="docutils literal notranslate"><span class="pre">robust</span></code></p>
<div class="line-block">
<div class="line"><strong>Description</strong>:  Determines whether or not to explicitly symmetrize the exchange matrix for numerical stability.</div>
<div class="line"><strong>Datatype</strong>: bool</div>
<div class="line"><strong>Default</strong>: false</div>
</div>
</div>
<div class="topic">
<p class="topic-title first"><code class="docutils literal notranslate"><span class="pre">maxiter</span> <span class="pre">(or</span> <span class="pre">maxiter_scf)</span></code></p>
<div class="line-block">
<div class="line"><strong>Description</strong>:  Maximum number of iterations, after which the program will terminate if convergence is not reached.</div>
<div class="line"><strong>Datatype</strong>: int</div>
<div class="line"><strong>Default</strong>: 100</div>
</div>
</div>
<div class="topic">
<p class="topic-title first"><code class="docutils literal notranslate"><span class="pre">conv_ignore</span></code></p>
<div class="line-block">
<div class="line"><strong>Description:</strong>  If set to “true,” BAGEL will continue running even if the maximum iterations is reached without convergence.</div>
<div class="line"><strong>Datatype:</strong> bool</div>
<div class="line"><strong>Default:</strong> false.</div>
</div>
</div>
<div class="topic">
<p class="topic-title first"><code class="docutils literal notranslate"><span class="pre">diis_start</span></code></p>
<div class="line-block">
<div class="line"><strong>Description</strong>:  After the specified iteration, we will begin using the DIIS algorithm the accelerate the convergence.</div>
<div class="line"><strong>Datatype</strong>: int</div>
<div class="line"><strong>Default</strong>: 1</div>
</div>
</div>
<div class="topic">
<p class="topic-title first"><code class="docutils literal notranslate"><span class="pre">thresh</span> <span class="pre">(or</span> <span class="pre">thresh_scf)</span></code></p>
<div class="line-block">
<div class="line"><strong>Description</strong>:  Convergence threshold for the root mean square of the error vector.</div>
<div class="line"><strong>Datatype</strong>: double</div>
<div class="line"><strong>Default</strong>: 1.0e-8</div>
</div>
</div>
<div class="topic">
<p class="topic-title first"><code class="docutils literal notranslate"><span class="pre">thresh_overlap</span></code></p>
<div class="line-block">
<div class="line"><strong>Description</strong>:  Overlap threshold used to identify linear dependancy in the atomic basis set.</div>
<div class="line"><strong>Datatype</strong>: double</div>
<div class="line"><strong>Default</strong>: 1.0e-8</div>
</div>
</div>
<div class="topic">
<p class="topic-title first"><code class="docutils literal notranslate"><span class="pre">charge</span></code></p>
<div class="line-block">
<div class="line"><strong>Description</strong>:  Molecular charge.</div>
<div class="line"><strong>Datatype</strong>: int</div>
<div class="line"><strong>Default</strong>: 0</div>
</div>
</div>
<div class="topic">
<p class="topic-title first"><code class="docutils literal notranslate"><span class="pre">pop</span></code></p>
<div class="line-block">
<div class="line"><strong>Description</strong>:  If set to true, population analysis of the molecular orbitals will be printed to a file named dhf.log.</div>
<div class="line"><strong>Datatype</strong>: bool</div>
<div class="line"><strong>Default</strong>: false</div>
</div>
</div>
</div>
<div class="section" id="example">
<h2>Example<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
<div class="highlight-javascript notranslate"><div class="highlight"><pre><span></span><span class="p">{</span> <span class="s2">&quot;bagel&quot;</span> <span class="o">:</span> <span class="p">[</span>

<span class="p">{</span>
  <span class="s2">&quot;title&quot;</span> <span class="o">:</span> <span class="s2">&quot;molecule&quot;</span><span class="p">,</span>
  <span class="s2">&quot;basis&quot;</span> <span class="o">:</span> <span class="s2">&quot;svp&quot;</span><span class="p">,</span>
  <span class="s2">&quot;df_basis&quot;</span> <span class="o">:</span> <span class="s2">&quot;svp-jkfit&quot;</span><span class="p">,</span>
  <span class="s2">&quot;angstrom&quot;</span> <span class="o">:</span> <span class="s2">&quot;false&quot;</span><span class="p">,</span>
  <span class="s2">&quot;geometry&quot;</span> <span class="o">:</span> <span class="p">[</span>
    <span class="p">{</span> <span class="s2">&quot;atom&quot;</span> <span class="o">:</span> <span class="s2">&quot;F&quot;</span><span class="p">,</span>  <span class="s2">&quot;xyz&quot;</span> <span class="o">:</span> <span class="p">[</span> <span class="o">-</span><span class="mf">0.000000</span><span class="p">,</span>     <span class="o">-</span><span class="mf">0.000000</span><span class="p">,</span>      <span class="mf">2.720616</span><span class="p">]},</span>
    <span class="p">{</span> <span class="s2">&quot;atom&quot;</span> <span class="o">:</span> <span class="s2">&quot;H&quot;</span><span class="p">,</span>  <span class="s2">&quot;xyz&quot;</span> <span class="o">:</span> <span class="p">[</span> <span class="o">-</span><span class="mf">0.000000</span><span class="p">,</span>     <span class="o">-</span><span class="mf">0.000000</span><span class="p">,</span>      <span class="mf">0.305956</span><span class="p">]}</span>
  <span class="p">]</span>
<span class="p">},</span>

<span class="p">{</span>
  <span class="s2">&quot;title&quot;</span> <span class="o">:</span> <span class="s2">&quot;hf&quot;</span>
<span class="p">},</span>

<span class="p">{</span>
  <span class="s2">&quot;title&quot;</span> <span class="o">:</span> <span class="s2">&quot;dhf&quot;</span><span class="p">,</span>
  <span class="s2">&quot;gaunt&quot;</span> <span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
  <span class="s2">&quot;breit&quot;</span> <span class="o">:</span> <span class="kc">true</span>
<span class="p">}</span>

<span class="p">]}</span>
</pre></div>
</div>
<p>The non-relativistic SCF calculation converges in 13 iterations to <span class="math notranslate nohighlight">\(-99.84772354\)</span>, and the Dirac HF converges after 9 iterations
to <span class="math notranslate nohighlight">\(-99.92755305\)</span>.</p>
</div>
<div class="section" id="references">
<h2>References<a class="headerlink" href="#references" title="Permalink to this headline">¶</a></h2>
<div class="section" id="bagel-references">
<h3>BAGEL references<a class="headerlink" href="#bagel-references" title="Permalink to this headline">¶</a></h3>
<table border="1" class="docutils">
<colgroup>
<col width="37%" />
<col width="63%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Description of Reference</th>
<th class="head">Reference</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>Density fitted Dirac–Hartree–Fock method</td>
<td>M. S. Kelley and T. Shiozaki, J. Chem. Phys. <strong>138</strong>, 204113 (2013).</td>
</tr>
<tr class="row-odd"><td>GIAO extension</td>
<td>R. D. Reynolds and T. Shiozaki, Phys. Chem. Chem. Phys. <strong>17</strong>, 14280 (2015).</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="general-references">
<h3>General references<a class="headerlink" href="#general-references" title="Permalink to this headline">¶</a></h3>
<table border="1" class="docutils">
<colgroup>
<col width="40%" />
<col width="60%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Description of Reference</th>
<th class="head">Reference</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>General text on relativistic electronic
structure, including Dirac–Hartree–Fock.</td>
<td>M. Reiher and A. Wolf, <em>Relativistic Quantum Chemistry</em> (Wiley-VCH,
Weinheim, 2009).</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
<h3><a href="../index.html">Table Of Contents</a></h3>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="../user-manual.html"><strong>BAGEL user manual</strong></a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../quickstart/quickstart.html">First steps with BAGEL</a></li>
<li class="toctree-l2"><a class="reference internal" href="../molecule/molecule-toc.html">Molecule specification</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="scf.html">Self-consistent field</a></li>
<li class="toctree-l2"><a class="reference internal" href="../ci/ci_methods.html">Configuration interaction</a></li>
<li class="toctree-l2"><a class="reference internal" href="../multi/multi.html">Multiconfiguration self-consistent field</a></li>
<li class="toctree-l2"><a class="reference internal" href="../pt2/pt2.html">Perturbation theory</a></li>
<li class="toctree-l2"><a class="reference internal" href="../smith/smith.html">SMITH3-generated code</a></li>
<li class="toctree-l2"><a class="reference internal" href="../grad/grad.html">Nuclear gradients and related functionalities</a></li>
<li class="toctree-l2"><a class="reference internal" href="../asd/asd.html">Active space decomposition method</a></li>
<li class="toctree-l2"><a class="reference internal" href="../miscellaneous/misc.html">Miscellaneous features</a></li>
<li class="toctree-l2"><a class="reference internal" href="../supp_info/supp_info.html">Supplementary information</a></li>
<li class="toctree-l2"><a class="reference internal" href="../author.html">Author contributions</a></li>
<li class="toctree-l2"><a class="reference internal" href="../funding.html">Funding and citation</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="hf.html"
                        title="previous chapter">Hartree–Fock</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="../ci/ci_methods.html"
                        title="next chapter">Configuration interaction</a></p>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    </div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../ci/ci_methods.html" title="Configuration interaction"
             >next</a></li>
        <li class="right" >
          <a href="hf.html" title="Hartree–Fock"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="../index.html">BAGEL Manual</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="../user-manual.html" ><strong>BAGEL user manual</strong></a> &#187;</li>
          <li class="nav-item nav-item-2"><a href="scf.html" >Self-consistent field</a> &#187;</li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2017, Shiozaki Group.
    </div>
  </body>
</html>