SyTen

◆ change_fermionic_order()

STensor syten::STensorImpl::change_fermionic_order ( STensor  in,
ConstSpan< Index to_this 
)

Changes the fermionic order of the tensor to the specified ordering.

This multiplies the tensorblocks by the appropriate factors such that the ‘meaning’ of the tensor is the same as before.

Remarks
This is an AD-no-op and hence autodifferentiable.

References syten::STensorImpl::STensor::get_fermionic_order(), syten::is_perm_fermionic(), syten::STensorImpl::STensor::set_fermionic_order(), and syten::STensorImpl::STensor::visnz().

Referenced by dense(), diagonal_signs_to_largest(), exp(), expand(), syten::IPEPSv2::full_update_gauge_fix(), operator+=(), syten::IPEPSv2::operator<<(), and sqrt().

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