1#ifndef XPED_PEPS_LINEAR_ALGEBRA_HPP_
2#define XPED_PEPS_LINEAR_ALGEBRA_HPP_
19template <
typename Scalar,
typename Symmetry, std::
size_t TRank,
bool ENABLE_AD, Opts::CTMCheckpo
int CPOpts,
typename OpScalar,
bool HERMITIAN>
20TMatrix<std::conditional_t<ENABLE_AD, stan::math::var, typename OneSiteObservable<OpScalar, Symmetry, HERMITIAN>::ObsScalar>>
21avg(XPED_CONST CTM<Scalar, Symmetry, TRank, ENABLE_AD, CPOpts>& env, OneSiteObservable<OpScalar, Symmetry, HERMITIAN>& op);
23template <
typename Scalar,
typename Symmetry, std::
size_t TRank,
bool ENABLE_AD, Opts::CTMCheckpo
int CPOpts,
typename OpScalar,
bool HERMITIAN>
24std::array<TMatrix<std::conditional_t<ENABLE_AD, stan::math::var, typename TwoSiteObservable<OpScalar, Symmetry, HERMITIAN>::ObsScalar>>, 4>
25avg(XPED_CONST CTM<Scalar, Symmetry, TRank, ENABLE_AD, CPOpts>& env, TwoSiteObservable<OpScalar, Symmetry, HERMITIAN>& op);
29#ifndef XPED_COMPILED_LIB
TMatrix< std::conditional_t< ENABLE_AD, stan::math::var, typename OneSiteObservable< OpScalar, Symmetry, HERMITIAN >::ObsScalar > > avg(XPED_CONST CTM< Scalar, Symmetry, TRank, ENABLE_AD, CPOpts > &env, OneSiteObservable< OpScalar, Symmetry, HERMITIAN > &op)
Definition: LinearAlgebra.cpp:11