| MPS::Lattice syten::MPS::Lat::SU2U1::genFermiHubbardSpinCharge | ( | Index const | length | ) |
Generates a chain of Fermi-Hubbard sites.
| length | the length of the chain |
ch and c create and annihilate a single particle, n measures the particle number on the site and nb gives 1 iff the site is doubly-occupied. s is the local spin operator. References syten::genRepsSU2(), and syten::genRepU1().
Referenced by syten::MPS::QcLatticeGenerator::construct_su2u1(), and syten::Pyten::init_mp_latgen().
Here is the call graph for this function:
Here is the caller graph for this function: