MPS::Lattice syten::MPS::Lat::GCE::U1::genSpinLattice | ( | Index | length, |
SRDef | S | ||
) |
Generates a finite-temperature GCE spin lattice.
length | the number of sites |
S | length of the spins on each site |
sp
and sm
for the spin ladder operators \(S^+,
S^-\) as well as sz
for \( S^z\). References syten::Tensor< rank >::add(), std::vector< T >::back(), std::vector< T >::begin(), std::vector< T >::end(), syten::MPS::genMPOId(), syten::genRepsU1(), syten::genRepU1(), syten::Inc, std::move(), syten::Tensor< rank >::push_back(), std::vector< T >::push_back(), std::reverse(), syten::sqrt(), and syten::to_string_rd().
Referenced by syten::Pyten::init_mp_latgen().