Generators for random states. More...
Typedefs | |
using | NodeType = syten::T3N::Tree::NodeType |
Functions | |
State | 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 | 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 | 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 | generateNearVacuumState (Lattice const &lat, bool const verbose=true) |
Generates a near-vacuum T3N. More... | |
void | 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 > | 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 > | generateRandomPhysical (SBasis const &first, SBasis const &site, Index maxBlocksize=std::numeric_limits< Index >::max()) |
Generates a random Physical STensor of rank 3. More... | |
Generators for random states.