1#ifndef OPTIM_CONTRACTIONS_H_
2#define OPTIM_CONTRACTIONS_H_
8template <
typename Scalar,
typename Symmetry,
typename AllocationPolicy>
9void contract_L(XPED_CONST Tensor<Scalar, 1, 1, Symmetry, false, AllocationPolicy>& Bold,
10 XPED_CONST Tensor<Scalar, 2, 1, Symmetry, false, AllocationPolicy>& Bra,
11 XPED_CONST Tensor<Scalar, 2, 1, Symmetry, false, AllocationPolicy>& Ket,
12 Tensor<Scalar, 1, 1, Symmetry, false, AllocationPolicy>& Bnew);
14template <
typename Scalar,
typename Symmetry,
typename AllocationPolicy>
15void contract_R(XPED_CONST Tensor<Scalar, 1, 1, Symmetry, false, AllocationPolicy>& Bold,
16 XPED_CONST Tensor<Scalar, 2, 1, Symmetry, false, AllocationPolicy>& Bra,
17 XPED_CONST Tensor<Scalar, 2, 1, Symmetry, false, AllocationPolicy>& Ket,
18 Tensor<Scalar, 1, 1, Symmetry, false, AllocationPolicy>& Bnew);
22#ifndef XPED_COMPILED_LIB
void contract_L(XPED_CONST Tensor< Scalar, 1, 1, Symmetry, false, AllocationPolicy > &Bold, XPED_CONST Tensor< Scalar, 2, 1, Symmetry, false, AllocationPolicy > &Bra, XPED_CONST Tensor< Scalar, 2, 1, Symmetry, false, AllocationPolicy > &Ket, Tensor< Scalar, 1, 1, Symmetry, false, AllocationPolicy > &Bnew)
Definition: MpsContractions.cpp:12
void contract_R(XPED_CONST Tensor< Scalar, 1, 1, Symmetry, false, AllocationPolicy > &Bold, XPED_CONST Tensor< Scalar, 2, 1, Symmetry, false, AllocationPolicy > &Bra, XPED_CONST Tensor< Scalar, 2, 1, Symmetry, false, AllocationPolicy > &Ket, Tensor< Scalar, 1, 1, Symmetry, false, AllocationPolicy > &Bnew)
Definition: MpsContractions.cpp:55