SyTen

◆ generateSampledState()

State syten::MPS::RandomState::generateSampledState ( Lattice const &  lat,
std::string const &  secDesc,
Index const  maxStates,
Index const  maxBlocksize,
Index const  sampled_initOperators,
bool const  bpo_quiet,
std::ostream err 
)

Generates a full sampled state using generateSampledProductState() internally and offers logging facilities.

Parameters
latunderlying lattice
secDescstring describing the target sector, parsed wrt lat
maxStatesgenerate this many states and truncate down to this bond dimension
maxBlocksizetruncate down to this maximal blocksize
sampled_initOperatorsapply this many operators unconditionally in generateSampledProductState()
bpo_quietif true, do not output progress dots
errplace messages in this stream

References syten::abs(), generateSampledProductState(), syten::Out, syten::MPS::overlap(), syten::overThreshold(), syten::parseSector(), syten::progress(), SYTEN_ZERO_THRESHOLD, SYTEN_ZNORM_THRESHOLD, and syten::MPS::State::truncate().

Referenced by syten::Pyten::init_mps_random().

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