SyTen
random_state.cpp File Reference

Implementation for inc/mps/random_state.h. More...

+ Include dependency graph for random_state.cpp:

Namespaces

namespace  syten
 Syten namespace.
 
namespace  syten::MPS
 The namespace containing all MPS-related tools, classes and objects.
 
namespace  syten::MPS::RandomState
 Generators for random states.
 

Functions

State syten::MPS::RandomState::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 syten::MPS::RandomState::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 syten::MPS::RandomState::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 syten::MPS::RandomState::generateNearVacuumState (Lattice const &lat)
 Generates a new product state close to the vacuum. More...
 
State syten::MPS::RandomState::generateSampledProductState (Lattice const &lat, Basis const &target, Index const initialOperatorCount)
 Generates a product state with somewhat stochastic sampling. More...
 
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. More...
 
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. More...
 

Detailed Description

Implementation for inc/mps/random_state.h.