Xped
Loading...
Searching...
No Matches
SimpleUpdate.hpp
Go to the documentation of this file.
1#ifndef XPED_SIMPLE_UPDATE_H_
2#define XPED_SIMPLE_UPDATE_H_
3
5
6namespace Xped {
7
8template <typename Scalar_, typename Symmetry_>
10{
11public:
12 using Scalar = Scalar_;
13 using Symmetry = Symmetry_;
14
15 SimpleUpdate() = default;
16
17 std::tuple<Tensor<Scalar, 2, 1, Symmetry>, Tensor<Scalar, 1, 1, Symmetry>, Tensor<Scalar, 1, 2, Symmetry>>
21 std::size_t D) const;
22};
23
24} // namespace Xped
25
26#ifndef XPED_COMPILED_LIB
27# include "PEPS/SimpleUpdate.cpp"
28#endif
29
30#endif
Definition: SimpleUpdate.hpp:10
SimpleUpdate()=default
std::tuple< Tensor< Scalar, 2, 1, Symmetry >, Tensor< Scalar, 1, 1, Symmetry >, Tensor< Scalar, 1, 2, Symmetry > > renormalize(const Tensor< Scalar, 2, 2, Symmetry > &bond, const Tensor< Scalar, 3, 1, Symmetry > &, const Tensor< Scalar, 1, 3, Symmetry > &, std::size_t D) const
Definition: SimpleUpdate.cpp:7
Scalar_ Scalar
Definition: SimpleUpdate.hpp:12
Symmetry_ Symmetry
Definition: SimpleUpdate.hpp:13
Definition: Tensor.hpp:40
Definition: bench.cpp:62