VMPS++
Loading...
Searching...
No Matches
EDSolver< Operator > Class Template Reference

Detailed Description

template<typename Operator>
class EDSolver< Operator >

Definition at line 16 of file SiteOperatorQ.h.

#include <SiteOperatorQ.h>

Public Member Functions

 EDSolver ()
 
 EDSolver (const Operator &Op_in, const std::vector< qType > &blocks_in={}, Eigen::DecompositionOptions opt_in=Eigen::DecompositionOptions::EigenvaluesOnly)
 
void compute (const Operator &Op, const std::vector< qType > &blocks={}, Eigen::DecompositionOptions opt=Eigen::DecompositionOptions::EigenvaluesOnly)
 
const Operator & eigenvalues () const
 
const Operator & eigenvectors () const
 
Operator groundstate (qType Q) const
 

Private Types

typedef Operator::qType qType
 
typedef Operator::MatrixType MatrixType
 

Private Attributes

Operator eigvals_
 
Operator eigvecs_
 
bool COMPUTED =false
 

Member Typedef Documentation

◆ MatrixType

template<typename Operator >
typedef Operator::MatrixType EDSolver< Operator >::MatrixType
private

Definition at line 19 of file SiteOperatorQ.h.

◆ qType

template<typename Operator >
typedef Operator::qType EDSolver< Operator >::qType
private

Definition at line 18 of file SiteOperatorQ.h.

Constructor & Destructor Documentation

◆ EDSolver() [1/2]

template<typename Operator >
EDSolver< Operator >::EDSolver ( )
inline

Definition at line 21 of file SiteOperatorQ.h.

◆ EDSolver() [2/2]

template<typename Operator >
EDSolver< Operator >::EDSolver ( const Operator &  Op_in,
const std::vector< qType > &  blocks_in = {},
Eigen::DecompositionOptions  opt_in = Eigen::DecompositionOptions::EigenvaluesOnly 
)
inline

Definition at line 22 of file SiteOperatorQ.h.

Member Function Documentation

◆ compute()

template<typename Operator >
void EDSolver< Operator >::compute ( const Operator &  Op,
const std::vector< qType > &  blocks = {},
Eigen::DecompositionOptions  opt = Eigen::DecompositionOptions::EigenvaluesOnly 
)

Definition at line 39 of file SiteOperatorQ.h.

◆ eigenvalues()

template<typename Operator >
const Operator & EDSolver< Operator >::eigenvalues ( ) const
inline

Definition at line 27 of file SiteOperatorQ.h.

◆ eigenvectors()

template<typename Operator >
const Operator & EDSolver< Operator >::eigenvectors ( ) const
inline

Definition at line 28 of file SiteOperatorQ.h.

◆ groundstate()

template<typename Operator >
Operator EDSolver< Operator >::groundstate ( qType  Q) const

Definition at line 64 of file SiteOperatorQ.h.

Member Data Documentation

◆ COMPUTED

template<typename Operator >
bool EDSolver< Operator >::COMPUTED =false
private

Definition at line 35 of file SiteOperatorQ.h.

◆ eigvals_

template<typename Operator >
Operator EDSolver< Operator >::eigvals_
private

Definition at line 33 of file SiteOperatorQ.h.

◆ eigvecs_

template<typename Operator >
Operator EDSolver< Operator >::eigvecs_
private

Definition at line 34 of file SiteOperatorQ.h.


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