HilbertSubSpace: Hilbert subspace for charge quantum number Q and spin Sz. This class contains the eigenenergies, matrix elements and reduced density matrix for a Hilbert subspace with charge quantum number Q and spin S.
More...
#include <hilbertsubspace.h>
HilbertSubSpace: Hilbert subspace for charge quantum number Q and spin Sz. This class contains the eigenenergies, matrix elements and reduced density matrix for a Hilbert subspace with charge quantum number Q and spin S.
nrg::HilbertSubSpace::HilbertSubSpace |
( |
int |
Q, |
|
|
int |
Sz |
|
) |
| |
constructs a subspace with quantum numbers Q and Sz
- Parameters
-
[in] | Q | charge quantum number |
[in] | Sz | spin quantum number |
math::Matrix& nrg::HilbertSubSpace::getChainElementsDown |
( |
| ) |
|
|
inline |
retrieves a reference to chain matrix elements for spin down electrons
- Returns
- chain matrix elements for spin down
retrieves a reference to chain matrix elements for spin up electrons
- Returns
- chain matrix elements for spin up
returns a reference to the vector of eigenenergies
- Returns
- eigenenergies
returns reference to the Hamiltonian/unitary transformation After diagonalization Lapack turns this Hamiltonian matrix H into the diagonalizing unitary transformation U. So beware!
- Returns
- reference to matrix H/U
int nrg::HilbertSubSpace::getKeptStates |
( |
| ) |
|
|
inline |
returns the numer of kept states for the subspace
- Returns
- # of kept states
math::Matrix& nrg::HilbertSubSpace::getLocalMatrixElementDown |
( |
| ) |
|
|
inline |
retrieves a reference to impurity matrix elements for spin down electrons Take a look at the "self-energy trick" by R. Bulla
- Returns
- impurity matrix elements for spin down
math::Matrix& nrg::HilbertSubSpace::getLocalMatrixElementDown2 |
( |
| ) |
|
|
inline |
retrieves a reference to other impurity matrix elements for spin down electrons Take a look at the "self-energy trick" by R. Bulla
- Returns
- other impurity matrix elements for spin down
math::Matrix& nrg::HilbertSubSpace::getLocalMatrixElementUp |
( |
| ) |
|
|
inline |
retrieves a reference to impurity matrix elements for spin down electrons Take a look at the "self-energy trick" by R. Bulla
- Returns
- impurity matrix elements for spin down
math::Matrix& nrg::HilbertSubSpace::getLocalMatrixElementUp2 |
( |
| ) |
|
|
inline |
retrieves a reference to other impurity matrix elements for spin down electrons Take a look at the "self-energy trick" by R. Bulla
- Returns
- other impurity matrix elements for spin down
int nrg::HilbertSubSpace::getQ |
( |
| ) |
|
|
inline |
returns the charge quantum number Q of the subspace
- Returns
- charge quantum number
int nrg::HilbertSubSpace::getR |
( |
int |
i | ) |
|
|
inline |
retrieves the # of kept states for ith hilbert space of the prev. iteration
- Parameters
-
- Returns
- # of states
int nrg::HilbertSubSpace::getSz |
( |
| ) |
|
|
inline |
returns the spin quantum number Sz of the subspace
- Returns
- spin quantum number
void nrg::HilbertSubSpace::setHamiltonian |
( |
math::Matrix & |
H | ) |
|
|
inline |
set the Hamiltonian H
- Parameters
-
void nrg::HilbertSubSpace::setKeptStates |
( |
int |
keptStates | ) |
|
|
inline |
sets the number of kept states for the subspace
- Parameters
-
[in] | keptStates | # of kept states |
void nrg::HilbertSubSpace::setR |
( |
int |
i, |
|
|
int |
r |
|
) |
| |
|
inline |
sets the # of kept states for ith hilbert space of the prev. iteration
- Parameters
-
[in] | i | 0,1,2,3 |
[in] | r | # of kept states |
The documentation for this class was generated from the following files:
- /home/chris/Development/Release/NanoStructures/nrg/hilbertsubspace.h
- /home/chris/Development/Release/NanoStructures/nrg/hilbertsubspace.cpp