template<typename Kind, typename Scalar = double>
class Sym::SU2< Kind, Scalar >
Class for handling a SU(2) symmetry of a Hamiltonian without explicitly store the Clebsch-Gordon coefficients but with computing -symbols.
Template Parameters
Scalar : double
or complex<double>
Note An implementation for the basic symbols is used from SU2Wrappers.h . Currently, only the gsl-implementation can be used, but any library which calculates the symbols can be included. Just add a wrapper in SU2Wrappers.h .
Definition at line 35 of file SU2.h .
static constexpr bool IS_CHARGE_SU2 ()
static constexpr bool IS_SPIN_SU2 ()
static constexpr bool IS_SPIN_U1 ()
static constexpr bool NO_SPIN_SYM ()
static constexpr bool NO_CHARGE_SYM ()
static std::string name ()
static constexpr std::array< KIND , Nq > kind ()
static constexpr std::array< int, Nq > mod ()
static constexpr qType qvacuum ()
static constexpr std::array< qType , 1 > lowest_qs ()
static qType flip (const qType &q)
static int degeneracy (const qType &q)
static int spinorFactor ()
template<std::size_t M>
static bool compare (const std::array< qType , M > &q1, const std::array< qType , M > &q2)
template<std::size_t M>
static bool validate (const std::array< qType , M > &qs)
static bool triangle (const std::array< qType , 3 > &qs)
static bool pair (const std::array< qType , 2 > &qs)
static std::vector< qType > reduceSilent (const qType &ql, const qType &qr)
static std::vector< qType > reduceSilent (const qType &ql, const qType &qm, const qType &qr)
static std::vector< qType > reduceSilent (const std::vector< qType > &ql, const qType &qr)
static std::vector< qType > reduceSilent (const std::vector< qType > &ql, const std::vector< qType > &qr, bool UNIQUE=false)
static vector< tuple< qarray < 1 >, size_t, qarray < 1 >, size_t, qarray < 1 > > > tensorProd (const std::vector< qType > &ql, const std::vector< qType > &qr)
static Scalar coeff_unity ()
static Scalar coeff_dot (const qType &q1)
static Scalar coeff_rightOrtho (const qType &q1, const qType &q2)
static Scalar coeff_leftSweep (const qType &q1, const qType &q2)
static Scalar coeff_swapPhase (const qType &q1, const qType &q2, const qType &q3)
static Scalar coeff_leftSweep2 (const qType &q1, const qType &q2, const qType &q3)
static Scalar coeff_leftSweep3 (const qType &q1, const qType &q2, const qType &q3)
static Scalar coeff_adjoint (const qType &q1, const qType &q2, const qType &q3)
static Scalar coeff_splitAA (const qType &q1, const qType &q2, const qType &q3)
static Scalar coeff_3j (const qType &q1, const qType &q2, const qType &q3, int q1_z, int q2_z, int q3_z)
static Scalar coeff_CGC (const qType &q1, const qType &q2, const qType &q3, int q1_z, int q2_z, int q3_z)
static Scalar coeff_6j (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6)
static Scalar coeff_Apair (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6)
static Scalar coeff_splitAA (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6)
static Scalar coeff_prod (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6)
static Scalar coeff_MPOprod6 (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6)
static Scalar coeff_twoSiteGate (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6)
static Scalar coeff_9j (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6, const qType &q7, const qType &q8, const qType &q9)
static Scalar coeff_tensorProd (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6, const qType &q7, const qType &q8, const qType &q9)
static Scalar coeff_MPOprod9 (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6, const qType &q7, const qType &q8, const qType &q9)
static Scalar coeff_buildL (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6, const qType &q7, const qType &q8, const qType &q9)
static Scalar coeff_buildR (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6, const qType &q7, const qType &q8, const qType &q9)
static Scalar coeff_HPsi (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6, const qType &q7, const qType &q8, const qType &q9)
static Scalar coeff_AW (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6, const qType &q7, const qType &q8, const qType &q9)