SyTen

◆ ferm_trace()

STensor syten::STensorImpl::ferm_trace ( STensor const &  in)

Computes the fermionic trace of the given tensor, i.e.

the fermionic order is taken into account.

Remarks
This function is autodifferentiable.

References syten::STensorImpl::STensor::b(), syten::STensorImpl::SBasis::dir(), syten::STensorImpl::SBasis::flipped(), gen_io(), syten::STensorImpl::STensor::get_fermionic_order(), syten::Inc, syten::Out, proxy(), syten::STensorImpl::STensor::rank(), SYTEN_ASSERT, and trace().

Referenced by syten::T3N::RDMs::OrbRDM::checkValidity(), syten::T3N::BasisTransformation::discord(), and syten::T3N::overlap().

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