SyTen
syten::MPS::RandomState Namespace Reference

Generators for random states. More...

Functions

State generateCompleteState (Lattice const &lat, Basis const &target, Index const maxStates=10, Index maxBlocksize=std::numeric_limits< Index >::max(), bool const verbose=true)
 Generates a new state, considering every possible basis at every bond transforming as specified and right-normalised with norm 1. More...
 
State generateCompleteState (Lattice const &lat, std::string const &description, Index const maxStates=10, Index const maxBlocksize=std::numeric_limits< Index >::max(), bool const verbose=true)
 Overload for convienently creating state. More...
 
State generateNearFermiSeaState (Lattice const &lat, std::vector< std::tuple< std::string, Index, bool > > const &species_info, Index const maxStates=10, Index maxBlocksize=Index(Maximum()))
 Generates a Fermi Sea like initial state. More...
 
State generateNearVacuumState (Lattice const &lat)
 Generates a new product state close to the vacuum. More...
 
State generateSampledProductState (Lattice const &lat, Basis const &target, Index const initialOperatorCount)
 Generates a product state with somewhat stochastic sampling. More...
 
State 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. More...
 
Operator 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. More...
 

Detailed Description

Generators for random states.