SyTen

◆ generateNearFermiSeaState()

State syten::MPS::RandomState::generateNearFermiSeaState ( Lattice const &  lat,
std::vector< std::tuple< std::string, Index, bool > > const &  species_info,
Index const  maxStates,
Index  maxBlocksize 
)

Generates a Fermi Sea like initial state.

References std::unordered_map< K, T >::count(), std::endl(), generateNearVacuumState(), genMomentumRep(), syten::MPS::State::lIdx, syten::logGI(), syten::progress(), std::vector< T >::push_back(), std::vector< T >::size(), SYTEN_ASSERT, and SYTEN_ZERO_THRESHOLD.

Referenced by syten::MPS::ProjectedPurification::generateNearFermiSeaState(), and syten::Pyten::init_mps_random().

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