VMPS++
Loading...
Searching...
No Matches
HubbardKspace< MODEL > Class Template Reference

Detailed Description

template<typename MODEL>
class HubbardKspace< MODEL >

Definition at line 69 of file HubbardKspace.h.

#include <HubbardKspace.h>

Public Types

typedef Mpo< typename MODEL::Symmetry, typename MODEL::Scalar_ > OPERATOR
 

Public Member Functions

 HubbardKspace ()
 
 HubbardKspace (const MatrixXcd &UU_input, double U_input, DMRG::VERBOSITY::OPTION VERB_input=DMRG::VERBOSITY::SILENT, bool VUMPS_input=false, vector< int > x_input={}, vector< int > y_input={})
 
 HubbardKspace (const MatrixXcd &UU_input, double U_input, const vector< Param > &params, DMRG::VERBOSITY::OPTION VERB_input=DMRG::VERBOSITY::SILENT, bool VUMPS_input=false, vector< int > x_input={}, vector< int > y_input={})
 
string info () const
 
template<class Dummy = typename MODEL::Symmetry>
std::enable_if< Dummy::IS_SPIN_SU2(), void >::type compute_raw ()
 
template<class Dummy = typename MODEL::Symmetry>
std::enable_if<!Dummy::IS_SPIN_SU2(), void >::type compute_raw ()
 
template<class Dummy = typename MODEL::Symmetry>
std::enable_if< Dummy::IS_SPIN_SU2(), void >::type compute_MPO ()
 
template<class Dummy = typename MODEL::Symmetry>
std::enable_if<!Dummy::IS_SPIN_SU2(), void >::type compute_MPO ()
 
KspaceHTerms< MODEL > get_Hterms () const
 
MODEL sum_all () const
 
MODEL sum_all (const ArrayXXcd &hopping) const
 
MODEL sum_2site () const
 
MODEL sum_3site () const
 
MODEL sum_4site () const
 
Mpo< typename MODEL::Symmetry, typename MODEL::Scalar_ > sum_all_mpo () const
 
Mpo< typename MODEL::Symmetry, typename MODEL::Scalar_ > sum_2site_mpo () const
 

Private Attributes

vector< Param > dummy_params
 
DMRG::VERBOSITY::OPTION VERB
 
size_t L
 
size_t Lred
 
MatrixXcd UU
 
double U
 
map< tuple< int, int, int, int >, typename MODEL::Scalar_ > Umap
 
bool VUMPS
 
vector< int > x
 
vector< int > y
 
KspaceRawTerms< typename MODEL::Scalar_ > Raw
 
KspaceMpoTerms< MODEL > Terms
 
KspaceHTerms< MODEL > Hterms
 

Member Typedef Documentation

◆ OPERATOR

template<typename MODEL >
typedef Mpo<typename MODEL::Symmetry, typename MODEL::Scalar_> HubbardKspace< MODEL >::OPERATOR

Definition at line 73 of file HubbardKspace.h.

Constructor & Destructor Documentation

◆ HubbardKspace() [1/3]

template<typename MODEL >
HubbardKspace< MODEL >::HubbardKspace ( )
inline

Definition at line 75 of file HubbardKspace.h.

◆ HubbardKspace() [2/3]

template<typename MODEL >
HubbardKspace< MODEL >::HubbardKspace ( const MatrixXcd &  UU_input,
double  U_input,
DMRG::VERBOSITY::OPTION  VERB_input = DMRG::VERBOSITY::SILENT,
bool  VUMPS_input = false,
vector< int >  x_input = {},
vector< int >  y_input = {} 
)
inline

Definition at line 79 of file HubbardKspace.h.

◆ HubbardKspace() [3/3]

template<typename MODEL >
HubbardKspace< MODEL >::HubbardKspace ( const MatrixXcd &  UU_input,
double  U_input,
const vector< Param > &  params,
DMRG::VERBOSITY::OPTION  VERB_input = DMRG::VERBOSITY::SILENT,
bool  VUMPS_input = false,
vector< int >  x_input = {},
vector< int >  y_input = {} 
)
inline

Definition at line 110 of file HubbardKspace.h.

Member Function Documentation

◆ compute_MPO() [1/2]

template<typename MODEL >
template<typename Dummy >
std::enable_if<!Dummy::IS_SPIN_SU2(), void >::type HubbardKspace< MODEL >::compute_MPO

Definition at line 469 of file HubbardKspace.h.

◆ compute_MPO() [2/2]

template<typename MODEL >
template<class Dummy = typename MODEL::Symmetry>
std::enable_if<!Dummy::IS_SPIN_SU2(), void >::type HubbardKspace< MODEL >::compute_MPO ( )

