SyTen

◆ generateCompleteState_rec()

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().

Parameters
stateTarget state object
sptrpointer to the current node in the target state
bptrpointer to the current node in the basis tree of the target lattice
targettarget sector basis
vacuumvacuum basis
union_basisthe union of the bases on all sites
total_sitesthe total number of sites
maxBlocksizemaximal blocksize of dense matrices
verbosewhether to print verbose information
Returns
the number of sites in this subtree, including sptr.

References syten::T3N::State::aIdx, syten::T3N::State::bIdx, syten::STensorImpl::filterBasis(), generateCompleteState_rec(), generateRandomBranching(), generateRandomPhysical(), syten::T3N::Tree::Node< T >::legNumber(), syten::T3N::Tree::Node< T >::Legs, syten::T3N::Tree::Node< T >::ndt, syten::T3N::State::pIdx, syten::progress(), syten::T3N::State::rank, syten::T3N::State::rIdx, syten::T3N::Tree::Node< T >::st, syten::STensorImpl::svd(), std::tie(), syten::T3N::Tree::Node< T >::v, and syten::verbose().

Referenced by generateCompleteState(), and generateCompleteState_rec().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: