Lattice syten::IPEPS::Lat::SU2::genSpinLattice | ( | int const | width, |
int const | depth, | ||
SRDef const | s = 0.5 , |
||
std::vector< char > | site_classes = {} |
||
) |
Generates a spin lattice with full \( \mathrm{SU}(2)_{\mathrm{Spin}} \) symmetry.
width | unit cell width |
depth | unit cell depth |
s | spin size on each site |
site_classes | tensor site classes, leave empty for default (all tensors different) |
References std::vector< T >::begin(), std::vector< T >::end(), syten::genRepsSU2(), std::iota(), std::vector< T >::size(), and SYTEN_ASSERT_MSG.
Referenced by syten::T3N::Lat::SU2::genSpinLattice(), and syten::Pyten::init_ipeps_latgen().