Tensor< 3 > syten::genRandom | ( | Basis const & | firstBasis, |
Basis const & | secondBasis, | ||
Index | maxBlockSize = 200 , |
||
Ordinal const & | resultIndex = Ordinal::Second |
||
) |
Generates a random rank-3 tensor.
firstBasis | first basis of the tensor |
secondBasis | second basis |
maxBlockSize | maximal blocksize on the resulting product basis |
resultIndex | whether the resulting product basis is first, second or third |
Referenced by syten::MPS::DMRG::Worker::expand_to_left(), syten::MPS::DMRG::Worker::expand_to_right(), syten::MPS::RandomState::generateCompleteState(), syten::MPS::RandomState::generateNearVacuumState(), syten::T3N::RandomState::generateRandomBranching(), syten::T3N::RandomState::generateRandomPhysical(), syten::IPEPS::genRandomTensor(), syten::Pyten::init_tensor(), syten::MPS::DMRG::Worker::solveLocal(), and syten::MPS::DMRG::Worker::sync().