MPS::Lattice syten::MPS::Lat::SU2::genSpinEdgeLattice | ( | Index | length, |
SRDef | s_bulk, | ||
SRDef | s_edge | ||
) |
Generates a chain of length
SU(2)-invariant Heisenberg spins.
Spins on the edge of the chain (sites 0
and length-1
) are of size s_edge
, those in the bulk of the chain of size s_bulk
. Refer to genSpinLattice() for detailled comments.
s
, the local spin operator References syten::genRepsSU2(), and std::max().
Referenced by syten::Pyten::init_mp_latgen().