MPS::Lattice syten::MPS::Lat::U1::genSpinBosonLattice | ( | std::vector< Index > const & | types, |
SRDef | S, | ||
Index const | maxBosons | ||
) |
Generates a lattice with boson number conserved but spin quantum number broken.
References syten::abs(), syten::MPS::genMPOId(), syten::genRepU1(), syten::Inc, std::move(), std::round(), std::vector< T >::size(), and syten::sqrt().
Referenced by syten::Pyten::init_mp_latgen().