SyTen

◆ genFermiBoseLattice()

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.

Parameters
typesVector of types. Each element must be 0 (bosonic) or 1 (fermionic). types[i] denotes the type of the i-th site.
maxBosonsmaximal number of bosons per (bosonic) site
descriptiona 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().

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