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
39bf612f
Commit
39bf612f
authored
Aug 02, 2019
by
Davison
Browse files
updated with most recent developments
parent
58c85b9c
Changes
4
Hide whitespace changes
Inline
Side-by-side
oop_imsrg/doc/generator.html
View file @
39bf612f
...
...
@@ -41,10 +41,15 @@
</font></dt><dd>
<dl>
<dt><font
face=
"helvetica, arial"
><a
href=
"generator.html#WegnerGenerator"
>
WegnerGenerator
</a>
</font></dt><dd>
<dl>
<dt><font
face=
"helvetica, arial"
><a
href=
"generator.html#WegnerGenerator3B"
>
WegnerGenerator3B
</a>
</font></dt></dl>
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
<p>
<table
width=
"100%"
cellspacing=
0
cellpadding=
2
border=
0
summary=
"section"
>
...
...
@@ -77,7 +82,8 @@ Data descriptors defined here:<br>
<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>
Calculate
Wegner's
generator
for
a
normal
ordered
Hamiltonian.
<br>
Truncate
at
two-body
interactions.
<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>
...
...
@@ -93,7 +99,7 @@ Arguments:<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>
<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>
...
...
@@ -102,8 +108,100 @@ Returns:<br>
(eta1B,
--
one-body
generator
<br>
eta2B)
--
two-body
generator
</tt></dd></dl>
<dl><dt><a
name=
"WegnerGenerator-decouple_OD"
><strong>
decouple_OD
</strong></a>
(self)
</dt><dd><tt>
Decouple
the
off-/diagonal
elements
from
each
other
in
<br>
the
one-
and
two-body
tensors.
This
procedure
is
outlined
in
<br>
An
Advanced
Course
in
Computation
Nuclear
Physics,
Ch.10.
<br>
<br>
Returns:
<br>
<br>
(fd,
--
diagonal
part
of
f
<br>
fod,
--
off-diagonal
part
of
f
<br>
Gd,
--
diagonal
part
of
G
<br>
God)
--
off-diagonal
part
of
G
</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>
<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=
"WegnerGenerator3B"
>
class
<strong>
WegnerGenerator3B
</strong></a>
(
<a
href=
"generator.html#WegnerGenerator"
>
WegnerGenerator
</a>
)
</font></td></tr>
<tr
bgcolor=
"#ffc8d8"
><td
rowspan=
2
><tt>
</tt></td>
<td
colspan=
2
><tt><a
href=
"#WegnerGenerator3B"
>
WegnerGenerator3B
</a>
(h,
occ_t)
<br>
<br>
Calculate
Wegner's
generator
for
a
normal
ordered
Hamiltonian.
<br>
Truncate
at
three-body
interactions.
Inherits
from
<a
href=
"#WegnerGenerator"
>
WegnerGenerator
</a>
.
<br>
</tt></td></tr>
<tr><td>
</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
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=
"WegnerGenerator3B-calc_eta"
><strong>
calc_eta
</strong></a>
(self)
</dt><dd><tt>
Inherits
from
<a
href=
"#WegnerGenerator"
>
WegnerGenerator
</a>
.
<br>
<br>
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
<br>
eta3B)
--
three-body
generator
</tt></dd></dl>
<dl><dt><a
name=
"WegnerGenerator3B-decouple_OD"
><strong>
decouple_OD
</strong></a>
(self)
</dt><dd><tt>
Inherits
from
<a
href=
"#WegnerGenerator"
>
WegnerGenerator
</a>
.
<br>
<br>
Decouple
the
off-/diagonal
elements
from
each
other
in
<br>
the
one-
and
two-body
tensors.
This
procedure
is
outlined
in
<br>
An
Advanced
Course
in
Computation
Nuclear
Physics,
Ch.10.
<br>
<br>
Returns:
<br>
<br>
(fd,
--
diagonal
part
of
f
<br>
fod,
--
off-diagonal
part
of
f
<br>
Gd,
--
diagonal
part
of
G
<br>
God,
--
off-diagonal
part
of
G
<br>
Wd,
--
diagonal
part
of
W
<br>
Wod)
--
off-diagonal
part
of
W
</tt></dd></dl>
<hr>
Data descriptors defined here:
<br>
<dl><dt><strong>
W
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
W
--
three-body
tensor
elements
(initialized
by
Hamiltonian
object)
</tt></dd>
</dl>
<hr>
Data descriptors inherited from
<a
href=
"generator.html#WegnerGenerator"
>
WegnerGenerator
</a>
:
<br>
<dl><dt><strong>
G
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
...
...
oop_imsrg/doc/hamiltonian.html
View file @
39bf612f
...
...
@@ -97,6 +97,7 @@ n_particle_states -- number of particles states in
<br>
Keyword
arguments:
<br>
<br>
ref
--
the
reference
state.
must
match
dimensions
imposed
by
arugments
(default:
[1,1,1,1,0,0,0,0])
<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>
...
...
oop_imsrg/doc/main.html
View file @
39bf612f
...
...
@@ -8,7 +8,7 @@
<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>
><font
color=
"#ffffff"
face=
"helvetica, arial"
><a
href=
"."
>
index
</a><br><a
href=
"file:c%3A%5Cusers%5Cdavison%5Cresearch%5Cim-srg_tensorflow%5Cmain.py"
>
c:\users\davison\research\im-srg_tensorflow\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"
>
...
...
@@ -18,7 +18,7 @@
<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=
"ci_pairing.cipy_pairing_plus_ph.html"
>
ci_pairing.cipy_pairing_plus_ph
</a><br>
<a
href=
"
oop_imsrg.
ci_pairing.cipy_pairing_plus_ph.html"
>
oop_imsrg.
ci_pairing.cipy_pairing_plus_ph
</a><br>
<a
href=
"tensornetwork.config.html"
>
tensornetwork.config
</a><br>
<a
href=
"tensornetwork.contractors.html"
>
tensornetwork.contractors
</a><br>
<a
href=
"glob.html"
>
glob
</a><br>
...
...
oop_imsrg/doc/occupation_tensors.html
View file @
39bf612f
...
...
@@ -66,12 +66,12 @@ Data descriptors defined here:<br>
<dd><tt>
list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
</dl>
<dl><dt><strong>
occA
</strong></dt>
<dd><tt>
Returns:
<br>
<dd><tt>
Returns:
<br>
<br>
occA
--
represents
n_a
-
n_b.
</tt></dd>
</dl>
<dl><dt><strong>
occB
</strong></dt>
<dd><tt>
Returns:
<br>
<dd><tt>
Returns:
<br>
<br>
occB
--
represents
1
-
n_a
-
n_b.
</tt></dd>
</dl>
...
...
@@ -85,5 +85,36 @@ occC -- represents n_a*n_b + (1-n_a-n_b)*n_c</tt></dd>
<br>
occD
--
represents
na*nb*(1-nc-nd)
+
na*nb*nc*nd
</tt></dd>
</dl>
<dl><dt><strong>
occE
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
occE
--
represents
n_a*n_b*n_c*(1-n_d)*(1-n_e)*(1-n_f)
</tt></dd>
</dl>
<dl><dt><strong>
occF
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
occF
--
represents
n_a*n_b*(1-n_c)*(1-n_d)*(1-n_e)
+
<br>
(1-n_a)*(1-n_b)*n_c*n_d*n_e
</tt></dd>
</dl>
<dl><dt><strong>
occG
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
occG
--
represents
n_a*(1-n_b)*(1-n_c)
+
(1-n_a)*n_b*n_c
</tt></dd>
</dl>
<dl><dt><strong>
occH
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
occH
--
represents
n_a*(1-n_b)*(1-n_c)*(1-n_d)
-
(1-n_a)*n_b*n_c*n_d
</tt></dd>
</dl>
<dl><dt><strong>
occI
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
occI
--
represents
(1-n_a)*(1-n_b)*n_c*n_d
-
n_a*n_b*(1-n_c)*(1-n_d)
</tt></dd>
</dl>
<dl><dt><strong>
occJ
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
occJ
--
represents
n_a*n_b*n_c
+
(1-n_a)*(1-n_b)*(1-n_c)
</tt></dd>
</dl>
</td></tr></table></td></tr></table>
</body></html>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment