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

Detailed Description

template<typename Symmetry, typename Scalar>
class TwoSiteGate< Symmetry, Scalar >

Definition at line 7 of file TwoSiteGate.h.

#include <TwoSiteGate.h>

Public Member Functions

 TwoSiteGate ()
 
 TwoSiteGate (const vector< vector< vector< vector< vector< Scalar > > > > > &data_in)
 
 TwoSiteGate (const Qbasis< Symmetry > &s1, const Qbasis< Symmetry > &s2)
 
void print () const
 
void setSwapGate (bool FERMIONIC=false)
 
void setIdentity ()
 
Qbasis< Symmetry > midBasis () const
 
Qbasis< Symmetry > leftBasis () const
 
Qbasis< Symmetry > rightBasis () const
 
void resize ()
 

Public Attributes

vector< vector< vector< vector< vector< Scalar > > > > > data
 
Qbasis< Symmetry > B1
 
Qbasis< Symmetry > B2
 
Qbasis< Symmetry > Bmid
 
vector< qarray< Symmetry::Nq > > qloc1
 
vector< qarray< Symmetry::Nq > > qloc2
 
vector< qarray< Symmetry::Nq > > qmid
 

Constructor & Destructor Documentation

◆ TwoSiteGate() [1/3]

template<typename Symmetry , typename Scalar >
TwoSiteGate< Symmetry, Scalar >::TwoSiteGate ( )
inline

Definition at line 10 of file TwoSiteGate.h.

◆ TwoSiteGate() [2/3]

template<typename Symmetry , typename Scalar >
TwoSiteGate< Symmetry, Scalar >::TwoSiteGate ( const vector< vector< vector< vector< vector< Scalar > > > > > &  data_in)
inline

Definition at line 11 of file TwoSiteGate.h.

◆ TwoSiteGate() [3/3]

template<typename Symmetry , typename Scalar >
TwoSiteGate< Symmetry, Scalar >::TwoSiteGate ( const Qbasis< Symmetry > &  s1,
const Qbasis< Symmetry > &  s2 
)

Definition at line 55 of file TwoSiteGate.h.

Member Function Documentation

◆ leftBasis()

template<typename Symmetry , typename Scalar >
Qbasis< Symmetry > TwoSiteGate< Symmetry, Scalar >::leftBasis ( ) const
inline

Definition at line 28 of file TwoSiteGate.h.

◆ midBasis()

template<typename Symmetry , typename Scalar >
Qbasis< Symmetry > TwoSiteGate< Symmetry, Scalar >::midBasis ( ) const
inline

Definition at line 27 of file TwoSiteGate.h.

◆ print()

template<typename Symmetry , typename Scalar >
void TwoSiteGate< Symmetry, Scalar >::print

Definition at line 133 of file TwoSiteGate.h.

◆ resize()

template<typename Symmetry , typename Scalar >
void TwoSiteGate< Symmetry, Scalar >::resize

Definition at line 68 of file TwoSiteGate.h.

◆ rightBasis()

template<typename Symmetry , typename Scalar >
Qbasis< Symmetry > TwoSiteGate< Symmetry, Scalar >::rightBasis ( ) const
inline

Definition at line 29 of file TwoSiteGate.h.

◆ setIdentity()

template<typename Symmetry , typename Scalar >
void TwoSiteGate< Symmetry, Scalar >::setIdentity

Definition at line 115 of file TwoSiteGate.h.

◆ setSwapGate()

template<typename Symmetry , typename Scalar >
void TwoSiteGate< Symmetry, Scalar >::setSwapGate ( bool  FERMIONIC = false)

Definition at line 92 of file TwoSiteGate.h.

Member Data Documentation

◆ B1

template<typename Symmetry , typename Scalar >
Qbasis<Symmetry> TwoSiteGate< Symmetry, Scalar >::B1

Definition at line 47 of file TwoSiteGate.h.

◆ B2

template<typename Symmetry , typename Scalar >
Qbasis<Symmetry> TwoSiteGate< Symmetry, Scalar >::B2

Definition at line 47 of file TwoSiteGate.h.

◆ Bmid

template<typename Symmetry , typename Scalar >
Qbasis<Symmetry> TwoSiteGate< Symmetry, Scalar >::Bmid

Definition at line 47 of file TwoSiteGate.h.

◆ data

template<typename Symmetry , typename Scalar >
vector<vector<vector<vector<vector<Scalar> > > > > TwoSiteGate< Symmetry, Scalar >::data

Definition at line 46 of file TwoSiteGate.h.

◆ qloc1

template<typename Symmetry , typename Scalar >
vector<qarray<Symmetry::Nq> > TwoSiteGate< Symmetry, Scalar >::qloc1

Definition at line 49 of file TwoSiteGate.h.

◆ qloc2

template<typename Symmetry , typename Scalar >
vector<qarray<Symmetry::Nq> > TwoSiteGate< Symmetry, Scalar >::qloc2

Definition at line 49 of file TwoSiteGate.h.

◆ qmid

template<typename Symmetry , typename Scalar >
vector<qarray<Symmetry::Nq> > TwoSiteGate< Symmetry, Scalar >::qmid

Definition at line 49 of file TwoSiteGate.h.


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