Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Davison, Jacob
tfimsrg
Commits
454cd39c
Commit
454cd39c
authored
Jul 10, 2019
by
Davison
Browse files
generated project documentation
parent
bcc35662
Changes
5
Hide whitespace changes
Inline
Side-by-side
oop_imsrg/doc/flow.html
0 → 100644
View file @
454cd39c
<!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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
>
<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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
><big><strong>
Modules
</strong></big></font></td></tr>
<tr><td
bgcolor=
"#aa55cc"
><tt>
</tt></td><td>
</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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
><big><strong>
Classes
</strong></big></font></td></tr>
<tr><td
bgcolor=
"#ee77aa"
><tt>
</tt></td><td>
</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
>
<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>
</tt></td>
<td
colspan=
2
><tt>
Parent
class
for
organization
purposes.
Ideally,
all
<a
href=
"#Flow"
>
Flow
</a><br>
classes
should
inherit
from
this
class.
In
this
way,
AssertionErrors
<br>
can
be
handled
in
a
general
way.
<br>
</tt></td></tr>
<tr><td>
</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
for
instance
variables
(if
defined)
</tt></dd>
</dl>
<dl><dt><strong>
__weakref__
</strong></dt>
<dd><tt>
list
of
weak
references
to
the
object
(if
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
>
<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>
</tt></td>
<td
colspan=
2
><tt><a
href=
"#Flow_IMSRG2"
>
Flow_IMSRG2
</a>
(h,
occ_t)
<br>
<br>
Calculates
the
flow
equations
for
the
IMSRG(2).
<br>
</tt></td></tr>
<tr><td>
</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
constructor.
Instantiates
<a
href=
"#Flow_IMSRG2"
>
Flow_IMSRG2
</a>
<a
href=
"builtins.html#object"
>
object
</a>
.
<br>
<br>
Arguments:
<br>
<br>
h
--
Hamiltonian
<a
href=
"builtins.html#object"
>
object
</a><br>
occ_t
--
OccupationTensors
<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
the
IMSRG2
flow
equations
once.
<br>
<br>
Arugments:
<br>
<br>
gen
--
Generator
<a
href=
"builtins.html#object"
>
object
</a>
;
generator
produces
the
flow
<br>
<br>
Returns:
<br>
<br>
(dE,
--
zero-body
tensor
<br>
df,
--
one-body
tensor
<br>
dG)
--
two-body
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
for
instance
variables
(if
defined)
</tt></dd>
</dl>
<dl><dt><strong>
__weakref__
</strong></dt>
<dd><tt>
list
of
weak
references
to
the
object
(if
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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
><big><strong>
Data
</strong></big></font></td></tr>
<tr><td
bgcolor=
"#55aa55"
><tt>
</tt></td><td>
</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
oop_imsrg/doc/generator.html
0 → 100644
View file @
454cd39c
<!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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
>
<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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
><big><strong>
Modules
</strong></big></font></td></tr>
<tr><td
bgcolor=
"#aa55cc"
><tt>
</tt></td><td>
</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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
><big><strong>
Classes
</strong></big></font></td></tr>
<tr><td
bgcolor=
"#ee77aa"
><tt>
</tt></td><td>
</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
>
<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>
</tt></td>
<td
colspan=
2
><tt>
Parent
class
for
organization
purposes.
Ideally,
all
<a
href=
"#Generator"
>
Generator
</a><br>
classes
should
inherit
from
this
class.
In
this
way,
AssertionErrors
<br>
can
be
handled
in
a
general
way.
<br>
</tt></td></tr>
<tr><td>
</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
for
instance
variables
(if
defined)
</tt></dd>
</dl>
<dl><dt><strong>
__weakref__
</strong></dt>
<dd><tt>
list
of
weak
references
to
the
object
(if
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
>
<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>
</tt></td>
<td
colspan=
2
><tt><a
href=
"#WegnerGenerator"
>
WegnerGenerator
</a>
(h,
occ_t)
<br>
<br>
Calculate
Wegner's
generator
for
a
normal
ordered
Hamiltonian.
<br>
</tt></td></tr>
<tr><td>
</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
constructor.
Instantiate
<a
href=
"#WegnerGenerator"
>
WegnerGenerator
</a>
<a
href=
"builtins.html#object"
>
object
</a>
.
<br>
<br>
Arguments:
<br>
<br>
h
--
Hamiltonian
<a
href=
"builtins.html#object"
>
object
</a>
(must
be
normal-ordered)
<br>
occ_t
--
OccupationTensor
<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
the
generator.
The
terms
are
defined
in
An
<br>
Advanced
Course
in
Computation
Nuclear
Physics,
Ch.10.
<br>
See
also
dx.doi.org/10.1016/j.physrep.2015.12.007
<br>
<br>
Returns:
<br>
<br>
(eta1B,
--
one-body
generator
<br>
eta2B)
--
two-body
generator
</tt></dd></dl>
<hr>
Data descriptors defined here:
<br>
<dl><dt><strong>
G
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
f
--
two-body
tensor
elements
(initialized
by
Hamiltonian
object)
</tt></dd>
</dl>
<dl><dt><strong>
f
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
f
--
one-body
tensor
elements
(initialized
by
Hamiltonian
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
for
instance
variables
(if
defined)
</tt></dd>
</dl>
<dl><dt><strong>
__weakref__
</strong></dt>
<dd><tt>
list
of
weak
references
to
the
object
(if
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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
><big><strong>
Data
</strong></big></font></td></tr>
<tr><td
bgcolor=
"#55aa55"
><tt>
</tt></td><td>
</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
oop_imsrg/doc/hamiltonian.html
0 → 100644
View file @
454cd39c
<!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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
>
<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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
><big><strong>
Modules
</strong></big></font></td></tr>
<tr><td
bgcolor=
"#aa55cc"
><tt>
</tt></td><td>
</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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
><big><strong>
Classes
</strong></big></font></td></tr>
<tr><td
bgcolor=
"#ee77aa"
><tt>
</tt></td><td>
</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
>
<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>
</tt></td>
<td
colspan=
2
><tt>
Parent
class
for
organization
purposes.
Ideally,
all
<a
href=
"#Hamiltonian"
>
Hamiltonian
</a><br>
classes
should
inherit
from
this
class.
In
this
way,
AssertionErrors
<br>
can
be
handled
in
a
general
way.
<br>
</tt></td></tr>
<tr><td>
</td>
<td
width=
"100%"
>
Data descriptors defined here:
<br>
<dl><dt><strong>
__dict__
</strong></dt>
<dd><tt>
dictionary
for
instance
variables
(if
defined)
</tt></dd>
</dl>
<dl><dt><strong>
__weakref__
</strong></dt>
<dd><tt>
list
of
weak
references
to
the
object
(if
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
>
<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>
</tt></td>
<td
colspan=
2
><tt><a
href=
"#PairingHamiltonian2B"
>
PairingHamiltonian2B
</a>
(n_hole_states,
n_particle_states,
d=1.0,
g=0.5,
pb=0.0)
<br>
<br>
Generate
the
two-body
pairing
<a
href=
"#Hamiltonian"
>
Hamiltonian
</a>
.
Inherits
from
<a
href=
"#Hamiltonian"
>
Hamiltonian
</a>
.
<br>
</tt></td></tr>
<tr><td>
</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
constructor.
Instantiate
<a
href=
"#PairingHamiltonian2B"
>
PairingHamiltonian2B
</a>
<a
href=
"builtins.html#object"
>
object
</a>
.
<br>
<br>
Arguments:
<br>
<br>
n_hole_states
--
number
of
holes
states
in
the
single
particle
basis
<br>
n_particle_states
--
number
of
particles
states
in
the
single
particle
basis
<br>
<br>
Keyword
arguments:
<br>
<br>
d
--
the
energy
level
spacing
(default:
1.0)
<br>
g
--
the
pairing
strength
(default:
0.5)
<br>
pb
--
strength
of
the
pair-breaking
term
(operates
in
double
particle
basis)
(default:
0.0)
</tt></dd></dl>
<hr>
Data descriptors defined here:
<br>
<dl><dt><strong>
E
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
E
--
zero-body
(rank
0)
tensor
defined
by
__normal_order().
</tt></dd>
</dl>
<dl><dt><strong>
G
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
G
--
two-body
(rank
4)
tensor
defined
by
__normal_order().
</tt></dd>
</dl>
<dl><dt><strong>
H1B
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
H1B
--
one-body
(rank
2)
tensor
defined
by
__construct().
</tt></dd>
</dl>
<dl><dt><strong>
H2B
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
H2B
--
two-body
(rank
4)
tensor
defined
by
__construct().
</tt></dd>
</dl>
<dl><dt><strong>
d
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
d
--
energy
level
spacing.
</tt></dd>
</dl>
<dl><dt><strong>
f
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
f
--
one-body
(rank
2)
tensor
defined
by
__normal_order().
</tt></dd>
</dl>
<dl><dt><strong>
g
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
g
--
pairing
strength.
</tt></dd>
</dl>
<dl><dt><strong>
holes
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
holes
--
indices
of
hole
states
in
single
particle
basis.
</tt></dd>
</dl>
<dl><dt><strong>
n_sp_states
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
n_sp_states
--
size
of
single-particle
basis.
</tt></dd>
</dl>
<dl><dt><strong>
particles
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
particles
--
indices
of
particle
states
in
single
particle
basis.
</tt></dd>
</dl>
<dl><dt><strong>
pb
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
pb
--
pair-breaking
strength.
</tt></dd>
</dl>
<dl><dt><strong>
reference
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
reference
--
reference
state
(ground
state).
</tt></dd>
</dl>
<dl><dt><strong>
sp_basis
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
sp_basis
--
indices
of
full
single
particle
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
for
instance
variables
(if
defined)
</tt></dd>
</dl>
<dl><dt><strong>
__weakref__
</strong></dt>
<dd><tt>
list
of
weak
references
to
the
object
(if
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
>
<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>
</tt></td>
<td
colspan=
2
><tt><a
href=
"#PairingHamiltonian3B"
>
PairingHamiltonian3B
</a>
(n_hole_states,
n_particle_states,
d=1.0,
g=0.5,
pb=0.0)
<br>
<br>
Generate
the
two-body
pairing
<a
href=
"#Hamiltonian"
>
Hamiltonian
</a>
.
Inherits
from
<a
href=
"#Hamiltonian"
>
Hamiltonian
</a>
.
<br>
</tt></td></tr>
<tr><td>
</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
constructor.
Instantiate
<a
href=
"#PairingHamiltonian2B"
>
PairingHamiltonian2B
</a>
<a
href=
"builtins.html#object"
>
object
</a>
.
<br>
<br>
Arguments:
<br>
<br>
n_hole_states
--
number
of
holes
states
in
the
single
particle
basis
<br>
n_particle_states
--
number
of
particles
states
in
the
single
particle
basis
<br>
<br>
Keyword
arguments:
<br>
<br>
d
--
the
energy
level
spacing
(default:
1.0)
<br>
g
--
the
pairing
strength
(default:
0.5)
<br>
pb
--
strength
of
the
pair-breaking
term
(operates
in
double
particle
basis)
(default:
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:
<br>
<br>
E
--
zero-body
(rank
0)
tensor
defined
by
__normal_order().
</tt></dd>
</dl>
<dl><dt><strong>
G
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
G
--
two-body
(rank
4)
tensor
defined
by
__normal_order().
</tt></dd>
</dl>
<dl><dt><strong>
H1B
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
H1B
--
one-body
(rank
2)
tensor
defined
by
__construct().
</tt></dd>
</dl>
<dl><dt><strong>
H2B
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
H2B
--
two-body
(rank
4)
tensor
defined
by
__construct().
</tt></dd>
</dl>
<dl><dt><strong>
d
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
d
--
energy
level
spacing.
</tt></dd>
</dl>
<dl><dt><strong>
f
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
f
--
one-body
(rank
2)
tensor
defined
by
__normal_order().
</tt></dd>
</dl>
<dl><dt><strong>
g
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
g
--
pairing
strength.
</tt></dd>
</dl>
<dl><dt><strong>
holes
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
holes
--
indices
of
hole
states
in
single
particle
basis.
</tt></dd>
</dl>
<dl><dt><strong>
n_sp_states
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
n_sp_states
--
size
of
single-particle
basis.
</tt></dd>
</dl>
<dl><dt><strong>
particles
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
particles
--
indices
of
particle
states
in
single
particle
basis.
</tt></dd>
</dl>
<dl><dt><strong>
pb
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
pb
--
pair-breaking
strength.
</tt></dd>
</dl>
<dl><dt><strong>
reference
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
reference
--
reference
state
(ground
state).
</tt></dd>
</dl>
<dl><dt><strong>
sp_basis
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
sp_basis
--
indices
of
full
single
particle
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
for
instance
variables
(if
defined)
</tt></dd>
</dl>
<dl><dt><strong>
__weakref__
</strong></dt>
<dd><tt>
list
of
weak
references
to
the
object
(if
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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
><big><strong>
Data
</strong></big></font></td></tr>
<tr><td
bgcolor=
"#55aa55"
><tt>
</tt></td><td>
</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
oop_imsrg/doc/main.html
0 → 100644
View file @
454cd39c
<!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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
>
<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>
#
Main
program
for
IM-SRG.
</tt></p>
<p>
<table
width=
"100%"
cellspacing=
0
cellpadding=
2
border=
0
summary=
"section"
>
<tr
bgcolor=
"#aa55cc"
>
<td
colspan=
3
valign=
bottom
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
><big><strong>
Modules
</strong></big></font></td></tr>
<tr><td
bgcolor=
"#aa55cc"
><tt>
</tt></td><td>
</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
>
<br>
<font
color=
"#ffffff"
face=
"helvetica, arial"
><big><strong>
Functions
</strong></big></font></td></tr>