Xped
Loading...
Searching...
No Matches
MpsContractions.hpp
Go to the documentation of this file.
1#ifndef OPTIM_CONTRACTIONS_H_
2#define OPTIM_CONTRACTIONS_H_
3
5
6namespace Xped {
7
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);
13
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);
19
20} // namespace Xped
21
22#ifndef XPED_COMPILED_LIB
24#endif
25
26#endif
Definition: bench.cpp:62
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