SyTen
random_state.h File Reference

Generators for random states. More...

#include "inc/mps/lattice.h"
#include "inc/mps/state.h"
+ Include dependency graph for random_state.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

 syten
 Syten namespace.
 
 syten::MPS
 The namespace containing all MPS-related tools, classes and objects.
 
 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::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

Generators for random states.