1#ifndef HUBBARDMODELSU2XU1XZN_H_
2#define HUBBARDMODELSU2XU1XZN_H_
16#include "Geometry2D.h"
22public Mpo<Sym::S1xS2<Sym::S1xS2<Sym::SU2<Sym::SpinSU2>,Sym::U1<Sym::ChargeU1> >,Sym::ZN<Sym::Momentum,YMOMENTUM>>>,
23public HubbardObservables<Sym::S1xS2<Sym::S1xS2<Sym::SU2<Sym::SpinSU2>,Sym::U1<Sym::ChargeU1> >,Sym::ZN<Sym::Momentum,YMOMENTUM>>>,
30 typedef Eigen::Matrix<
double,Eigen::Dynamic,Eigen::Dynamic>
MatrixType;
49 size_t Lcell =
P.size();
51 for (
size_t l=0; l<
N_sites; ++l)
N_phys +=
P.get<
size_t>(
"Ly",l%Lcell);
72 {
"t",1.}, {
"tPrime",0.}, {
"tRung",1.}, {
"tPrimePrime",0.},
75 {
"V",0.}, {
"Vext",0.}, {
"Vrung",0.},
76 {
"Vz",0.}, {
"Vzrung",0.}, {
"Vxy",0.}, {
"Vxyrung",0.},
77 {
"J",0.}, {
"Jperp",0.},
78 {
"X",0.}, {
"Xrung",0.},
79 {
"REMOVE_DOUBLE",
false}, {
"REMOVE_EMPTY",
false}, {
"REMOVE_UP",
false}, {
"REMOVE_DN",
false}, {
"mfactor",1}, {
"k",0},
80 {
"maxPower",2ul}, {
"CYLINDER",
false}, {
"Ly",1ul}
85 {
"max_alpha",100.}, {
"min_alpha",1.}, {
"lim_alpha",21ul}, {
"eps_svd",1e-7},
86 {
"Mincr_abs", 50ul}, {
"Mincr_per", 4ul}, {
"Mincr_rel", 1.1},
87 {
"min_Nsv",0ul}, {
"max_Nrich",-1},
88 {
"max_halfsweeps",24ul}, {
"min_halfsweeps",1ul},
89 {
"Minit",2ul}, {
"Qinit",2ul}, {
"Mlimit",1000ul},
90 {
"tol_eigval",1e-7}, {
"tol_state",1e-6},
100 ParamHandler P(params,defaults);
101 size_t Lcell = P.size();
103 for (
size_t l=0; l<N_sites; ++l)
105 N_phys += P.get<
size_t>(
"Ly",l%Lcell);
106 setLocBasis(F[l].get_basis().qloc(),l);
109 this->set_name(
"Hubbard");
112 std::vector<std::vector<std::string>> labellist;
115 this->construct_from_pushlist(pushlist, labellist, Lcell);
118 this->precalc_TwoSiteData();
std::enable_if< Dummy::IS_SPIN_SU2() and!Dummy::IS_CHARGE_SU2(), Mpo< Sym::S1xS2< Sym::S1xS2< Sym::SU2< Sym::SpinSU2 >, Sym::U1< Sym::ChargeU1 > >, Sym::ZN< Sym::Momentum, YMOMENTUM > >, double > >::type P(size_t locx1, size_t locx2, size_t locy1=0, size_t locy2=0) const
DMRG::VERBOSITY::OPTION VERB
void precalc_TwoSiteData(bool FORCE=false)
static const map< string, any > defaults
static const map< string, any > sweep_defaults
static void set_operators(const std::vector< FermionBase< Symmetry_ > > &F, const ParamHandler &P, PushType< SiteOperator< Symmetry_, double >, double > &pushlist, std::vector< std::vector< std::string > > &labellist, const BC boundary=BC::OPEN)
HubbardSU2xU1xZN(Mpo< Symmetry > &Mpo_input, const vector< Param > ¶ms)
static qarray< 2 > singlet(int N=0)
static const map< string, any > sweep_defaults
static constexpr MODEL_FAMILY FAMILY
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixType
Sym::S1xS2< Sym::S1xS2< Sym::SU2< Sym::SpinSU2 >, Sym::U1< Sym::ChargeU1 > >, Sym::ZN< Sym::Momentum, YMOMENTUM > > Symmetry
static const map< string, any > defaults
static constexpr int spinfac
#define MAKE_TYPEDEFS(MODEL)