Operator syten::MPS::RandomState::genMomentumRep | ( | Index const | q, |
Lattice const & | lat, | ||
std::string const & | op, | ||
std::vector< Index > const & | phys_sites | ||
) |
Helper function takes a real space lattice and constructs the momentum space operator.
References syten::addLog(), std::exp(), std::min(), std::vector< T >::push_back(), std::vector< T >::reserve(), std::vector< T >::size(), and syten::sqrt().
Referenced by generateNearFermiSeaState().