Commit 454cd39c authored by Davison's avatar Davison
Browse files

generated project documentation

parent bcc35662
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module flow</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>flow</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:c%3A%5Cusers%5Cdavison%5Cresearch%5Cim-srg_tensorflow%5Coop_imsrg%5Cflow.py">c:\users\davison\research\im-srg_tensorflow\oop_imsrg\flow.py</a></font></td></tr></table>
<p></p>
<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>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="tensornetwork.backends.html">tensornetwork.backends</a><br>
<a href="tensornetwork.config.html">tensornetwork.config</a><br>
<a href="tensornetwork.contractors.html">tensornetwork.contractors</a><br>
</td><td width="25%" valign=top><a href="tensornetwork.ncon_interface.html">tensornetwork.ncon_interface</a><br>
<a href="tensornetwork.network.html">tensornetwork.network</a><br>
<a href="tensornetwork.network_components.html">tensornetwork.network_components</a><br>
</td><td width="25%" valign=top><a href="numpy.html">numpy</a><br>
<a href="tensornetwork.version.html">tensornetwork.version</a><br>
<a href="tensornetwork.visualization.html">tensornetwork.visualization</a><br>
</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="flow.html#Flow">Flow</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="flow.html#Flow_IMSRG2">Flow_IMSRG2</a>
</font></dt></dl>
</dd>
</dl>
</dd>
</dl>
<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="Flow">class <strong>Flow</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="#Flow">Flow</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="Flow-flow"><strong>flow</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="Flow_IMSRG2">class <strong>Flow_IMSRG2</strong></a>(<a href="flow.html#Flow">Flow</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#Flow_IMSRG2">Flow_IMSRG2</a>(h,&nbsp;occ_t)<br>
&nbsp;<br>
Calculates&nbsp;the&nbsp;flow&nbsp;equations&nbsp;for&nbsp;the&nbsp;IMSRG(2).<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="flow.html#Flow_IMSRG2">Flow_IMSRG2</a></dd>
<dd><a href="flow.html#Flow">Flow</a></dd>
<dd><a href="builtins.html#object">builtins.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Flow_IMSRG2-__init__"><strong>__init__</strong></a>(self, h, occ_t)</dt><dd><tt>Class&nbsp;constructor.&nbsp;Instantiates&nbsp;<a href="#Flow_IMSRG2">Flow_IMSRG2</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><br>
occ_t&nbsp;--&nbsp;OccupationTensors&nbsp;<a href="builtins.html#object">object</a></tt></dd></dl>
<dl><dt><a name="Flow_IMSRG2-flow"><strong>flow</strong></a>(self, gen)</dt><dd><tt>Iterates&nbsp;the&nbsp;IMSRG2&nbsp;flow&nbsp;equations&nbsp;once.<br>
&nbsp;<br>
Arugments:<br>
&nbsp;<br>
gen&nbsp;--&nbsp;Generator&nbsp;<a href="builtins.html#object">object</a>;&nbsp;generator&nbsp;produces&nbsp;the&nbsp;flow<br>
&nbsp;<br>
Returns:<br>
&nbsp;<br>
(dE,&nbsp;--&nbsp;zero-body&nbsp;tensor<br>
&nbsp;df,&nbsp;--&nbsp;one-body&nbsp;tensor<br>
&nbsp;dG)&nbsp;--&nbsp;two-body&nbsp;tensor</tt></dd></dl>
<hr>
Data descriptors inherited from <a href="flow.html#Flow">Flow</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><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>absolute_import</strong> = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 16384)</td></tr></table>
</body></html>
\ No newline at end of file
<!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
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:c%3A%5Cusers%5Cdavison%5Cresearch%5Cim-srg_tensorflow%5Coop_imsrg%5Cgenerator.py">c:\users\davison\research\im-srg_tensorflow\oop_imsrg\generator.py</a></font></td></tr></table>
<p></p>
<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>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="tensornetwork.backends.html">tensornetwork.backends</a><br>
<a href="tensornetwork.config.html">tensornetwork.config</a><br>
<a href="tensornetwork.contractors.html">tensornetwork.contractors</a><br>
</td><td width="25%" valign=top><a href="tensornetwork.ncon_interface.html">tensornetwork.ncon_interface</a><br>
<a href="tensornetwork.network.html">tensornetwork.network</a><br>
<a href="tensornetwork.network_components.html">tensornetwork.network_components</a><br>
</td><td width="25%" valign=top><a href="numpy.html">numpy</a><br>
<a href="tensornetwork.version.html">tensornetwork.version</a><br>
<a href="tensornetwork.visualization.html">tensornetwork.visualization</a><br>
</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>
<dt><font face="helvetica, arial"><a href="generator.html#WegnerGenerator">WegnerGenerator</a>
</font></dt></dl>
</dd>
</dl>
</dd>
</dl>
<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="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>
Calculate&nbsp;Wegner's&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#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>
<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&nbsp;<br>
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>
<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><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>absolute_import</strong> = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 16384)</td></tr></table>
</body></html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module hamiltonian</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>hamiltonian</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:c%3A%5Cusers%5Cdavison%5Cresearch%5Cim-srg_tensorflow%5Coop_imsrg%5Chamiltonian.py">c:\users\davison\research\im-srg_tensorflow\oop_imsrg\hamiltonian.py</a></font></td></tr></table>
<p></p>
<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>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="tensornetwork.backends.html">tensornetwork.backends</a><br>
<a href="tensornetwork.config.html">tensornetwork.config</a><br>
<a href="tensornetwork.contractors.html">tensornetwork.contractors</a><br>
</td><td width="25%" valign=top><a href="tensornetwork.ncon_interface.html">tensornetwork.ncon_interface</a><br>
<a href="tensornetwork.network.html">tensornetwork.network</a><br>
<a href="tensornetwork.network_components.html">tensornetwork.network_components</a><br>
</td><td width="25%" valign=top><a href="numpy.html">numpy</a><br>
<a href="tensornetwork.version.html">tensornetwork.version</a><br>
<a href="tensornetwork.visualization.html">tensornetwork.visualization</a><br>
</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="hamiltonian.html#Hamiltonian">Hamiltonian</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="hamiltonian.html#PairingHamiltonian2B">PairingHamiltonian2B</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="hamiltonian.html#PairingHamiltonian3B">PairingHamiltonian3B</a>
</font></dt></dl>
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
<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="Hamiltonian">class <strong>Hamiltonian</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="#Hamiltonian">Hamiltonian</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%">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="PairingHamiltonian2B">class <strong>PairingHamiltonian2B</strong></a>(<a href="hamiltonian.html#Hamiltonian">Hamiltonian</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#PairingHamiltonian2B">PairingHamiltonian2B</a>(n_hole_states,&nbsp;n_particle_states,&nbsp;d=1.0,&nbsp;g=0.5,&nbsp;pb=0.0)<br>
&nbsp;<br>
Generate&nbsp;the&nbsp;two-body&nbsp;pairing&nbsp;<a href="#Hamiltonian">Hamiltonian</a>.&nbsp;Inherits&nbsp;from&nbsp;<a href="#Hamiltonian">Hamiltonian</a>.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="hamiltonian.html#PairingHamiltonian2B">PairingHamiltonian2B</a></dd>
<dd><a href="hamiltonian.html#Hamiltonian">Hamiltonian</a></dd>
<dd><a href="builtins.html#object">builtins.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="PairingHamiltonian2B-__init__"><strong>__init__</strong></a>(self, n_hole_states, n_particle_states, d=1.0, g=0.5, pb=0.0)</dt><dd><tt>Class&nbsp;constructor.&nbsp;Instantiate&nbsp;<a href="#PairingHamiltonian2B">PairingHamiltonian2B</a>&nbsp;<a href="builtins.html#object">object</a>.<br>
&nbsp;<br>
Arguments:<br>
&nbsp;<br>
n_hole_states&nbsp;--&nbsp;number&nbsp;of&nbsp;holes&nbsp;states&nbsp;in&nbsp;the&nbsp;single&nbsp;particle&nbsp;basis<br>
n_particle_states&nbsp;--&nbsp;number&nbsp;of&nbsp;particles&nbsp;states&nbsp;in&nbsp;the&nbsp;single&nbsp;particle&nbsp;basis<br>
&nbsp;<br>
Keyword&nbsp;arguments:<br>
&nbsp;<br>
d&nbsp;--&nbsp;the&nbsp;energy&nbsp;level&nbsp;spacing&nbsp;(default:&nbsp;1.0)<br>
g&nbsp;--&nbsp;the&nbsp;pairing&nbsp;strength&nbsp;(default:&nbsp;0.5)<br>
pb&nbsp;--&nbsp;strength&nbsp;of&nbsp;the&nbsp;pair-breaking&nbsp;term&nbsp;(operates&nbsp;in&nbsp;double&nbsp;particle&nbsp;basis)&nbsp;(default:&nbsp;0.0)</tt></dd></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>E</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
E&nbsp;--&nbsp;zero-body&nbsp;(rank&nbsp;0)&nbsp;tensor&nbsp;defined&nbsp;by&nbsp;__normal_order().</tt></dd>
</dl>
<dl><dt><strong>G</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
G&nbsp;--&nbsp;two-body&nbsp;(rank&nbsp;4)&nbsp;tensor&nbsp;defined&nbsp;by&nbsp;__normal_order().</tt></dd>
</dl>
<dl><dt><strong>H1B</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
H1B&nbsp;--&nbsp;one-body&nbsp;(rank&nbsp;2)&nbsp;tensor&nbsp;defined&nbsp;by&nbsp;__construct().</tt></dd>
</dl>
<dl><dt><strong>H2B</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
H2B&nbsp;--&nbsp;two-body&nbsp;(rank&nbsp;4)&nbsp;tensor&nbsp;defined&nbsp;by&nbsp;__construct().</tt></dd>
</dl>
<dl><dt><strong>d</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
d&nbsp;--&nbsp;energy&nbsp;level&nbsp;spacing.</tt></dd>
</dl>
<dl><dt><strong>f</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
f&nbsp;--&nbsp;one-body&nbsp;(rank&nbsp;2)&nbsp;tensor&nbsp;defined&nbsp;by&nbsp;__normal_order().</tt></dd>
</dl>
<dl><dt><strong>g</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
g&nbsp;--&nbsp;pairing&nbsp;strength.</tt></dd>
</dl>
<dl><dt><strong>holes</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
holes&nbsp;--&nbsp;indices&nbsp;of&nbsp;hole&nbsp;states&nbsp;in&nbsp;single&nbsp;particle&nbsp;basis.</tt></dd>
</dl>
<dl><dt><strong>n_sp_states</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
n_sp_states&nbsp;--&nbsp;size&nbsp;of&nbsp;single-particle&nbsp;basis.</tt></dd>
</dl>
<dl><dt><strong>particles</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
particles&nbsp;--&nbsp;indices&nbsp;of&nbsp;particle&nbsp;states&nbsp;in&nbsp;single&nbsp;particle&nbsp;basis.</tt></dd>
</dl>
<dl><dt><strong>pb</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
pb&nbsp;--&nbsp;pair-breaking&nbsp;strength.</tt></dd>
</dl>
<dl><dt><strong>reference</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
reference&nbsp;--&nbsp;reference&nbsp;state&nbsp;(ground&nbsp;state).</tt></dd>
</dl>
<dl><dt><strong>sp_basis</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
sp_basis&nbsp;--&nbsp;indices&nbsp;of&nbsp;full&nbsp;single&nbsp;particle&nbsp;basis.</tt></dd>
</dl>
<hr>
Data descriptors inherited from <a href="hamiltonian.html#Hamiltonian">Hamiltonian</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="PairingHamiltonian3B">class <strong>PairingHamiltonian3B</strong></a>(<a href="hamiltonian.html#PairingHamiltonian2B">PairingHamiltonian2B</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#PairingHamiltonian3B">PairingHamiltonian3B</a>(n_hole_states,&nbsp;n_particle_states,&nbsp;d=1.0,&nbsp;g=0.5,&nbsp;pb=0.0)<br>
&nbsp;<br>
Generate&nbsp;the&nbsp;two-body&nbsp;pairing&nbsp;<a href="#Hamiltonian">Hamiltonian</a>.&nbsp;Inherits&nbsp;from&nbsp;<a href="#Hamiltonian">Hamiltonian</a>.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="hamiltonian.html#PairingHamiltonian3B">PairingHamiltonian3B</a></dd>
<dd><a href="hamiltonian.html#PairingHamiltonian2B">PairingHamiltonian2B</a></dd>
<dd><a href="hamiltonian.html#Hamiltonian">Hamiltonian</a></dd>
<dd><a href="builtins.html#object">builtins.object</a></dd>
</dl>
<hr>
Methods inherited from <a href="hamiltonian.html#PairingHamiltonian2B">PairingHamiltonian2B</a>:<br>
<dl><dt><a name="PairingHamiltonian3B-__init__"><strong>__init__</strong></a>(self, n_hole_states, n_particle_states, d=1.0, g=0.5, pb=0.0)</dt><dd><tt>Class&nbsp;constructor.&nbsp;Instantiate&nbsp;<a href="#PairingHamiltonian2B">PairingHamiltonian2B</a>&nbsp;<a href="builtins.html#object">object</a>.<br>
&nbsp;<br>
Arguments:<br>
&nbsp;<br>
n_hole_states&nbsp;--&nbsp;number&nbsp;of&nbsp;holes&nbsp;states&nbsp;in&nbsp;the&nbsp;single&nbsp;particle&nbsp;basis<br>
n_particle_states&nbsp;--&nbsp;number&nbsp;of&nbsp;particles&nbsp;states&nbsp;in&nbsp;the&nbsp;single&nbsp;particle&nbsp;basis<br>
&nbsp;<br>
Keyword&nbsp;arguments:<br>
&nbsp;<br>
d&nbsp;--&nbsp;the&nbsp;energy&nbsp;level&nbsp;spacing&nbsp;(default:&nbsp;1.0)<br>
g&nbsp;--&nbsp;the&nbsp;pairing&nbsp;strength&nbsp;(default:&nbsp;0.5)<br>
pb&nbsp;--&nbsp;strength&nbsp;of&nbsp;the&nbsp;pair-breaking&nbsp;term&nbsp;(operates&nbsp;in&nbsp;double&nbsp;particle&nbsp;basis)&nbsp;(default:&nbsp;0.0)</tt></dd></dl>
<hr>
Data descriptors inherited from <a href="hamiltonian.html#PairingHamiltonian2B">PairingHamiltonian2B</a>:<br>
<dl><dt><strong>E</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
E&nbsp;--&nbsp;zero-body&nbsp;(rank&nbsp;0)&nbsp;tensor&nbsp;defined&nbsp;by&nbsp;__normal_order().</tt></dd>
</dl>
<dl><dt><strong>G</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
G&nbsp;--&nbsp;two-body&nbsp;(rank&nbsp;4)&nbsp;tensor&nbsp;defined&nbsp;by&nbsp;__normal_order().</tt></dd>
</dl>
<dl><dt><strong>H1B</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
H1B&nbsp;--&nbsp;one-body&nbsp;(rank&nbsp;2)&nbsp;tensor&nbsp;defined&nbsp;by&nbsp;__construct().</tt></dd>
</dl>
<dl><dt><strong>H2B</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
H2B&nbsp;--&nbsp;two-body&nbsp;(rank&nbsp;4)&nbsp;tensor&nbsp;defined&nbsp;by&nbsp;__construct().</tt></dd>
</dl>
<dl><dt><strong>d</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
d&nbsp;--&nbsp;energy&nbsp;level&nbsp;spacing.</tt></dd>
</dl>
<dl><dt><strong>f</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
f&nbsp;--&nbsp;one-body&nbsp;(rank&nbsp;2)&nbsp;tensor&nbsp;defined&nbsp;by&nbsp;__normal_order().</tt></dd>
</dl>
<dl><dt><strong>g</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
g&nbsp;--&nbsp;pairing&nbsp;strength.</tt></dd>
</dl>
<dl><dt><strong>holes</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
holes&nbsp;--&nbsp;indices&nbsp;of&nbsp;hole&nbsp;states&nbsp;in&nbsp;single&nbsp;particle&nbsp;basis.</tt></dd>
</dl>
<dl><dt><strong>n_sp_states</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
n_sp_states&nbsp;--&nbsp;size&nbsp;of&nbsp;single-particle&nbsp;basis.</tt></dd>
</dl>
<dl><dt><strong>particles</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
particles&nbsp;--&nbsp;indices&nbsp;of&nbsp;particle&nbsp;states&nbsp;in&nbsp;single&nbsp;particle&nbsp;basis.</tt></dd>
</dl>
<dl><dt><strong>pb</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
pb&nbsp;--&nbsp;pair-breaking&nbsp;strength.</tt></dd>
</dl>
<dl><dt><strong>reference</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
reference&nbsp;--&nbsp;reference&nbsp;state&nbsp;(ground&nbsp;state).</tt></dd>
</dl>
<dl><dt><strong>sp_basis</strong></dt>
<dd><tt>Returns:&nbsp;<br>
&nbsp;<br>
sp_basis&nbsp;--&nbsp;indices&nbsp;of&nbsp;full&nbsp;single&nbsp;particle&nbsp;basis.</tt></dd>
</dl>
<hr>
Data descriptors inherited from <a href="hamiltonian.html#Hamiltonian">Hamiltonian</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><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>absolute_import</strong> = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 16384)</td></tr></table>
</body></html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module main</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>main</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:c%3A%5Cusers%5Cdavison%5Cresearch%5Cim-srg_tensorflow%5Coop_imsrg%5Cmain.py">c:\users\davison\research\im-srg_tensorflow\oop_imsrg\main.py</a></font></td></tr></table>
<p><tt>#&nbsp;Main&nbsp;program&nbsp;for&nbsp;IM-SRG.</tt></p>
<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>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="tensornetwork.backends.html">tensornetwork.backends</a><br>
<a href="tensornetwork.config.html">tensornetwork.config</a><br>
<a href="tensornetwork.contractors.html">tensornetwork.contractors</a><br>
</td><td width="25%" valign=top><a href="tensornetwork.ncon_interface.html">tensornetwork.ncon_interface</a><br>
<a href="tensornetwork.network.html">tensornetwork.network</a><br>
<a href="tensornetwork.network_components.html">tensornetwork.network_components</a><br>
</td><td width="25%" valign=top><a href="numpy.html">numpy</a><br>
<a href="time.html">time</a><br>
<a href="tensornetwork.version.html">tensornetwork.version</a><br>
</td><td width="25%" valign=top><a href="tensornetwork.visualization.html">tensornetwork.visualization</a><br>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>