VMPS++
Loading...
Searching...
No Matches
SiteOperator.h File Reference
#include "numeric_limits.h"
Include dependency graph for SiteOperator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SiteOperator< Symmetry, Scalar_ >
 

Functions

template<typename Symmetry , typename Scalar_ >
SiteOperator< Symmetry, Scalar_ > operator* (const SiteOperator< Symmetry, Scalar_ > &O1, const SiteOperator< Symmetry, Scalar_ > &O2)
 
template<typename Symmetry , typename Scalar_ >
SiteOperator< Symmetry, Scalar_ > operator+ (const SiteOperator< Symmetry, Scalar_ > &O1, const SiteOperator< Symmetry, Scalar_ > &O2)
 
template<typename Symmetry , typename Scalar_ >
SiteOperator< Symmetry, Scalar_ > operator- (const SiteOperator< Symmetry, Scalar_ > &O1, const SiteOperator< Symmetry, Scalar_ > &O2)
 
template<typename Symmetry , typename Scalar_ , typename OtherScalar >
SiteOperator< Symmetry, Scalar_ > operator* (const OtherScalar &x, const SiteOperator< Symmetry, Scalar_ > &O)
 
template<typename Symmetry , typename Scalar_ >
SiteOperator< Symmetry, Scalar_ > kroneckerProduct (const SiteOperator< Symmetry, Scalar_ > &O1, const SiteOperator< Symmetry, Scalar_ > &O2)
 
template<typename Symmetry , typename Scalar_ >
bool operator== (const SiteOperator< Symmetry, Scalar_ > &O1, const SiteOperator< Symmetry, Scalar_ > &O2)
 
template<typename Symmetry , typename Scalar_ >
SiteOperator< Symmetry, Scalar_ > operator* (const SiteOperator< Symmetry, Scalar_ > &op, const Scalar_ &lambda)
 

Function Documentation

◆ kroneckerProduct()

template<typename Symmetry , typename Scalar_ >
SiteOperator< Symmetry, Scalar_ > kroneckerProduct ( const SiteOperator< Symmetry, Scalar_ > &  O1,
const SiteOperator< Symmetry, Scalar_ > &  O2 
)

Definition at line 164 of file SiteOperator.h.

◆ operator*() [1/3]

template<typename Symmetry , typename Scalar_ , typename OtherScalar >
SiteOperator< Symmetry, Scalar_ > operator* ( const OtherScalar &  x,
const SiteOperator< Symmetry, Scalar_ > &  O 
)

Definition at line 143 of file SiteOperator.h.

◆ operator*() [2/3]

template<typename Symmetry , typename Scalar_ >
SiteOperator< Symmetry, Scalar_ > operator* ( const SiteOperator< Symmetry, Scalar_ > &  O1,
const SiteOperator< Symmetry, Scalar_ > &  O2 
)

Definition at line 99 of file SiteOperator.h.

◆ operator*() [3/3]

template<typename Symmetry , typename Scalar_ >
SiteOperator< Symmetry, Scalar_ > operator* ( const SiteOperator< Symmetry, Scalar_ > &  op,
const Scalar_ &  lambda 
)

Definition at line 183 of file SiteOperator.h.

◆ operator+()

template<typename Symmetry , typename Scalar_ >
SiteOperator< Symmetry, Scalar_ > operator+ ( const SiteOperator< Symmetry, Scalar_ > &  O1,
const SiteOperator< Symmetry, Scalar_ > &  O2 
)

Definition at line 113 of file SiteOperator.h.

◆ operator-()

template<typename Symmetry , typename Scalar_ >
SiteOperator< Symmetry, Scalar_ > operator- ( const SiteOperator< Symmetry, Scalar_ > &  O1,
const SiteOperator< Symmetry, Scalar_ > &  O2 
)

Definition at line 128 of file SiteOperator.h.

◆ operator==()

template<typename Symmetry , typename Scalar_ >
bool operator== ( const SiteOperator< Symmetry, Scalar_ > &  O1,
const SiteOperator< Symmetry, Scalar_ > &  O2 
)

Definition at line 173 of file SiteOperator.h.