SyTen

◆ genSpinLattice()

Lattice syten::IPEPS::Lat::Z2::genSpinLattice ( int const  width,
int const  depth,
std::vector< char >  site_classes 
)

Generates a square spin lattice with \( \mathbb{Z}_2 \) Ising symmetry.

References syten::Tensor< rank >::add(), syten::IPEPS::OneOp::aIdx, std::vector< T >::begin(), syten::IPEPS::OneOp::dIdx, syten::IPEPS::OneOp::dirs, std::vector< T >::end(), syten::genRepZ(), syten::Inc, std::iota(), std::move(), syten::Tensor< rank >::push_back(), std::vector< T >::size(), SYTEN_ASSERT_MSG, and syten::IPEPS::OneOp::uIdx.

Referenced by genSpinKagomeSquare(), and syten::Pyten::init_ipeps_latgen().

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