◆ compute_raw() [1/2]

template<typename MODEL >
template<typename Dummy >
std::enable_if<!Dummy::IS_SPIN_SU2(), void >::type HubbardKspace< MODEL >::compute_raw

Definition at line 204 of file HubbardKspace.h.

◆ compute_raw() [2/2]

template<typename MODEL >
template<class Dummy = typename MODEL::Symmetry>
std::enable_if<!Dummy::IS_SPIN_SU2(), void >::type HubbardKspace< MODEL >::compute_raw ( )

◆ get_Hterms()

template<typename MODEL >
KspaceHTerms< MODEL > HubbardKspace< MODEL >::get_Hterms ( ) const
inline

Definition at line 152 of file HubbardKspace.h.

◆ info()

template<typename MODEL >
string HubbardKspace< MODEL >::info

Definition at line 186 of file HubbardKspace.h.

◆ sum_2site()

template<typename MODEL >
MODEL HubbardKspace< MODEL >::sum_2site

Definition at line 1366 of file HubbardKspace.h.

◆ sum_2site_mpo()

template<typename MODEL >
Mpo< typename MODEL::Symmetry, typename MODEL::Scalar_ > HubbardKspace< MODEL >::sum_2site_mpo

Definition at line 1352 of file HubbardKspace.h.

◆ sum_3site()

template<typename MODEL >
MODEL HubbardKspace< MODEL >::sum_3site

Definition at line 1380 of file HubbardKspace.h.

◆ sum_4site()

template<typename MODEL >
MODEL HubbardKspace< MODEL >::sum_4site

Definition at line 1393 of file HubbardKspace.h.

◆ sum_all() [1/2]

template<typename MODEL >
MODEL HubbardKspace< MODEL >::sum_all

Definition at line 1258 of file HubbardKspace.h.

◆ sum_all() [2/2]

template<typename MODEL >
MODEL HubbardKspace< MODEL >::sum_all ( const ArrayXXcd &  hopping) const

Definition at line 1276 of file HubbardKspace.h.

◆ sum_all_mpo()

template<typename MODEL >
Mpo< typename MODEL::Symmetry, typename MODEL::Scalar_ > HubbardKspace< MODEL >::sum_all_mpo

Definition at line 1332 of file HubbardKspace.h.

Member Data Documentation

◆ dummy_params

template<typename MODEL >
vector<Param> HubbardKspace< MODEL >::dummy_params
private

Definition at line 164 of file HubbardKspace.h.

◆ Hterms

template<typename MODEL >
KspaceHTerms<MODEL> HubbardKspace< MODEL >::Hterms
private

Definition at line 182 of file HubbardKspace.h.

◆ L

template<typename MODEL >
size_t HubbardKspace< MODEL >::L
private

Definition at line 168 of file HubbardKspace.h.

◆ Lred

template<typename MODEL >
size_t HubbardKspace< MODEL >::Lred
private

Definition at line 169 of file HubbardKspace.h.

◆ Raw

template<typename MODEL >
KspaceRawTerms<typename MODEL::Scalar_> HubbardKspace< MODEL >::Raw
private

Definition at line 180 of file HubbardKspace.h.

◆ Terms

template<typename MODEL >
KspaceMpoTerms<MODEL> HubbardKspace< MODEL >::Terms
private

Definition at line 181 of file HubbardKspace.h.

◆ U

template<typename MODEL >
double HubbardKspace< MODEL >::U
private

Definition at line 171 of file HubbardKspace.h.

◆ Umap

template<typename MODEL >
map<tuple<int,int,int,int>,typename MODEL::Scalar_> HubbardKspace< MODEL >::Umap
private

Definition at line 172 of file HubbardKspace.h.

◆ UU

template<typename MODEL >
MatrixXcd HubbardKspace< MODEL >::UU
private

Definition at line 170 of file HubbardKspace.h.

◆ VERB

template<typename MODEL >
DMRG::VERBOSITY::OPTION HubbardKspace< MODEL >::VERB
private

Definition at line 166 of file HubbardKspace.h.

◆ VUMPS

template<typename MODEL >
bool HubbardKspace< MODEL >::VUMPS
private

Definition at line 174 of file HubbardKspace.h.

◆ x

template<typename MODEL >
vector<int> HubbardKspace< MODEL >::x
private

Definition at line 177 of file HubbardKspace.h.

◆ y

template<typename MODEL >
vector<int> HubbardKspace< MODEL >::y
private

Definition at line 178 of file HubbardKspace.h.


The documentation for this class was generated from the following file: