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().
state | target state |
sptr | pointer to state site |
bptr | pointer to basis site |
vacuum | vacuum basis |
flipped_vacuum | flipped vacuum basis |
verbose | whether to print verbose information |
References syten::T3N::State::aIdx, syten::T3N::State::bIdx, syten::STensorImpl::SBasis::flipped(), syten::Basis::flipped(), generateNearVacuumState_rec(), generateRandomBranching(), generateRandomPhysical(), syten::intersection(), syten::T3N::Tree::Node< T >::legNumber(), syten::T3N::Tree::Node< T >::Legs, std::move(), syten::T3N::Tree::Node< T >::ndt, syten::T3N::State::pIdx, syten::progress(), syten::STensorImpl::project(), syten::T3N::State::rank, syten::STensorImpl::SBasis::rename(), syten::T3N::State::rIdx, syten::Basis::size(), syten::T3N::Tree::Node< T >::st, std::tie(), syten::T3N::Tree::Node< T >::v, syten::verbose(), and syten::T3N::State::virtNames.
Referenced by generateNearVacuumState(), and generateNearVacuumState_rec().