VMPS++
Loading...
Searching...
No Matches
SpinlessFermionsObservables< Symmetry, Scalar > Class Template Reference

Detailed Description

template<typename Symmetry, typename Scalar = double>
class SpinlessFermionsObservables< Symmetry, Scalar >

Definition at line 9 of file SpinlessFermionsObservables.h.

#include <SpinlessFermionsObservables.h>

Public Member Functions

 SpinlessFermionsObservables ()
 
 SpinlessFermionsObservables (const size_t &L)
 
 SpinlessFermionsObservables (const size_t &L, const vector< Param > &params, const std::map< string, std::any > &defaults)
 
Mpo< Symmetry, Scalar > c (size_t locx, size_t locy=0) const
 
Mpo< Symmetry, Scalar > cdag (size_t locx, size_t locy=0) const
 
Mpo< Symmetry, Scalar > n (size_t locx, size_t locy=0) const
 
Mpo< Symmetry, Scalar > nph (size_t locx, size_t locy=0) const
 
Mpo< Symmetry, Scalar > nn (size_t locx1, size_t locx2, size_t locy1=0, size_t locy2=0) const
 

Protected Member Functions

Mpo< Symmetry, Scalar > make_local (size_t locx, size_t locy, const OperatorType &Op, double factor, bool FERMIONIC=false, bool HERMITIAN=false) const
 
Mpo< Symmetry, Scalar > make_corr (string name1, string name2, size_t locx1, size_t locx2, size_t locy1, size_t locy2, const OperatorType &Op1, const OperatorType &Op2, bool BOTH_HERMITIAN=false) const
 

Protected Attributes

vector< SpinlessFermionBase< Symmetry > > F
 

Private Types

typedef SiteOperatorQ< Symmetry, Eigen::MatrixXd > OperatorType
 

Member Typedef Documentation

◆ OperatorType

template<typename Symmetry , typename Scalar = double>
typedef SiteOperatorQ<Symmetry,Eigen::MatrixXd> SpinlessFermionsObservables< Symmetry, Scalar >::OperatorType
private

Definition at line 11 of file SpinlessFermionsObservables.h.

Constructor & Destructor Documentation

◆ SpinlessFermionsObservables() [1/3]

template<typename Symmetry , typename Scalar = double>
SpinlessFermionsObservables< Symmetry, Scalar >::SpinlessFermionsObservables ( )
inline

Definition at line 16 of file SpinlessFermionsObservables.h.

◆ SpinlessFermionsObservables() [2/3]

template<typename Symmetry , typename Scalar >
SpinlessFermionsObservables< Symmetry, Scalar >::SpinlessFermionsObservables ( const size_t &  L)

Definition at line 52 of file SpinlessFermionsObservables.h.

◆ SpinlessFermionsObservables() [3/3]

template<typename Symmetry , typename Scalar >
SpinlessFermionsObservables< Symmetry, Scalar >::SpinlessFermionsObservables ( const size_t &  L,
const vector< Param > &  params,
const std::map< string, std::any > &  defaults 
)

Definition at line 59 of file SpinlessFermionsObservables.h.

Member Function Documentation

◆ c()

template<typename Symmetry , typename Scalar >
Mpo< Symmetry, Scalar > SpinlessFermionsObservables< Symmetry, Scalar >::c ( size_t  locx,
size_t  locy = 0 
) const

Definition at line 126 of file SpinlessFermionsObservables.h.

◆ cdag()

template<typename Symmetry , typename Scalar >
Mpo< Symmetry, Scalar > SpinlessFermionsObservables< Symmetry, Scalar >::cdag ( size_t  locx,
size_t  locy = 0 
) const

Definition at line 133 of file SpinlessFermionsObservables.h.

◆ make_corr()

template<typename Symmetry , typename Scalar >
Mpo< Symmetry, Scalar > SpinlessFermionsObservables< Symmetry, Scalar >::make_corr ( string  name1,
string  name2,
size_t  locx1,
size_t  locx2,
size_t  locy1,
size_t  locy2,
const OperatorType Op1,
const OperatorType Op2,
bool  BOTH_HERMITIAN = false 
) const
protected

Definition at line 103 of file SpinlessFermionsObservables.h.

◆ make_local()

template<typename Symmetry , typename Scalar >
Mpo< Symmetry, Scalar > SpinlessFermionsObservables< Symmetry, Scalar >::make_local ( size_t  locx,
size_t  locy,
const OperatorType Op,
double  factor,
bool  FERMIONIC = false,
bool  HERMITIAN = false 
) const
protected

Definition at line 75 of file SpinlessFermionsObservables.h.

◆ n()

template<typename Symmetry , typename Scalar >
Mpo< Symmetry, Scalar > SpinlessFermionsObservables< Symmetry, Scalar >::n ( size_t  locx,
size_t  locy = 0 
) const

1/āˆš2*(c+cā€ ), only possible with Z(2) symmetry or without symmetries Is of course zero for spinless fermions, good to have for consistency.

Definition at line 148 of file SpinlessFermionsObservables.h.

◆ nn()

template<typename Symmetry , typename Scalar >
Mpo< Symmetry, Scalar > SpinlessFermionsObservables< Symmetry, Scalar >::nn ( size_t  locx1,
size_t  locx2,
size_t  locy1 = 0,
size_t  locy2 = 0 
) const

1/āˆš2*(c+cā€ ), only possible with Z(2) symmetry or without symmetries Is of course zero for spinless fermions, good to have for consistency.

Definition at line 202 of file SpinlessFermionsObservables.h.

◆ nph()

template<typename Symmetry , typename Scalar >
Mpo< Symmetry, Scalar > SpinlessFermionsObservables< Symmetry, Scalar >::nph ( size_t  locx,
size_t  locy = 0 
) const

1/āˆš2*(c+cā€ ), only possible with Z(2) symmetry or without symmetries Is of course zero for spinless fermions, good to have for consistency.

Definition at line 155 of file SpinlessFermionsObservables.h.

Member Data Documentation

◆ F

template<typename Symmetry , typename Scalar = double>
vector<SpinlessFermionBase<Symmetry> > SpinlessFermionsObservables< Symmetry, Scalar >::F
protected

Definition at line 48 of file SpinlessFermionsObservables.h.


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