20 #ifndef CORRELATIONS_CHEMPS2_H 21 #define CORRELATIONS_CHEMPS2_H 23 #include "SyBookkeeper.h" 26 #include "TensorGYZ.h" 121 double getCspin_HAM(
const int row,
const int col)
const;
133 double getCdens_HAM(
const int row,
const int col)
const;
198 void Print(
const int precision=6,
const int columnsPerLine=8)
const;
233 void FillSpinDensSpinflip();
239 double diagram4(
TensorT * denT,
TensorKM * denK,
double * workmem)
const;
240 double diagram5(
TensorT * denT,
TensorKM * denM,
double * workmem)
const;
243 void PrintTableNice(
const double * table,
const int sPrecision,
const int columnsPerLine)
const;
Correlations(const SyBookkeeper *denBKIn, const Problem *ProbIn, TwoDM *the2DMin)
Constructor.
double getMutualInformation_HAM(const int row, const int col) const
Get a mutual information term, using the HAM indices.
double getMutualInformation_DMRG(const int row, const int col) const
Get a mutual information term, using the DMRG indices.
void FillSite(TensorT *denT, TensorGYZ **Gtensors, TensorGYZ **Ytensors, TensorGYZ **Ztensors, TensorKM **Ktensors, TensorKM **Mtensors)
Fill at the current step of the iterations the two-orbital mutual information and the remaining part ...
void Print(const int precision=6, const int columnsPerLine=8) const
Print the correlation functions and two-orbital mutual information.
double getCdens_HAM(const int row, const int col) const
Get a Cdens term, using the HAM indices.
double getCdirad_HAM(const int row, const int col) const
Get a Cdirad term, using the HAM indices.
double SingleOrbitalEntropy_HAM(const int index) const
Get the single-orbital entropy for a certain site, using hte HAM indices.
double SingleOrbitalEntropy_DMRG(const int index) const
Get the single-orbital entropy for a certain site, using the DMRG indices.
void mpi_broadcast()
Broadcast the diradical correlation function and the two-orbital mutual information.
double getCspin_HAM(const int row, const int col) const
Get a Cspin term, using the HAM indices.
double getCspinflip_HAM(const int row, const int col) const
Get a Cspinflip term, using the HAM indices.
double getCspin_DMRG(const int row, const int col) const
Get a Cspin term, using the DMRG indices.
virtual ~Correlations()
Destructor.
double getCspinflip_DMRG(const int row, const int col) const
Get a Cspinflip term, using the DMRG indices.
double MutualInformationDistance(const double power) const
Return Idistance(power) (see return for definition)
double getCdens_DMRG(const int row, const int col) const
Get a Cdens term, using the DMRG indices.
double getCdirad_DMRG(const int row, const int col) const
Get a Cdirad term, using the DMRG indices.