State syten::BTT::RandomState::generateCompleteState | ( | Lattice const & | lat, |
Basis const & | target, | ||
Index const | maxStates = 5 , |
||
Index | maxBlocksize = 5 , |
||
bool const | verbose = true |
||
) |
Generates a near-complete BTT state.
lat | the lattice on which to generate the state |
target | the target symmetry sector |
maxStates | the maximal number of states in the generated state |
maxBlocksize | the maximal size of dense blocks in the generated state |
verbose | whether to print verbose information |
References generateCompleteState_rec(), syten::Inc, syten::BTT::Lattice::phys, syten::project(), syten::BinaryTree::Tree< T >::r, syten::BTT::State::rIdx, SYTEN_ZERO_THRESHOLD, syten::BTT::State::truncate(), syten::BinaryTree::Node< T >::v, syten::BTT::Lattice::vac, and syten::BinaryTree::Tree< T >::visit_top().