generator.html 17.6 KB
Newer Older
Davison's avatar
Davison committed
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module generator</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>generator</strong></big></big></font></td
><td align=right valign=bottom
Jacob August Davison's avatar
Jacob August Davison committed
11
12
13
14
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/mnt/ufs18/home-115/daviso53/Research/im-srg_tensorflow/oop_imsrg/generator.py">/mnt/ufs18/home-115/daviso53/Research/im-srg_tensorflow/oop_imsrg/generator.py</a></font></td></tr></table>
    <p><tt>#import&nbsp;tensorflow&nbsp;as&nbsp;tf<br>
#&nbsp;tf.enable_v2_behavior()<br>
#import&nbsp;tensornetwork&nbsp;as&nbsp;tn</tt></p>
Davison's avatar
Davison committed
15
16
17
18
19
20
21
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
Jacob August Davison's avatar
Jacob August Davison committed
22
23
24
25
26
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="numpy.html">numpy</a><br>
<a href="numba.html">numba</a><br>
</td><td width="25%" valign=top><a href="os.html">os</a><br>
<a href="sys.html">sys</a><br>
</td><td width="25%" valign=top><a href="tensornetwork.html">tensornetwork</a><br>
Davison's avatar
Davison committed
27
28
29
30
31
32
33
34
35
36
37
38
39
40
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="generator.html#Generator">Generator</a>
</font></dt><dd>
<dl>
Jacob August Davison's avatar
Jacob August Davison committed
41
42
<dt><font face="helvetica, arial"><a href="generator.html#BrillouinGenerator">BrillouinGenerator</a>
</font></dt><dt><font face="helvetica, arial"><a href="generator.html#WegnerGenerator">WegnerGenerator</a>
43
44
45
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="generator.html#WegnerGenerator3B">WegnerGenerator3B</a>
Davison's avatar
Davison committed
46
47
</font></dt></dl>
</dd>
Jacob August Davison's avatar
Jacob August Davison committed
48
49
50
<dt><font face="helvetica, arial"><a href="generator.html#WhiteGenerator">WhiteGenerator</a>
</font></dt><dt><font face="helvetica, arial"><a href="generator.html#WhiteGeneratorMP">WhiteGeneratorMP</a>
</font></dt></dl>
Davison's avatar
Davison committed
51
</dd>
52
53
</dl>
</dd>
Davison's avatar
Davison committed
54
55
56
57
58
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
Jacob August Davison's avatar
Jacob August Davison committed
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
<font color="#000000" face="helvetica, arial"><a name="BrillouinGenerator">class <strong>BrillouinGenerator</strong></a>(<a href="generator.html#Generator">Generator</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#BrillouinGenerator">BrillouinGenerator</a>(h)<br>
&nbsp;<br>
Calculate&nbsp;Brillouin&nbsp;generator&nbsp;for&nbsp;a&nbsp;normal&nbsp;ordered&nbsp;Hamiltonian.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="generator.html#BrillouinGenerator">BrillouinGenerator</a></dd>
<dd><a href="generator.html#Generator">Generator</a></dd>
<dd><a href="builtins.html#object">builtins.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="BrillouinGenerator-__init__"><strong>__init__</strong></a>(self, h)</dt><dd><tt>Initialize&nbsp;self.&nbsp;&nbsp;See&nbsp;help(type(self))&nbsp;for&nbsp;accurate&nbsp;signature.</tt></dd></dl>

<dl><dt><a name="BrillouinGenerator-calc_eta"><strong>calc_eta</strong></a>(self)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>G</strong></dt>
<dd><tt>Returns:<br>
&nbsp;<br>
f&nbsp;--&nbsp;two-body&nbsp;tensor&nbsp;elements&nbsp;(initialized&nbsp;by&nbsp;Hamiltonian&nbsp;object)</tt></dd>
</dl>
<dl><dt><strong>f</strong></dt>
<dd><tt>Returns:<br>
&nbsp;<br>
f&nbsp;--&nbsp;one-body&nbsp;tensor&nbsp;elements&nbsp;(initialized&nbsp;by&nbsp;Hamiltonian&nbsp;object)</tt></dd>
</dl>
<hr>
Data descriptors inherited from <a href="generator.html#Generator">Generator</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
Davison's avatar
Davison committed
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
<font color="#000000" face="helvetica, arial"><a name="Generator">class <strong>Generator</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Parent&nbsp;class&nbsp;for&nbsp;organization&nbsp;purposes.&nbsp;Ideally,&nbsp;all&nbsp;<a href="#Generator">Generator</a><br>
classes&nbsp;should&nbsp;inherit&nbsp;from&nbsp;this&nbsp;class.&nbsp;In&nbsp;this&nbsp;way,&nbsp;AssertionErrors<br>
can&nbsp;be&nbsp;handled&nbsp;in&nbsp;a&nbsp;general&nbsp;way.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Generator-calc_eta"><strong>calc_eta</strong></a>()</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="WegnerGenerator">class <strong>WegnerGenerator</strong></a>(<a href="generator.html#Generator">Generator</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#WegnerGenerator">WegnerGenerator</a>(h,&nbsp;occ_t)<br>
&nbsp;<br>
128
129
Calculate&nbsp;Wegner's&nbsp;generator&nbsp;for&nbsp;a&nbsp;normal&nbsp;ordered&nbsp;Hamiltonian.<br>
Truncate&nbsp;at&nbsp;two-body&nbsp;interactions.<br>&nbsp;</tt></td></tr>
Davison's avatar
Davison committed
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="generator.html#WegnerGenerator">WegnerGenerator</a></dd>
<dd><a href="generator.html#Generator">Generator</a></dd>
<dd><a href="builtins.html#object">builtins.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="WegnerGenerator-__init__"><strong>__init__</strong></a>(self, h, occ_t)</dt><dd><tt>Class&nbsp;constructor.&nbsp;Instantiate&nbsp;<a href="#WegnerGenerator">WegnerGenerator</a>&nbsp;<a href="builtins.html#object">object</a>.<br>
&nbsp;<br>
Arguments:<br>
&nbsp;<br>
h&nbsp;--&nbsp;Hamiltonian&nbsp;<a href="builtins.html#object">object</a>&nbsp;(must&nbsp;be&nbsp;normal-ordered)<br>
occ_t&nbsp;--&nbsp;OccupationTensor&nbsp;<a href="builtins.html#object">object</a></tt></dd></dl>

145
<dl><dt><a name="WegnerGenerator-calc_eta"><strong>calc_eta</strong></a>(self)</dt><dd><tt>Calculate&nbsp;the&nbsp;generator.&nbsp;The&nbsp;terms&nbsp;are&nbsp;defined&nbsp;in&nbsp;An<br>
Davison's avatar
Davison committed
146
147
148
149
150
151
152
153
Advanced&nbsp;Course&nbsp;in&nbsp;Computation&nbsp;Nuclear&nbsp;Physics,&nbsp;Ch.10.<br>
See&nbsp;also&nbsp;dx.doi.org/10.1016/j.physrep.2015.12.007<br>
&nbsp;<br>
Returns:<br>
&nbsp;<br>
(eta1B,&nbsp;--&nbsp;one-body&nbsp;generator<br>
&nbsp;eta2B)&nbsp;--&nbsp;two-body&nbsp;generator</tt></dd></dl>

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
<dl><dt><a name="WegnerGenerator-decouple_OD"><strong>decouple_OD</strong></a>(self)</dt><dd><tt>Decouple&nbsp;the&nbsp;off-/diagonal&nbsp;elements&nbsp;from&nbsp;each&nbsp;other&nbsp;in<br>
the&nbsp;one-&nbsp;and&nbsp;two-body&nbsp;tensors.&nbsp;This&nbsp;procedure&nbsp;is&nbsp;outlined&nbsp;in<br>
An&nbsp;Advanced&nbsp;Course&nbsp;in&nbsp;Computation&nbsp;Nuclear&nbsp;Physics,&nbsp;Ch.10.<br>
&nbsp;<br>
Returns:<br>
&nbsp;<br>
(fd,&nbsp;--&nbsp;diagonal&nbsp;part&nbsp;of&nbsp;f<br>
&nbsp;fod,&nbsp;--&nbsp;off-diagonal&nbsp;part&nbsp;of&nbsp;f<br>
&nbsp;Gd,&nbsp;--&nbsp;diagonal&nbsp;part&nbsp;of&nbsp;G<br>
&nbsp;God)&nbsp;--&nbsp;off-diagonal&nbsp;part&nbsp;of&nbsp;G</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>G</strong></dt>
<dd><tt>Returns:<br>
&nbsp;<br>
f&nbsp;--&nbsp;two-body&nbsp;tensor&nbsp;elements&nbsp;(initialized&nbsp;by&nbsp;Hamiltonian&nbsp;object)</tt></dd>
</dl>
<dl><dt><strong>f</strong></dt>
<dd><tt>Returns:<br>
&nbsp;<br>
f&nbsp;--&nbsp;one-body&nbsp;tensor&nbsp;elements&nbsp;(initialized&nbsp;by&nbsp;Hamiltonian&nbsp;object)</tt></dd>
</dl>
<hr>
Data descriptors inherited from <a href="generator.html#Generator">Generator</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="WegnerGenerator3B">class <strong>WegnerGenerator3B</strong></a>(<a href="generator.html#WegnerGenerator">WegnerGenerator</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#WegnerGenerator3B">WegnerGenerator3B</a>(h,&nbsp;occ_t)<br>
&nbsp;<br>
Calculate&nbsp;Wegner's&nbsp;generator&nbsp;for&nbsp;a&nbsp;normal&nbsp;ordered&nbsp;Hamiltonian.<br>
Truncate&nbsp;at&nbsp;three-body&nbsp;interactions.&nbsp;Inherits&nbsp;from&nbsp;<a href="#WegnerGenerator">WegnerGenerator</a>.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="generator.html#WegnerGenerator3B">WegnerGenerator3B</a></dd>
<dd><a href="generator.html#WegnerGenerator">WegnerGenerator</a></dd>
<dd><a href="generator.html#Generator">Generator</a></dd>
<dd><a href="builtins.html#object">builtins.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="WegnerGenerator3B-__init__"><strong>__init__</strong></a>(self, h, occ_t)</dt><dd><tt>Class&nbsp;constructor.&nbsp;Instantiate&nbsp;<a href="#WegnerGenerator">WegnerGenerator</a>&nbsp;<a href="builtins.html#object">object</a>.<br>
&nbsp;<br>
Arguments:<br>
&nbsp;<br>
h&nbsp;--&nbsp;Hamiltonian&nbsp;<a href="builtins.html#object">object</a>&nbsp;(must&nbsp;be&nbsp;normal-ordered)<br>
occ_t&nbsp;--&nbsp;OccupationTensor&nbsp;<a href="builtins.html#object">object</a></tt></dd></dl>

<dl><dt><a name="WegnerGenerator3B-calc_eta"><strong>calc_eta</strong></a>(self)</dt><dd><tt>Inherits&nbsp;from&nbsp;<a href="#WegnerGenerator">WegnerGenerator</a>.<br>
&nbsp;<br>
Jacob August Davison's avatar
Jacob August Davison committed
214
215
Calculate&nbsp;the&nbsp;generator.&nbsp;See&nbsp;dx.doi.org/10.1016/j.physrep.2015.12.007,<br>
Appendix&nbsp;B,&nbsp;for&nbsp;three-body&nbsp;flow&nbsp;equations.<br>
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
&nbsp;<br>
Returns:<br>
&nbsp;<br>
(eta1B,&nbsp;--&nbsp;one-body&nbsp;generator<br>
&nbsp;eta2B,&nbsp;--&nbsp;two-body&nbsp;generator<br>
&nbsp;eta3B)&nbsp;--&nbsp;three-body&nbsp;generator</tt></dd></dl>

<dl><dt><a name="WegnerGenerator3B-decouple_OD"><strong>decouple_OD</strong></a>(self)</dt><dd><tt>Inherits&nbsp;from&nbsp;<a href="#WegnerGenerator">WegnerGenerator</a>.<br>
&nbsp;<br>
Decouple&nbsp;the&nbsp;off-/diagonal&nbsp;elements&nbsp;from&nbsp;each&nbsp;other&nbsp;in<br>
the&nbsp;one-&nbsp;and&nbsp;two-body&nbsp;tensors.&nbsp;This&nbsp;procedure&nbsp;is&nbsp;outlined&nbsp;in<br>
An&nbsp;Advanced&nbsp;Course&nbsp;in&nbsp;Computation&nbsp;Nuclear&nbsp;Physics,&nbsp;Ch.10.<br>
&nbsp;<br>
Returns:<br>
&nbsp;<br>
(fd,&nbsp;--&nbsp;diagonal&nbsp;part&nbsp;of&nbsp;f<br>
&nbsp;fod,&nbsp;--&nbsp;off-diagonal&nbsp;part&nbsp;of&nbsp;f<br>
&nbsp;Gd,&nbsp;--&nbsp;diagonal&nbsp;part&nbsp;of&nbsp;G<br>
&nbsp;God,&nbsp;--&nbsp;off-diagonal&nbsp;part&nbsp;of&nbsp;G<br>
&nbsp;Wd,&nbsp;--&nbsp;diagonal&nbsp;part&nbsp;of&nbsp;W<br>
&nbsp;Wod)&nbsp;--&nbsp;off-diagonal&nbsp;part&nbsp;of&nbsp;W</tt></dd></dl>

Davison's avatar
Davison committed
238
239
<hr>
Data descriptors defined here:<br>
240
241
242
243
244
245
246
<dl><dt><strong>W</strong></dt>
<dd><tt>Returns:<br>
&nbsp;<br>
W&nbsp;--&nbsp;three-body&nbsp;tensor&nbsp;elements&nbsp;(initialized&nbsp;by&nbsp;Hamiltonian&nbsp;object)</tt></dd>
</dl>
<hr>
Data descriptors inherited from <a href="generator.html#WegnerGenerator">WegnerGenerator</a>:<br>
Davison's avatar
Davison committed
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
<dl><dt><strong>G</strong></dt>
<dd><tt>Returns:<br>
&nbsp;<br>
f&nbsp;--&nbsp;two-body&nbsp;tensor&nbsp;elements&nbsp;(initialized&nbsp;by&nbsp;Hamiltonian&nbsp;object)</tt></dd>
</dl>
<dl><dt><strong>f</strong></dt>
<dd><tt>Returns:<br>
&nbsp;<br>
f&nbsp;--&nbsp;one-body&nbsp;tensor&nbsp;elements&nbsp;(initialized&nbsp;by&nbsp;Hamiltonian&nbsp;object)</tt></dd>
</dl>
<hr>
Data descriptors inherited from <a href="generator.html#Generator">Generator</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
Jacob August Davison's avatar
Jacob August Davison committed
265
</td></tr></table> <p>
Davison's avatar
Davison committed
266
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
Jacob August Davison's avatar
Jacob August Davison committed
267
<tr bgcolor="#ffc8d8">
Davison's avatar
Davison committed
268
<td colspan=3 valign=bottom>&nbsp;<br>
Jacob August Davison's avatar
Jacob August Davison committed
269
<font color="#000000" face="helvetica, arial"><a name="WhiteGenerator">class <strong>WhiteGenerator</strong></a>(<a href="generator.html#Generator">Generator</a>)</font></td></tr>
Davison's avatar
Davison committed
270
    
Jacob August Davison's avatar
Jacob August Davison committed
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#WhiteGenerator">WhiteGenerator</a>(h)<br>
&nbsp;<br>
Calculate&nbsp;White's&nbsp;generator&nbsp;for&nbsp;a&nbsp;normal&nbsp;ordered&nbsp;Hamiltonian.<br>
This&nbsp;standard&nbsp;implemenation&nbsp;uses&nbsp;Epstein-Nesbet&nbsp;denominators.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="generator.html#WhiteGenerator">WhiteGenerator</a></dd>
<dd><a href="generator.html#Generator">Generator</a></dd>
<dd><a href="builtins.html#object">builtins.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="WhiteGenerator-__init__"><strong>__init__</strong></a>(self, h)</dt><dd><tt>Initialize&nbsp;self.&nbsp;&nbsp;See&nbsp;help(type(self))&nbsp;for&nbsp;accurate&nbsp;signature.</tt></dd></dl>

<dl><dt><a name="WhiteGenerator-calc_eta"><strong>calc_eta</strong></a>(self)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>G</strong></dt>
<dd><tt>Returns:<br>
&nbsp;<br>
f&nbsp;--&nbsp;two-body&nbsp;tensor&nbsp;elements&nbsp;(initialized&nbsp;by&nbsp;Hamiltonian&nbsp;object)</tt></dd>
</dl>
<dl><dt><strong>f</strong></dt>
<dd><tt>Returns:<br>
&nbsp;<br>
f&nbsp;--&nbsp;one-body&nbsp;tensor&nbsp;elements&nbsp;(initialized&nbsp;by&nbsp;Hamiltonian&nbsp;object)</tt></dd>
</dl>
<hr>
Data descriptors inherited from <a href="generator.html#Generator">Generator</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="WhiteGeneratorMP">class <strong>WhiteGeneratorMP</strong></a>(<a href="generator.html#Generator">Generator</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#WhiteGeneratorMP">WhiteGeneratorMP</a>(h)<br>
&nbsp;<br>
Calculate&nbsp;White's&nbsp;generator&nbsp;for&nbsp;a&nbsp;normal&nbsp;ordered&nbsp;Hamiltonian.<br>
This&nbsp;"standard"&nbsp;implemenation&nbsp;uses&nbsp;Moller-Plesset&nbsp;denominators.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="generator.html#WhiteGeneratorMP">WhiteGeneratorMP</a></dd>
<dd><a href="generator.html#Generator">Generator</a></dd>
<dd><a href="builtins.html#object">builtins.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="WhiteGeneratorMP-__init__"><strong>__init__</strong></a>(self, h)</dt><dd><tt>Initialize&nbsp;self.&nbsp;&nbsp;See&nbsp;help(type(self))&nbsp;for&nbsp;accurate&nbsp;signature.</tt></dd></dl>

<dl><dt><a name="WhiteGeneratorMP-calc_eta"><strong>calc_eta</strong></a>(self)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>G</strong></dt>
<dd><tt>Returns:<br>
&nbsp;<br>
f&nbsp;--&nbsp;two-body&nbsp;tensor&nbsp;elements&nbsp;(initialized&nbsp;by&nbsp;Hamiltonian&nbsp;object)</tt></dd>
</dl>
<dl><dt><strong>f</strong></dt>
<dd><tt>Returns:<br>
&nbsp;<br>
f&nbsp;--&nbsp;one-body&nbsp;tensor&nbsp;elements&nbsp;(initialized&nbsp;by&nbsp;Hamiltonian&nbsp;object)</tt></dd>
</dl>
<hr>
Data descriptors inherited from <a href="generator.html#Generator">Generator</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table></td></tr></table>
Davison's avatar
Davison committed
352
</body></html>