SyTen

◆ herm_to_symmetrise()

STensor syten::STensorImpl::herm_to_symmetrise ( STensor  in)

Takes the hermitian conjugate and adapts the bases such that addition with the input tensor results in a symmetric tensor.

Crucially, this is not the same as simply taking the hermitian conjugate, i.e. it is not possible to contract the result of this operation with the input.

Remarks
This function is not autodifferentiable.

References syten::STensorImpl::STensor::autodiff_enabled(), syten::STensorImpl::STensor::get_bases(), syten::STensorImpl::STensor::get_fermionic_order(), syten::herm(), if_constexpr, std::move(), syten::STensorImpl::STensor::rank(), SYTEN_ASSERT, SYTEN_TENSOR_RANK, and syten::STensorImpl::STensor::visnz().

Referenced by syten::IPEPSv2::full_update_gauge_fix().

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