14#include </home/mpeschke/__LIBS__/eigen/Eigen/Core>
15#include </home/mpeschke/__LIBS__/eigen/Eigen/Sparse>
17#include "/home/mpeschke/Nextcloud/postdoc/code/ED/src/Basis.h"
28 Heisenberg(
const std::size_t& L_in,
const std::size_t& D_in = 3)
29 : basis_(L_in, D_in){};
33 std::size_t
L()
const {
return basis_.L(); }
34 std::size_t
dim()
const {
return basis_.dim(); }
41 MatrixType H(
const Eigen::Matrix<Scalar, -1, -1>& J)
const;
Definition: Heisenberg.hpp:22
Heisenberg()
Definition: Heisenberg.hpp:27
Eigen::SparseMatrix< Scalar > MatrixType
Definition: Heisenberg.hpp:25
MatrixType H(const Eigen::Matrix< Scalar, -1, -1 > &J) const
Definition: Heisenberg.cpp:33
MatrixType Sp(const std::size_t &site) const
Definition: Heisenberg.cpp:17
Heisenberg(const std::size_t &L_in, const std::size_t &D_in=3)
Definition: Heisenberg.hpp:28
std::size_t dim() const
Definition: Heisenberg.hpp:34
double Scalar
Definition: Heisenberg.hpp:24
std::size_t L() const
Definition: Heisenberg.hpp:33
MatrixType Sx(const std::size_t &site) const
Definition: Heisenberg.hpp:39
Heisenberg(const std::vector< std::size_t > &Ds_in)
Definition: Heisenberg.hpp:30
MatrixType Sm(const std::size_t &site) const
Definition: Heisenberg.hpp:38
MatrixType Sz(const std::size_t &site) const
Definition: Heisenberg.cpp:8
Definition: Heisenberg.cpp:3
Eigen::SparseMatrix< Scalar > MatrixType
Definition: Heisenberg.cpp:6