SyTen

◆ genSpinLattice()

MPS::Lattice syten::MPS::Lat::GCE::U1::genSpinLattice ( Index  length,
SRDef  S 
)

Generates a finite-temperature GCE spin lattice.

Parameters
lengththe number of sites
Slength of the spins on each site
Implemented Single-Site Operators
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().

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