SyTen

◆ genSpinEdgeLattice()

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.

Implemented Single-Site Operators
s, the local spin operator

References syten::genRepsSU2(), and std::max().

Referenced by syten::Pyten::init_mp_latgen().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: