Xped
Loading...
Searching...
No Matches
Xped::Energy< Scalar, Symmetry, CPOpts, TRank > Class Template Referencefinal

#include <CeresSolve.hpp>

Inheritance diagram for Xped::Energy< Scalar, Symmetry, CPOpts, TRank >:
Collaboration diagram for Xped::Energy< Scalar, Symmetry, CPOpts, TRank >:

Public Member Functions

 Energy (std::unique_ptr< CTMSolver< Scalar, Symmetry, CPOpts, TRank > > solver, Hamiltonian< Symmetry > &op, std::shared_ptr< iPEPS< Scalar, Symmetry, false > > Psi)
 
 ~Energy () override
 
bool Evaluate (const double *parameters, double *cost, double *gradient) const override
 
int NumParameters () const override
 

Public Attributes

std::unique_ptr< CTMSolver< Scalar, Symmetry, CPOpts, TRank > > impl
 
Hamiltonian< Symmetry > & op
 
std::shared_ptr< iPEPS< Scalar, Symmetry, false > > Psi
 

Constructor & Destructor Documentation

◆ Energy()

template<typename Scalar , typename Symmetry , Opts::CTMCheckpoint CPOpts, std::size_t TRank = 2>
Xped::Energy< Scalar, Symmetry, CPOpts, TRank >::Energy ( std::unique_ptr< CTMSolver< Scalar, Symmetry, CPOpts, TRank > >  solver,
Hamiltonian< Symmetry > &  op,
std::shared_ptr< iPEPS< Scalar, Symmetry, false > >  Psi 
)
inline

◆ ~Energy()

template<typename Scalar , typename Symmetry , Opts::CTMCheckpoint CPOpts, std::size_t TRank = 2>
Xped::Energy< Scalar, Symmetry, CPOpts, TRank >::~Energy ( )
inlineoverride

Member Function Documentation

◆ Evaluate()

template<typename Scalar , typename Symmetry , Opts::CTMCheckpoint CPOpts, std::size_t TRank = 2>
bool Xped::Energy< Scalar, Symmetry, CPOpts, TRank >::Evaluate ( const double *  parameters,
double *  cost,
double *  gradient 
) const
inlineoverride

◆ NumParameters()

template<typename Scalar , typename Symmetry , Opts::CTMCheckpoint CPOpts, std::size_t TRank = 2>
int Xped::Energy< Scalar, Symmetry, CPOpts, TRank >::NumParameters ( ) const
inlineoverride

Member Data Documentation

◆ impl

template<typename Scalar , typename Symmetry , Opts::CTMCheckpoint CPOpts, std::size_t TRank = 2>
std::unique_ptr<CTMSolver<Scalar, Symmetry, CPOpts, TRank> > Xped::Energy< Scalar, Symmetry, CPOpts, TRank >::impl

◆ op

template<typename Scalar , typename Symmetry , Opts::CTMCheckpoint CPOpts, std::size_t TRank = 2>
Hamiltonian<Symmetry>& Xped::Energy< Scalar, Symmetry, CPOpts, TRank >::op

◆ Psi

template<typename Scalar , typename Symmetry , Opts::CTMCheckpoint CPOpts, std::size_t TRank = 2>
std::shared_ptr<iPEPS<Scalar, Symmetry, false> > Xped::Energy< Scalar, Symmetry, CPOpts, TRank >::Psi

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