MPS::Lattice syten::MPS::Lat::U1U1::genFermiBoseLattice | ( | std::vector< Index > | types, |
Index | maxBosons, | ||
std::string | description | ||
) |
Generates a lattice with (spinless) bosonic and (spinfull) fermionic sites.
Symmetries are fermion particle number and spin in z-direction.
types | Vector of types. Each element must be 0 (bosonic) or 1 (fermionic). types[i] denotes the type of the i-th site. |
maxBosons | maximal number of bosons per (bosonic) site |
description | a free-form description of the lattice |
References syten::Basis::add(), syten::Tensor< rank >::add(), syten::MPS::genMPOId(), syten::MPS::Lat::genParity(), syten::genRepU1(), syten::Inc, syten::makeZero(), syten::STensorImpl::parity(), std::vector< T >::push_back(), syten::Tensor< rank >::reduce(), and syten::sqrt().
Referenced by syten::T3N::Lat::U1U1U1::genFermiBoseLatticeMP(), syten::T3N::Lat::U1U1U1::genFermiBoseLatticeMT3N(), and syten::Pyten::init_mp_latgen().