VMPS++
Loading...
Searching...
No Matches
SpinSite< Symmetry_, order > Class Template Reference

Detailed Description

template<typename Symmetry_, size_t order = 0ul>
class SpinSite< Symmetry_, order >

Definition at line 15 of file SpinSite.h.

#include <SpinSite.h>

Inheritance diagram for SpinSite< Symmetry_, order >:

Public Member Functions

 SpinSite ()
 
 SpinSite (std::size_t D_input, int mfactor_input=1)
 
OperatorType Id_1s () const
 
OperatorType Zero_1s () const
 
OperatorType F_1s () const
 
OperatorType n_1s () const
 
OperatorType Sz_1s () const
 
OperatorType Sp_1s () const
 
OperatorType Sm_1s () const
 
OperatorType Qz_1s () const
 
OperatorType Qp_1s () const
 
OperatorType Qm_1s () const
 
OperatorType Qpz_1s () const
 
OperatorType Qmz_1s () const
 
OperatorType exp_i_pi_Sx () const
 
OperatorType exp_i_pi_Sy () const
 
ComplexOperatorType exp_i_pi_Sz () const
 
Qbasis< Symmetrybasis_1s () const
 

Protected Member Functions

void fill_basis ()
 
void fill_SiteOps ()
 
Symmetry_::qType getQ (SPINOP_LABEL Sa) const
 

Protected Attributes

std::size_t D
 
int mfactor = 1
 
Qbasis< Symmetrybasis_1s_
 
OperatorType Id_1s_
 
OperatorType Zero_1s_
 
OperatorType F_1s_
 
OperatorType n_1s_
 
OperatorType Sz_1s_
 
OperatorType Sp_1s_
 
OperatorType Sm_1s_
 
OperatorType Qz_1s_
 
OperatorType Qp_1s_
 
OperatorType Qm_1s_
 
OperatorType Qpz_1s_
 
OperatorType Qmz_1s_
 
OperatorType exp_i_pi_Sx_1s_
 
OperatorType exp_i_pi_Sy_1s_
 
ComplexOperatorType exp_i_pi_Sz_1s_
 

Private Types

typedef double Scalar
 
typedef Symmetry_ Symmetry
 
typedef SiteOperatorQ< Symmetry, Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > > OperatorType
 
typedef SiteOperatorQ< Symmetry, Eigen::Matrix< complex< Scalar >, Eigen::Dynamic, Eigen::Dynamic > > ComplexOperatorType
 

Member Typedef Documentation

◆ ComplexOperatorType

template<typename Symmetry_ , size_t order = 0ul>
typedef SiteOperatorQ<Symmetry,Eigen::Matrix<complex<Scalar>,Eigen::Dynamic,Eigen::Dynamic> > SpinSite< Symmetry_, order >::ComplexOperatorType
private

Definition at line 20 of file SpinSite.h.

◆ OperatorType

template<typename Symmetry_ , size_t order = 0ul>
typedef SiteOperatorQ<Symmetry,Eigen::Matrix<Scalar,Eigen::Dynamic,Eigen::Dynamic> > SpinSite< Symmetry_, order >::OperatorType
private

Definition at line 19 of file SpinSite.h.

◆ Scalar

template<typename Symmetry_ , size_t order = 0ul>
typedef double SpinSite< Symmetry_, order >::Scalar
private

Definition at line 17 of file SpinSite.h.

◆ Symmetry

template<typename Symmetry_ , size_t order = 0ul>
typedef Symmetry_ SpinSite< Symmetry_, order >::Symmetry
private

Definition at line 18 of file SpinSite.h.

Constructor & Destructor Documentation

◆ SpinSite() [1/2]

template<typename Symmetry_ , size_t order = 0ul>
SpinSite< Symmetry_, order >::SpinSite ( )
inline

Definition at line 24 of file SpinSite.h.

◆ SpinSite() [2/2]

template<typename Symmetry_ , size_t order>
SpinSite< Symmetry_, order >::SpinSite ( std::size_t  D_input,
int  mfactor_input = 1 
)

Definition at line 89 of file SpinSite.h.

Member Function Documentation

◆ basis_1s()

template<typename Symmetry_ , size_t order = 0ul>
Qbasis< Symmetry > SpinSite< Symmetry_, order >::basis_1s ( ) const
inline

Definition at line 50 of file SpinSite.h.

◆ exp_i_pi_Sx()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::exp_i_pi_Sx ( ) const
inline

Definition at line 46 of file SpinSite.h.

◆ exp_i_pi_Sy()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::exp_i_pi_Sy ( ) const
inline

Definition at line 47 of file SpinSite.h.

◆ exp_i_pi_Sz()

