|
| TwoDM (const SyBookkeeper *denBKIn, const Problem *ProbIn) |
| Constructor. More...
|
|
virtual | ~TwoDM () |
| Destructor.
|
|
double | getTwoDMA_DMRG (const int cnt1, const int cnt2, const int cnt3, const int cnt4) const |
| Get a 2DM_A term, using the DMRG indices. More...
|
|
double | getTwoDMB_DMRG (const int cnt1, const int cnt2, const int cnt3, const int cnt4) const |
| Get a 2DM_B term, using the DMRG indices. More...
|
|
double | get1RDM_DMRG (const int cnt1, const int cnt2) const |
| Get a 1-RDM term, using the DMRG indices. More...
|
|
double | spin_density_dmrg (const int cnt1, const int cnt2) const |
| Get a spin-density term, using the DMRG indices. More...
|
|
double | getTwoDMA_HAM (const int cnt1, const int cnt2, const int cnt3, const int cnt4) const |
| Get a 2DM_A term, using the HAM indices. More...
|
|
double | getTwoDMB_HAM (const int cnt1, const int cnt2, const int cnt3, const int cnt4) const |
| Get a 2DM_B term, using the HAM indices. More...
|
|
double | get1RDM_HAM (const int cnt1, const int cnt2) const |
| Get a 1-RDM term, using the HAM indices. More...
|
|
double | spin_density_ham (const int cnt1, const int cnt2) const |
| Get a spin-density term, using the HAM indices. More...
|
|
void | FillSite (TensorT *denT, TensorL ***Ltens, TensorF0 ****F0tens, TensorF1 ****F1tens, TensorS0 ****S0tens, TensorS1 ****S1tens) |
| Fill the 2DM terms with as second site index denT->gIndex() More...
|
|
void | correct_higher_multiplicities () |
| After the whole 2-RDM is filled, a prefactor for higher multiplicities should be applied.
|
|
double | trace () const |
| Return the double trace of 2DM-A (should be N(N-1)) More...
|
|
double | energy () const |
| Calculate the energy based on the 2DM-A. More...
|
|
void | print_noon () const |
| Print the natural orbital occupation numbers.
|
|
void | save () const |
| Save the TwoDMs to disk.
|
|
void | read () |
| Load the TwoDMs from disk.
|
|
void | save_HAM (const string filename) const |
| Save the 2-RDM-A to disk in Hamiltonian indices. More...
|
|
void | write2DMAfile (const string filename) const |
| Write the 2-RDM-A to a file. More...
|
|
void | mpi_allreduce () |
| Add the 2-RDM elements of all MPI processes.
|
|
TwoDM class.
- Author
- Sebastian Wouters sebas.nosp@m.tian.nosp@m.woute.nosp@m.rs@g.nosp@m.mail..nosp@m.com
- Date
- June 13, 2013
The TwoDM class stores the result of a converged DMRG calculation. With the 2DM
we can define two spin-reduced versions of interest:
.
Because the wave-function belongs to a certain Abelian irrep, must be valid before the corresponding element is non-zero.
We can also define spin-densities in the spin-ensemble as:
The normalization factor is chosen so that .
Definition at line 50 of file TwoDM.h.