1#ifndef XPED_SPINSU2_HPP_
2#define XPED_SPINSU2_HPP_
10template <
typename Symmetry,
size_t order>
14class Spin<Sym::SU2<Sym::SpinSU2>, 0ul>
16 using Scalar = double;
22 Spin(std::size_t D_input);
55 Scalar locS = 0.5 *
static_cast<double>(
D - 1);
56 auto tmp = S_1s_(Q, Q);
59 Sdag_1s_ = S_1s_.adjoint();
Definition: Qbasis.hpp:39
void push_back(const qType &q, const size_t &inner_dim)
Definition: Qbasis.cpp:32
Qbasis< Symmetry, 1 > basis_1s_
Definition: SpinSU2.hpp:35
std::size_t D
Definition: SpinSU2.hpp:33
OperatorType Id_1s_
Definition: SpinSU2.hpp:37
OperatorType Q_1s_
Definition: SpinSU2.hpp:40
OperatorType S_1s() const
Definition: SpinSU2.hpp:26
OperatorType Id_1s() const
Definition: SpinSU2.hpp:24
Qbasis< Symmetry, 1 > basis_1s() const
Definition: SpinSU2.hpp:30
OperatorType S_1s_
Definition: SpinSU2.hpp:38
Spin()
Definition: SpinSU2.hpp:21
OperatorType Sdag_1s_
Definition: SpinSU2.hpp:39
OperatorType Q_1s() const
Definition: SpinSU2.hpp:28
OperatorType Id_1s_
Definition: Spin.hpp:62
Qbasis< Symmetry, 1 > basis_1s_
Definition: Spin.hpp:59
std::size_t D
Definition: Spin.hpp:51
Spin()
Definition: Spin.hpp:23
static void setVal(MType< Scalar > &M, const MIndextype row, const MIndextype col, const Scalar &val)
Tensor< Scalar, 1, 2, Symmetry, false > data
Definition: SiteOperator.hpp:86
static SiteOperator< Scalar, Symmetry > prod(XPED_CONST SiteOperator< Scalar, Symmetry > &O1, XPED_CONST SiteOperator< Scalar, Symmetry > &O2, const qType &target)
Definition: SiteOperator.cpp:36
void setIdentity()
Definition: SiteOperator.hpp:63
Definition: qarray.hpp:30