Index syten::BTT::RandomState::generateCompleteState_rec | ( | State & | state, |
State::Ptr | sptr, | ||
Lattice::Phys::Ptr | bptr, | ||
Basis const & | target, | ||
Basis const & | vacuum, | ||
Basis const & | union_basis, | ||
Index const | total_sites, | ||
Index const | maxBlocksize = 5 , |
||
bool const | verbose = true |
||
) |
Recursive helper for generateCompleteState().
state | Target state object |
sptr | pointer to the current node in the target state |
bptr | pointer to the current node in the basis tree of the target lattice |
target | target sector basis |
vacuum | vacuum basis |
union_basis | the union of the bases on all sites |
total_sites | the total number of sites |
maxBlocksize | maximal blocksize of dense matrices |
verbose | whether to print verbose information |
sptr
. References syten::Basis::a(), syten::filterBasis(), syten::Basis::flipped(), genRandom(), syten::progress(), syten::project(), syten::BTT::State::rIdx, and syten::BTT::State::rnorm_node().
Referenced by generateCompleteState().