template<typename Symmetry_ , size_t order = 0ul>
ComplexOperatorType SpinSite< Symmetry_, order >::exp_i_pi_Sz ( ) const
inline

Definition at line 48 of file SpinSite.h.

◆ F_1s()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::F_1s ( ) const
inline

Definition at line 30 of file SpinSite.h.

◆ fill_basis()

template<typename Symmetry_ , size_t order>
void SpinSite< Symmetry_, order >::fill_basis
protected

Definition at line 204 of file SpinSite.h.

◆ fill_SiteOps()

template<typename Symmetry_ , size_t order>
void SpinSite< Symmetry_, order >::fill_SiteOps
protected

Definition at line 101 of file SpinSite.h.

◆ getQ()

template<typename Symmetry_ , size_t order>
Symmetry_::qType SpinSite< Symmetry_, order >::getQ ( SPINOP_LABEL  Sa) const
protected

Returns the quantum numbers of the operators for the different combinations of U1 symmetries.

Definition at line 287 of file SpinSite.h.

◆ Id_1s()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Id_1s ( ) const
inline

Definition at line 28 of file SpinSite.h.

◆ n_1s()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::n_1s ( ) const
inline

Definition at line 32 of file SpinSite.h.

◆ Qm_1s()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Qm_1s ( ) const
inline

Definition at line 42 of file SpinSite.h.

◆ Qmz_1s()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Qmz_1s ( ) const
inline

Definition at line 44 of file SpinSite.h.

◆ Qp_1s()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Qp_1s ( ) const
inline

Definition at line 41 of file SpinSite.h.

◆ Qpz_1s()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Qpz_1s ( ) const
inline

Definition at line 43 of file SpinSite.h.

◆ Qz_1s()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Qz_1s ( ) const
inline

Definition at line 40 of file SpinSite.h.

◆ Sm_1s()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Sm_1s ( ) const
inline

Definition at line 37 of file SpinSite.h.

◆ Sp_1s()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Sp_1s ( ) const
inline

Definition at line 36 of file SpinSite.h.

◆ Sz_1s()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Sz_1s ( ) const
inline

Definition at line 35 of file SpinSite.h.

◆ Zero_1s()

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Zero_1s ( ) const
inline

Definition at line 29 of file SpinSite.h.

Member Data Documentation

◆ basis_1s_

template<typename Symmetry_ , size_t order = 0ul>
Qbasis<Symmetry> SpinSite< Symmetry_, order >::basis_1s_
protected

Definition at line 63 of file SpinSite.h.

◆ D

template<typename Symmetry_ , size_t order = 0ul>
std::size_t SpinSite< Symmetry_, order >::D
protected

Definition at line 54 of file SpinSite.h.

◆ exp_i_pi_Sx_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::exp_i_pi_Sx_1s_
protected

Definition at line 83 of file SpinSite.h.

◆ exp_i_pi_Sy_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::exp_i_pi_Sy_1s_
protected

Definition at line 84 of file SpinSite.h.

◆ exp_i_pi_Sz_1s_

template<typename Symmetry_ , size_t order = 0ul>
ComplexOperatorType SpinSite< Symmetry_, order >::exp_i_pi_Sz_1s_
protected

Definition at line 85 of file SpinSite.h.

◆ F_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::F_1s_
protected

Definition at line 67 of file SpinSite.h.

◆ Id_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Id_1s_
protected

Definition at line 65 of file SpinSite.h.

◆ mfactor

template<typename Symmetry_ , size_t order = 0ul>
int SpinSite< Symmetry_, order >::mfactor = 1
protected

Definition at line 55 of file SpinSite.h.

◆ n_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::n_1s_
protected

Definition at line 69 of file SpinSite.h.

◆ Qm_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Qm_1s_
protected

Definition at line 79 of file SpinSite.h.

◆ Qmz_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Qmz_1s_
protected

Definition at line 81 of file SpinSite.h.

◆ Qp_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Qp_1s_
protected

Definition at line 78 of file SpinSite.h.

◆ Qpz_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Qpz_1s_
protected

Definition at line 80 of file SpinSite.h.

◆ Qz_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Qz_1s_
protected

Definition at line 77 of file SpinSite.h.

◆ Sm_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Sm_1s_
protected

Definition at line 74 of file SpinSite.h.

◆ Sp_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Sp_1s_
protected

Definition at line 73 of file SpinSite.h.

◆ Sz_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Sz_1s_
protected

Definition at line 72 of file SpinSite.h.

◆ Zero_1s_

template<typename Symmetry_ , size_t order = 0ul>
OperatorType SpinSite< Symmetry_, order >::Zero_1s_
protected

Definition at line 66 of file SpinSite.h.


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