Xped
Loading...
Searching...
No Matches
MpsAlgebra.hpp
Go to the documentation of this file.
1#ifndef MPS_ALGEBRA_H_
2#define MPS_ALGEBRA_H_
3
4#include <cstddef>
5
6#include <boost/describe.hpp>
7
9
10namespace Xped {
11
12template <typename Scalar, typename Symmetry>
13class Mps;
14
15namespace DMRG {
16BOOST_DEFINE_ENUM_CLASS(DIRECTION, LEFT, RIGHT)
17}
18
19template <typename Scalar, typename Symmetry>
20typename Symmetry::Scalar
21dot(XPED_CONST Mps<Scalar, Symmetry>& Bra, XPED_CONST Mps<Scalar, Symmetry>& Ket, const DMRG::DIRECTION DIR = DMRG::DIRECTION::RIGHT);
22
23} // namespace Xped
24
25#ifndef XPED_COMPILED_LIB
26# include "MPS/MpsAlgebra.cpp"
27#endif
28
29#endif
Definition: bench.cpp:62
Symmetry::Scalar dot(XPED_CONST Mps< Scalar, Symmetry > &Bra, XPED_CONST Mps< Scalar, Symmetry > &Ket, const DMRG::DIRECTION DIR=DMRG::DIRECTION::RIGHT)
Definition: MpsAlgebra.cpp:15