SyTen

◆ generateRandomPhysical()

std::tuple< STensor, SBasisId > syten::T3N::RandomState::generateRandomPhysical ( SBasis const &  first,
SBasis const &  site,
Index  maxBlocksize = std::numeric_limits<Index>::max() 
)

Generates a random Physical STensor of rank 3.

References syten::Basis::adjointed(), syten::T3N::State::aIdx, syten::STensorImpl::SBasis::dir(), syten::Basis::flipped(), syten::STensorImpl::SBasis::gen_basis(), syten::genRandom(), syten::T3N::State::pIdx, and SYTEN_ASSERT_DEBUG.

Referenced by generateCompleteState_rec(), and generateNearVacuumState_rec().

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