VMPS++
|
Definition at line 10 of file SpectralManager.h.
#include <SpectralManager.h>
Public Types | |
typedef Hamiltonian::Mpo::Scalar_ | Scalar |
typedef Hamiltonian::Symmetry | Symmetry |
Public Member Functions | |
SpectralManager () | |
SpectralManager (const vector< string > &specs_input, const Hamiltonian &H, const vector< Param > ¶ms, VUMPS::CONTROL::GLOB GlobSweepParams, qarray< Symmetry::Nq > Q, int Ncells_input, const vector< Param > ¶ms_hetero, string gs_label="gs", bool LOAD_GS=false, bool SAVE_GS=false, DMRG::VERBOSITY::OPTION VERB=DMRG::VERBOSITY::HALFSWEEPWISE, double tol_OxV=2., int locyBra=0, int locyKet=0) | |
SpectralManager (const vector< string > &specs_input, const Hamiltonian &H, const vector< Param > ¶ms, DMRG::CONTROL::GLOB GlobSweepParams, qarray< Symmetry::Nq > Q, string gs_label="gs", bool LOAD_GS=false, bool SAVE_GS=false, DMRG::VERBOSITY::OPTION VERB=DMRG::VERBOSITY::HALFSWEEPWISE, double tol_OxV=2., int locy=0) | |
SpectralManager (const vector< string > &specs_input, const Hamiltonian &H, DMRG::VERBOSITY::OPTION VERB=DMRG::VERBOSITY::HALFSWEEPWISE) | |
template<typename HamiltonianThermal > | |
void | beta_propagation (const Hamiltonian &Hprop, const HamiltonianThermal &Htherm, int Lcell, int dLphys, double betamax_input, double dbeta_input, double tol_compr_beta_input, size_t Mlim, qarray< Symmetry::Nq > Q, double s_betainit, double betaswitch, string wd, string th_label, bool LOAD_BETA=false, bool SAVE_BETA=true, DMRG::VERBOSITY::OPTION VERB=DMRG::VERBOSITY::HALFSWEEPWISE, vector< double > stateSavePoints={}, vector< string > stateSaveLabels={}, int Ntaylor=0, bool CALC_C=true, bool CALC_CHI=true, bool USE_PHIT=false) |
void | continue_beta_propagation (const Hamiltonian &Hprop, int Lcell, int dLphys, double s_betainit, double betainit, double betamax, double dbeta, double tol_compr_beta, size_t Mlim, qarray< Hamiltonian::Symmetry::Nq > Q, double betaswitch, string wd, string th_label, string LOAD_BETA, bool SAVE_BETA, DMRG::VERBOSITY::OPTION VERB, vector< double > stateSavePoints, vector< string > stateSaveLabels, bool CALC_C, bool CALC_CHI) |
void | apply_operators_on_thermal_state (int Lcell, int dLphys, bool CHECK=true) |
void | compute (string wd, string label, int Ns, double tmax, double dt=0.2, double wmin=-10., double wmax=10., int wpoints=501, Q_RANGE QR=ZERO_2PI, int qpoints=501, GREEN_INTEGRATION INT=OOURA, size_t Mlim=500ul, double tol_DeltaS=1e-2, double tol_compr=1e-4) |
void | compute_finiteCell (int Lcell, int x0, string wd, string label, double tmax, double dt=0.1, double wmin=-10., double wmax=10., int wpoints=501, Q_RANGE QR=ZERO_2PI, int qpoints=501, GREEN_INTEGRATION INT=OOURA, size_t Mlim=500ul, double tol_DeltaS=1e-2, double tol_compr=1e-4) |
void | compute_finite (size_t j0, string wd, string label, int Ns, double tmax, double dt=0.1, double wmin=-10., double wmax=10., int wpoints=501, GREEN_INTEGRATION INT=OOURA, size_t Mlim=500ul, double tol_DeltaS=1e-2, double tol_compr=1e-4) |
void | compute_thermal (string wd, string label, int dLphys, double tmax, double dt=0.1, double wmin=-10., double wmax=10., int wpoints=501, Q_RANGE QR=ZERO_2PI, int qpoints=501, GREEN_INTEGRATION INT=OOURA, size_t Mlim=500ul, double tol_DeltaS=1e-2, double tol_compr=1e-4) |
void | reload (string wd, const vector< string > &specs_input, string label, int L, int Ncells, int Ns, double tmax, double wmin=-10., double wmax=10., int wpoints=501, Q_RANGE QR=ZERO_2PI, int qpoints=501, GREEN_INTEGRATION INT=OOURA) |
const Umps< Symmetry, Scalar > & | ground () const |
const double & | energy () const |
const Mps< Symmetry, Scalar > & | get_PhiT () const |
void | make_A1P (GreenPropagator< Hamiltonian, Symmetry, Scalar, complex< double > > &Gfull, string wd, string label, int Ns, double tmax, double wmin=-10., double wmax=10., int wpoints=501, Q_RANGE QR=ZERO_2PI, int qpoints=501, GREEN_INTEGRATION INT=OOURA, bool SAVE_N_MU=true) |
void | make_A1P_finite (GreenPropagator< Hamiltonian, Symmetry, Scalar, complex< double > > &Gfull, string wd, string label, double tmax, double wmin=-10., double wmax=10., int wpoints=501, GREEN_INTEGRATION INT=OOURA) |
Mpo< Symmetry, Scalar > | get_Op (const Hamiltonian &H, size_t loc, std::string spec, double factor=1., size_t locy=0, int dLphys=1) |
void | set_measurement (int iz, string spec, double factor, int dLphys, qarray< Symmetry::Nq > Q, int Lcell, int measure_interval_input=10, string measure_name_input="M", string measure_subfolder_input=".", bool TRANSFORM=false) |
void | resize_Green (string wd, string label, int Ns, double tmax, double dt, double wmin, double wmax, int wpoints, Q_RANGE QR, int qpoints, GREEN_INTEGRATION INT) |
void | FTcell_xq () |
vector< vector< MatrixXcd > > | get_GwqCell (int z) const |
void | set_Ncells (int Ncells_input) |
void | set_PhiT (const Mps< Symmetry, Scalar > &PhiT_input) |
template<typename HamiltonianThermal > | |
void | beta_propagation (const Hamiltonian &Hprop, const HamiltonianThermal &Htherm, int Lcell, int dLphys, double betamax, double dbeta, double tol_compr_beta, size_t Mlim, qarray< Hamiltonian::Symmetry::Nq > Q, double s_betainit, double betaswitch, string wd, string th_label, bool LOAD_BETA, bool SAVE_BETA, DMRG::VERBOSITY::OPTION VERB, vector< double > stateSavePoints, vector< string > stateSaveLabels, int Ntaylor, bool CALC_C, bool CALC_CHI, bool USE_PHIT) |
Static Public Member Functions | |
static bool | TIME_DIR (std::string spec) |
static string | DAG (std::string spec) |
static bool | CHECK_SPEC (string spec) |
Private Attributes | |
size_t | L |
size_t | Lhetero |
size_t | Ncells |
size_t | x0 |
size_t | Nspec |
vector< string > | specs |
Hamiltonian | Hwork |
Mps< Symmetry, Scalar > | Phi |
double | Eg |
vector< vector< Mps< Symmetry, complex< double > > > > | OxPhiCellBra |
vector< vector< Mps< Symmetry, complex< double > > > > | OxPhiCellKet |
Eigenstate< Umps< Symmetry, Scalar > > | g |
Eigenstate< Mps< Symmetry, Scalar > > | gfinite |
vector< GreenPropagator< Hamiltonian, typename Hamiltonian::Symmetry, Scalar, complex< double > > > | Green |
double | betamax |
double | dbeta |
double | tol_compr_beta |
Mps< Symmetry, Scalar > | PhiT |
Mps< Symmetry, complex< double > > | PhiTt |
vector< vector< Mps< Symmetry, complex< double > > > > | OxPhiTt |
vector< vector< Mpo< typename Hamiltonian::Symmetry, Scalar > > > | Odag |
DMRG::VERBOSITY::OPTION | CHOSEN_VERB |
vector< vector< Scalar > > | Oshift |
typedef Hamiltonian::Mpo::Scalar_ SpectralManager< Hamiltonian >::Scalar |
Definition at line 14 of file SpectralManager.h.
typedef Hamiltonian::Symmetry SpectralManager< Hamiltonian >::Symmetry |
Definition at line 15 of file SpectralManager.h.
|
inline |
Definition at line 17 of file SpectralManager.h.
SpectralManager< Hamiltonian >::SpectralManager | ( | const vector< string > & | specs_input, |
const Hamiltonian & | H, | ||
const vector< Param > & | params, | ||
VUMPS::CONTROL::GLOB | GlobSweepParams, | ||
qarray< Symmetry::Nq > | Q, | ||
int | Ncells_input, | ||
const vector< Param > & | params_hetero, | ||
string | gs_label = "gs" , |
||
bool | LOAD_GS = false , |
||
bool | SAVE_GS = false , |
||
DMRG::VERBOSITY::OPTION | VERB = DMRG::VERBOSITY::HALFSWEEPWISE , |
||
double | tol_OxV = 2. , |
||
int | locyBra = 0 , |
||
int | locyKet = 0 |
||
) |
Definition at line 184 of file SpectralManager.h.
SpectralManager< Hamiltonian >::SpectralManager | ( | const vector< string > & | specs_input, |
const Hamiltonian & | H, | ||
const vector< Param > & | params, | ||
DMRG::CONTROL::GLOB | GlobSweepParams, | ||
qarray< Symmetry::Nq > | Q, | ||
string | gs_label = "gs" , |
||
bool | LOAD_GS = false , |
||
bool | SAVE_GS = false , |
||
DMRG::VERBOSITY::OPTION | VERB = DMRG::VERBOSITY::HALFSWEEPWISE , |
||
double | tol_OxV = 2. , |
||
int | locy = 0 |
||
) |
Definition at line 331 of file SpectralManager.h.
|
inline |
Definition at line 32 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::apply_operators_on_thermal_state | ( | int | Lcell, |
int | dLphys, | ||
bool | CHECK = true |
||
) |
Definition at line 1089 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::beta_propagation | ( | const Hamiltonian & | Hprop, |
const HamiltonianThermal & | Htherm, | ||
int | Lcell, | ||
int | dLphys, | ||
double | betamax, | ||
double | dbeta, | ||
double | tol_compr_beta, | ||
size_t | Mlim, | ||
qarray< Hamiltonian::Symmetry::Nq > | Q, | ||
double | s_betainit, | ||
double | betaswitch, | ||
string | wd, | ||
string | th_label, | ||
bool | LOAD_BETA, | ||
bool | SAVE_BETA, | ||
DMRG::VERBOSITY::OPTION | VERB, | ||
vector< double > | stateSavePoints, | ||
vector< string > | stateSaveLabels, | ||
int | Ntaylor, | ||
bool | CALC_C, | ||
bool | CALC_CHI, | ||
bool | USE_PHIT | ||
) |
Definition at line 426 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::beta_propagation | ( | const Hamiltonian & | Hprop, |
const HamiltonianThermal & | Htherm, | ||
int | Lcell, | ||
int | dLphys, | ||
double | betamax_input, | ||
double | dbeta_input, | ||
double | tol_compr_beta_input, | ||
size_t | Mlim, | ||
qarray< Symmetry::Nq > | Q, | ||
double | s_betainit, | ||
double | betaswitch, | ||
string | wd, | ||
string | th_label, | ||
bool | LOAD_BETA = false , |
||
bool | SAVE_BETA = true , |
||
DMRG::VERBOSITY::OPTION | VERB = DMRG::VERBOSITY::HALFSWEEPWISE , |
||
vector< double > | stateSavePoints = {} , |
||
vector< string > | stateSaveLabels = {} , |
||
int | Ntaylor = 0 , |
||
bool | CALC_C = true , |
||
bool | CALC_CHI = true , |
||
bool | USE_PHIT = false |
||
) |
|
inlinestatic |
Definition at line 130 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::compute | ( | string | wd, |
string | label, | ||
int | Ns, | ||
double | tmax, | ||
double | dt = 0.2 , |
||
double | wmin = -10. , |
||
double | wmax = 10. , |
||
int | wpoints = 501 , |
||
Q_RANGE | QR = ZERO_2PI , |
||
int | qpoints = 501 , |
||
GREEN_INTEGRATION | INT = OOURA , |
||
size_t | Mlim = 500ul , |
||
double | tol_DeltaS = 1e-2 , |
||
double | tol_compr = 1e-4 |
||
) |
Definition at line 1210 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::compute_finite | ( | size_t | j0, |
string | wd, | ||
string | label, | ||
int | Ns, | ||
double | tmax, | ||
double | dt = 0.1 , |
||
double | wmin = -10. , |
||
double | wmax = 10. , |
||
int | wpoints = 501 , |
||
GREEN_INTEGRATION | INT = OOURA , |
||
size_t | Mlim = 500ul , |
||
double | tol_DeltaS = 1e-2 , |
||
double | tol_compr = 1e-4 |
||
) |
Definition at line 1233 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::compute_finiteCell | ( | int | Lcell, |
int | x0, | ||
string | wd, | ||
string | label, | ||
double | tmax, | ||
double | dt = 0.1 , |
||
double | wmin = -10. , |
||
double | wmax = 10. , |
||
int | wpoints = 501 , |
||
Q_RANGE | QR = ZERO_2PI , |
||
int | qpoints = 501 , |
||
GREEN_INTEGRATION | INT = OOURA , |
||
size_t | Mlim = 500ul , |
||
double | tol_DeltaS = 1e-2 , |
||
double | tol_compr = 1e-4 |
||
) |
Definition at line 1257 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::compute_thermal | ( | string | wd, |
string | label, | ||
int | dLphys, | ||
double | tmax, | ||
double | dt = 0.1 , |
||
double | wmin = -10. , |
||
double | wmax = 10. , |
||
int | wpoints = 501 , |
||
Q_RANGE | QR = ZERO_2PI , |
||
int | qpoints = 501 , |
||
GREEN_INTEGRATION | INT = OOURA , |
||
size_t | Mlim = 500ul , |
||
double | tol_DeltaS = 1e-2 , |
||
double | tol_compr = 1e-4 |
||
) |
Definition at line 1293 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::continue_beta_propagation | ( | const Hamiltonian & | Hprop, |
int | Lcell, | ||
int | dLphys, | ||
double | s_betainit, | ||
double | betainit, | ||
double | betamax, | ||
double | dbeta, | ||
double | tol_compr_beta, | ||
size_t | Mlim, | ||
qarray< Hamiltonian::Symmetry::Nq > | Q, | ||
double | betaswitch, | ||
string | wd, | ||
string | th_label, | ||
string | LOAD_BETA, | ||
bool | SAVE_BETA, | ||
DMRG::VERBOSITY::OPTION | VERB, | ||
vector< double > | stateSavePoints, | ||
vector< string > | stateSaveLabels, | ||
bool | CALC_C, | ||
bool | CALC_CHI | ||
) |
Definition at line 886 of file SpectralManager.h.
|
inlinestatic |
Definition at line 100 of file SpectralManager.h.
|
inline |
Definition at line 75 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::FTcell_xq |
Definition at line 1316 of file SpectralManager.h.
|
inline |
Definition at line 146 of file SpectralManager.h.
Mpo< typename Hamiltonian::Symmetry, typename Hamiltonian::Mpo::Scalar_ > SpectralManager< Hamiltonian >::get_Op | ( | const Hamiltonian & | H, |
size_t | loc, | ||
std::string | spec, | ||
double | factor = 1. , |
||
size_t | locy = 0 , |
||
int | dLphys = 1 |
||
) |
Definition at line 1421 of file SpectralManager.h.
|
inline |
Definition at line 76 of file SpectralManager.h.
|
inline |
Definition at line 74 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::make_A1P | ( | GreenPropagator< Hamiltonian, Symmetry, Scalar, complex< double > > & | Gfull, |
string | wd, | ||
string | label, | ||
int | Ns, | ||
double | tmax, | ||
double | wmin = -10. , |
||
double | wmax = 10. , |
||
int | wpoints = 501 , |
||
Q_RANGE | QR = ZERO_2PI , |
||
int | qpoints = 501 , |
||
GREEN_INTEGRATION | INT = OOURA , |
||
bool | SAVE_N_MU = true |
||
) |
Definition at line 1328 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::make_A1P_finite | ( | GreenPropagator< Hamiltonian, Symmetry, Scalar, complex< double > > & | Gfull, |
string | wd, | ||
string | label, | ||
double | tmax, | ||
double | wmin = -10. , |
||
double | wmax = 10. , |
||
int | wpoints = 501 , |
||
GREEN_INTEGRATION | INT = OOURA |
||
) |
Definition at line 1370 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::reload | ( | string | wd, |
const vector< string > & | specs_input, | ||
string | label, | ||
int | L, | ||
int | Ncells, | ||
int | Ns, | ||
double | tmax, | ||
double | wmin = -10. , |
||
double | wmax = 10. , |
||
int | wpoints = 501 , |
||
Q_RANGE | QR = ZERO_2PI , |
||
int | qpoints = 501 , |
||
GREEN_INTEGRATION | INT = OOURA |
||
) |
Definition at line 1393 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::resize_Green | ( | string | wd, |
string | label, | ||
int | Ns, | ||
double | tmax, | ||
double | dt, | ||
double | wmin, | ||
double | wmax, | ||
int | wpoints, | ||
Q_RANGE | QR, | ||
int | qpoints, | ||
GREEN_INTEGRATION | INT | ||
) |
Definition at line 1192 of file SpectralManager.h.
void SpectralManager< Hamiltonian >::set_measurement | ( | int | iz, |
string | spec, | ||
double | factor, | ||
int | dLphys, | ||
qarray< Symmetry::Nq > | Q, | ||
int | Lcell, | ||
int | measure_interval_input = 10 , |
||
string | measure_name_input = "M" , |
||
string | measure_subfolder_input = "." , |
||
bool | TRANSFORM = false |
||
) |
Definition at line 1177 of file SpectralManager.h.
|
inline |
Definition at line 148 of file SpectralManager.h.
|
inline |
Definition at line 150 of file SpectralManager.h.
|
inlinestatic |
Definition at line 93 of file SpectralManager.h.
|
private |
Definition at line 172 of file SpectralManager.h.
|
private |
Definition at line 178 of file SpectralManager.h.
|
private |
Definition at line 172 of file SpectralManager.h.
|
private |
Definition at line 164 of file SpectralManager.h.
|
private |
Definition at line 168 of file SpectralManager.h.
|
private |
Definition at line 169 of file SpectralManager.h.
|
private |
Definition at line 170 of file SpectralManager.h.
|
private |
Definition at line 162 of file SpectralManager.h.
|
private |
Definition at line 157 of file SpectralManager.h.
|
private |
Definition at line 157 of file SpectralManager.h.
|
private |
Definition at line 157 of file SpectralManager.h.
|
private |
Definition at line 159 of file SpectralManager.h.
|
private |
Definition at line 176 of file SpectralManager.h.
|
private |
Definition at line 179 of file SpectralManager.h.
|
private |
Definition at line 165 of file SpectralManager.h.
|
private |
Definition at line 166 of file SpectralManager.h.
|
private |
Definition at line 175 of file SpectralManager.h.
|
private |
Definition at line 163 of file SpectralManager.h.
|
private |
Definition at line 173 of file SpectralManager.h.
|
private |
Definition at line 174 of file SpectralManager.h.
|
private |
Definition at line 160 of file SpectralManager.h.
|
private |
Definition at line 172 of file SpectralManager.h.
|
private |
Definition at line 158 of file SpectralManager.h.