SyTen

◆ deparallelise()

std::tuple< STensor, STensor, SBasis > syten::STensorImpl::deparallelise ( STensor const &  in,
SBasisId const &  uncombined 
)

Deparallelisation decomposition for STensor.

Parameters
ininput tensor
uncombinedbasis over which the deparallelisation will be performed
Returns
a tuple of the tensors P and T and the new shared basis.
Remarks
This function is not autodifferentiable.

References syten::STensorImpl::STensor::autodiff_enabled(), syten::Tensor< rank >::b(), syten::STensorImpl::STensor::b(), syten::STensorImpl::STensor::bi(), syten::Deparallelise::cols(), syten::STensorImpl::SBasis::dir(), syten::STensorImpl::SBasis::f(), syten::STensorImpl::STensor::get_bases(), syten::STensorImpl::STensor::get_fermionic_order(), if_constexpr, syten::Inc, syten::STensorImpl::STensor::move(), std::move(), SYTEN_ASSERT_MSG, SYTEN_TENSOR_RANK, and syten::STensorImpl::STensor::visit().

+ Here is the call graph for this function: