SyTen

◆ genSpinLattice()

MPS::Lattice syten::MPS::Lat::Nil::genSpinLattice ( Index  length,
SRDef  s 
)

Spin lattice with no symmetries.

Parameters
lengthlength of the chain
sspin size \( s' \)
Implemented Single-Site Operators
sz, sx, sy to measure spin in the corresponding direction and sp/sm as spin ladder operators.

References syten::abs(), syten::Tensor< rank >::add(), syten::MPS::genMPOId(), syten::genRepNil(), syten::Inc, syten::makeZero(), syten::Tensor< rank >::push_back(), std::round(), syten::sqrt(), SYTEN_EC_COMPLEX_SCALAR_REQUIRED, SYTEN_EXIT, 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: