| MPS::Lattice syten::MPS::Lat::U1::genBosonLattice | ( | Index | length, |
| std::string | description, | ||
| Index | maxPerSite, | ||
| char | phys = 'n' |
||
| ) |
Generates a bosonic lattice.
| length | the number of sites |
| description | a short description of the lattice |
| maxPerSite | maximal number of bosons per site |
| phys | the physical symmetry group |
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: