1#ifndef HUBBARDMODELU1XZN_H_COMPLEX
2#define HUBBARDMODELU1XZN_H_COMPLEX
19class PeierlsHubbardU1xZN :
public Mpo< Sym::S1xS2< Sym::U1<Sym::ChargeU1>, Sym::ZN<Sym::Momentum,YMOMENTUM> > ,complex<double> >,
20 public HubbardObservables< Sym::S1xS2<Sym::U1<Sym::ChargeU1>, Sym::ZN<Sym::Momentum,YMOMENTUM> >, complex<double> >,
27 typedef Eigen::Matrix<complex<
double>,Eigen::Dynamic,Eigen::Dynamic>
MatrixType;
42 size_t Lcell =
P.size();
44 for (
size_t l=0; l<
N_sites; ++l)
N_phys +=
P.get<
size_t>(
"Ly",l%Lcell);
45 this->
calc(P.get<
size_t>(
"maxPower"));
65 {
"t",1.+0.i}, {
"tPrime",0.+0.i}, {
"tRung",1.+0.i},
68 {
"V",0.}, {
"Vrung",0.},
69 {
"Vxy",0.}, {
"Vz",0.},
71 {
"J",0.}, {
"Jperp",0.}, {
"J3site",0.},
72 {
"X",0.}, {
"Xperp",0.},
73 {
"REMOVE_DOUBLE",
false}, {
"REMOVE_EMPTY",
false}, {
"REMOVE_UP",
false}, {
"REMOVE_DN",
false}, {
"mfactor",1}, {
"k",0},
74 {
"maxPower",2ul}, {
"CYLINDER",
false}, {
"Ly",1ul}
79 {
"max_alpha",100.}, {
"min_alpha",1.}, {
"lim_alpha",11ul}, {
"eps_svd",1e-7},
80 {
"Mincr_abs", 50ul}, {
"Mincr_per", 2ul}, {
"Mincr_rel", 1.1},
81 {
"min_Nsv",0ul}, {
"max_Nrich",-1},
82 {
"max_halfsweeps",24ul}, {
"min_halfsweeps",1ul},
83 {
"Minit",2ul}, {
"Qinit",2ul}, {
"Mlimit",1000ul},
84 {
"tol_eigval",1e-7}, {
"tol_state",1e-6},
95 size_t Lcell =
P.size();
97 for (
size_t l=0; l<
N_sites; ++l)
99 N_phys +=
P.get<
size_t>(
"Ly",l%Lcell);
106 std::vector<std::vector<std::string>> labellist;
std::enable_if< Dummy::IS_SPIN_SU2() and!Dummy::IS_CHARGE_SU2(), Mpo< Sym::S1xS2< Sym::U1< Sym::ChargeU1 >, Sym::ZN< Sym::Momentum, YMOMENTUM > >, complex< double > > >::type P(size_t locx1, size_t locx2, size_t locy1=0, size_t locy2=0) const
vector< FermionBase< Sym::S1xS2< Sym::U1< Sym::ChargeU1 >, Sym::ZN< Sym::Momentum, YMOMENTUM > > > > F
void finalize(const bool COMPRESS=true, const std::size_t power=1, const double tolerance=::mynumeric_limits< double >::epsilon())
void setLocBasis(const std::vector< std::vector< qType > > &q)
DMRG::VERBOSITY::OPTION VERB
void calc(const std::size_t power)
void set_name(const std::string &label_in)
void precalc_TwoSiteData(bool FORCE=false)
void construct_from_pushlist(const PushType< OperatorType, CouplScalar > &pushlist, const std::vector< std::vector< std::string > > &labellist, size_t Lcell)
static void set_operators(const std::vector< FermionBase< Symmetry_ > > &F, const ParamHandler &P, PushType< SiteOperator< Symmetry_, complex< double > >, complex< double > > &pushlist, std::vector< std::vector< std::string > > &labellist, const BC boundary=BC::OPEN)
Sym::S1xS2< Sym::U1< Sym::ChargeU1 >, Sym::ZN< Sym::Momentum, YMOMENTUM > > Symmetry
static qarray< 1 > singlet(int N=0)
Eigen::Matrix< complex< double >, Eigen::Dynamic, Eigen::Dynamic > MatrixType
static const map< string, any > defaults
static constexpr int spinfac
static const map< string, any > sweep_defaults
PeierlsHubbardU1xZN(Mpo< Symmetry, complex< double > > &Mpo_input, const vector< Param > ¶ms)
static constexpr MODEL_FAMILY FAMILY
#define MAKE_TYPEDEFS(MODEL)