| |
- builtins.object
-
- Generator
-
- BrillouinGenerator
- WegnerGenerator
-
- WegnerGenerator3B
- WhiteGenerator
- WhiteGeneratorMP
class BrillouinGenerator(Generator) |
|
BrillouinGenerator(h)
Calculate Brillouin generator for a normal ordered Hamiltonian. |
|
- Method resolution order:
- BrillouinGenerator
- Generator
- builtins.object
Methods defined here:
- __init__(self, h)
- Initialize self. See help(type(self)) for accurate signature.
- calc_eta(self)
Data descriptors defined here:
- G
- Returns:
f -- two-body tensor elements (initialized by Hamiltonian object)
- f
- Returns:
f -- one-body tensor elements (initialized by Hamiltonian object)
Data descriptors inherited from Generator:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class Generator(builtins.object) |
|
Parent class for organization purposes. Ideally, all Generator
classes should inherit from this class. In this way, AssertionErrors
can be handled in a general way. |
|
Methods defined here:
- calc_eta()
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class WegnerGenerator(Generator) |
|
WegnerGenerator(h, occ_t)
Calculate Wegner's generator for a normal ordered Hamiltonian.
Truncate at two-body interactions. |
|
- Method resolution order:
- WegnerGenerator
- Generator
- builtins.object
Methods defined here:
- __init__(self, h, occ_t)
- Class constructor. Instantiate WegnerGenerator object.
Arguments:
h -- Hamiltonian object (must be normal-ordered)
occ_t -- OccupationTensor object
- calc_eta(self)
- Calculate the generator. The terms are defined in An
Advanced Course in Computation Nuclear Physics, Ch.10.
See also dx.doi.org/10.1016/j.physrep.2015.12.007
Returns:
(eta1B, -- one-body generator
eta2B) -- two-body generator
- decouple_OD(self)
- Decouple the off-/diagonal elements from each other in
the one- and two-body tensors. This procedure is outlined in
An Advanced Course in Computation Nuclear Physics, Ch.10.
Returns:
(fd, -- diagonal part of f
fod, -- off-diagonal part of f
Gd, -- diagonal part of G
God) -- off-diagonal part of G
Data descriptors defined here:
- G
- Returns:
f -- two-body tensor elements (initialized by Hamiltonian object)
- f
- Returns:
f -- one-body tensor elements (initialized by Hamiltonian object)
Data descriptors inherited from Generator:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class WegnerGenerator3B(WegnerGenerator) |
|
WegnerGenerator3B(h, occ_t)
Calculate Wegner's generator for a normal ordered Hamiltonian.
Truncate at three-body interactions. Inherits from WegnerGenerator. |
|
- Method resolution order:
- WegnerGenerator3B
- WegnerGenerator
- Generator
- builtins.object
Methods defined here:
- __init__(self, h, occ_t)
- Class constructor. Instantiate WegnerGenerator object.
Arguments:
h -- Hamiltonian object (must be normal-ordered)
occ_t -- OccupationTensor object
- calc_eta(self)
- Inherits from WegnerGenerator.
Calculate the generator. See dx.doi.org/10.1016/j.physrep.2015.12.007,
Appendix B, for three-body flow equations.
Returns:
(eta1B, -- one-body generator
eta2B, -- two-body generator
eta3B) -- three-body generator
- decouple_OD(self)
- Inherits from WegnerGenerator.
Decouple the off-/diagonal elements from each other in
the one- and two-body tensors. This procedure is outlined in
An Advanced Course in Computation Nuclear Physics, Ch.10.
Returns:
(fd, -- diagonal part of f
fod, -- off-diagonal part of f
Gd, -- diagonal part of G
God, -- off-diagonal part of G
Wd, -- diagonal part of W
Wod) -- off-diagonal part of W
Data descriptors defined here:
- W
- Returns:
W -- three-body tensor elements (initialized by Hamiltonian object)
Data descriptors inherited from WegnerGenerator:
- G
- Returns:
f -- two-body tensor elements (initialized by Hamiltonian object)
- f
- Returns:
f -- one-body tensor elements (initialized by Hamiltonian object)
Data descriptors inherited from Generator:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class WhiteGenerator(Generator) |
|
WhiteGenerator(h)
Calculate White's generator for a normal ordered Hamiltonian.
This standard implemenation uses Epstein-Nesbet denominators. |
|
- Method resolution order:
- WhiteGenerator
- Generator
- builtins.object
Methods defined here:
- __init__(self, h)
- Initialize self. See help(type(self)) for accurate signature.
- calc_eta(self)
Data descriptors defined here:
- G
- Returns:
f -- two-body tensor elements (initialized by Hamiltonian object)
- f
- Returns:
f -- one-body tensor elements (initialized by Hamiltonian object)
Data descriptors inherited from Generator:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class WhiteGeneratorMP(Generator) |
|
WhiteGeneratorMP(h)
Calculate White's generator for a normal ordered Hamiltonian.
This "standard" implemenation uses Moller-Plesset denominators. |
|
- Method resolution order:
- WhiteGeneratorMP
- Generator
- builtins.object
Methods defined here:
- __init__(self, h)
- Initialize self. See help(type(self)) for accurate signature.
- calc_eta(self)
Data descriptors defined here:
- G
- Returns:
f -- two-body tensor elements (initialized by Hamiltonian object)
- f
- Returns:
f -- one-body tensor elements (initialized by Hamiltonian object)
Data descriptors inherited from Generator:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |