SyTen
random-state.h File Reference

Generators for T3N random state. More...

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

Namespaces

namespace  syten
 Syten namespace.
 
namespace  syten::T3N
 Namespace for T3N.
 
namespace  syten::T3N::RandomState
 Generators for random states.
 

Typedefs

using syten::T3N::RandomState::NodeType = syten::T3N::Tree::NodeType
 

Functions

State syten::T3N::RandomState::generateCompleteState (Lattice const &lat, Basis const &target, Index const maxStates=10, Index const maxBlocksize=Index(Maximum()), bool const verbose=true, bool const cache=false, Truncation const &trunc=Truncation())
 Generates a near-complete T3N state. More...
 
State syten::T3N::RandomState::generateCompleteState (Lattice const &lat, std::string const &description, Index const maxStates=10, Index const maxBlocksize=Index(Maximum()), bool const verbose=true, bool const cache=false, Truncation const &trunc=Truncation())
 Overload for convienently creating state. More...
 
Index syten::T3N::RandomState::generateCompleteState_rec (State &state, State::Ptr sptr, Lattice::PhysBases::Ptr bptr, Basis const &target, Basis const &vacuum, Basis const &union_basis, Index const total_sites, Index const maxBlocksize, bool const verbose, bool const cache, Truncation const &trunc)
 Recursive helper for generateCompleteState(). More...
 
State syten::T3N::RandomState::generateNearVacuumState (Lattice const &lat, bool const verbose=true)
 Generates a near-vacuum T3N. More...
 
void syten::T3N::RandomState::generateNearVacuumState_rec (State &state, State::Ptr sptr, Lattice::PhysBases::Ptr bptr, Basis const &vacuum, bool const verbose)
 Recursive helper for generateNearVacuumState(). More...
 
std::tuple< STensor, SBasisId > syten::T3N::RandomState::generateRandomBranching (SBasis const &first, SBasis const &second, Index maxBlocksize=std::numeric_limits< Index >::max())
 Generates a random Branching STensor of rank 3. More...
 
std::tuple< STensor, SBasisId > syten::T3N::RandomState::generateRandomPhysical (SBasis const &first, SBasis const &site, Index maxBlocksize=std::numeric_limits< Index >::max())
 Generates a random Physical STensor of rank 3. More...
 

Detailed Description

Generators for T3N random state.