SyTen

◆ genBosonLattice()

MPS::Lattice syten::MPS::Lat::U1::genBosonLattice ( Index  length,
std::string  description,
Index  maxPerSite,
char  phys = 'n' 
)

Generates a bosonic lattice.

Parameters
lengththe number of sites
descriptiona short description of the lattice
maxPerSitemaximal number of bosons per site
physthe physical symmetry group
Implemented Single-Site Operators
ch and c for particle creation and annihilation as well as n for the local particle number.

References syten::Tensor< rank >::add(), syten::MPS::genMPOId(), syten::genRepsU1(), syten::genRepU1(), syten::Inc, std::move(), syten::Out, syten::Tensor< rank >::push_back(), and syten::sqrt().

Referenced by syten::Pyten::init_mp_latgen().

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