1#ifndef XPED_PEPS_CONTRACTIONS_H_
2#define XPED_PEPS_CONTRACTIONS_H_
10template <
typename Derived1,
typename Derived2>
14decompose(XPED_CONST TensorBase<Derived1>& T1, XPED_CONST TensorBase<Derived2>& T2,
const std::size_t max_nsv);
16template <
typename Scalar,
typename Symmetry,
typename AllocationPolicy>
17std::pair<Tensor<Scalar, 1, 3, Symmetry, true, AllocationPolicy>, Tensor<Scalar, 3, 1, Symmetry, true, AllocationPolicy>>
18decompose(XPED_CONST Tensor<Scalar, 3, 3, Symmetry, true, AllocationPolicy>& T1,
19 XPED_CONST Tensor<Scalar, 3, 3, Symmetry, true, AllocationPolicy>& T2,
20 const std::size_t max_nsv);
22template <
typename Scalar,
typename Symmetry,
typename AllocationPolicy>
23std::pair<Tensor<Scalar, 1, 2, Symmetry, true, AllocationPolicy>, Tensor<Scalar, 2, 1, Symmetry, true, AllocationPolicy>>
24decompose(XPED_CONST Tensor<Scalar, 2, 2, Symmetry, true, AllocationPolicy>& T1,
25 XPED_CONST Tensor<Scalar, 2, 2, Symmetry, true, AllocationPolicy>& T2,
26 const std::size_t max_nsv);
28template <
typename Scalar,
typename Symmetry,
typename AllocationPolicy,
typename DerivedL,
typename DerivedT,
typename DerivedR,
typename DerivedB>
29Tensor<Scalar, 2, 3, Symmetry, false, AllocationPolicy>
applyWeights(XPED_CONST Tensor<Scalar, 2, 3, Symmetry, false, AllocationPolicy>&
A,
30 XPED_CONST TensorBase<DerivedL>& wL,
31 XPED_CONST TensorBase<DerivedT>& wT,
32 XPED_CONST TensorBase<DerivedR>& wR,
33 XPED_CONST TensorBase<DerivedB>& wB);
36#ifndef XPED_COMPILED_LIB
auto decompose(XPED_CONST TensorBase< Derived1 > &T1, XPED_CONST TensorBase< Derived2 > &T2, const std::size_t max_nsv)
Definition: PEPSContractions.cpp:20
@ A
Definition: SubLattice.hpp:10
Tensor< Scalar, 2, 3, Symmetry, false, AllocationPolicy > applyWeights(XPED_CONST Tensor< Scalar, 2, 3, Symmetry, false, AllocationPolicy > &A, XPED_CONST TensorBase< DerivedL > &wL, XPED_CONST TensorBase< DerivedT > &wT, XPED_CONST TensorBase< DerivedR > &wR, XPED_CONST TensorBase< DerivedB > &wB)
Definition: PEPSContractions.cpp:94