SyTen

◆ parity() [1/2]

STensorProxy syten::STensorImpl::parity ( STensor const &  ,
SBasisId const &  ,
SourceLocation const &  loc = SourceLocation::current() 
)

Apply a parity operator to an existing STensor leg, creating an STensorProxy.

Remarks
This function is autodifferentiable except if the tensor network is incomplete and the downstream adjoint does not have a basis which.

References syten::YesNo< struct _prod_conj >::n(), and syten::STensorImpl::STensorProxy::parity().

Referenced by syten::IPEPSv2::full_update_pseudo_invert_r4(), syten::MPS::Lat::U1U1::genFermiBoseLattice(), and syten::STensorImpl::STensorProxy::parity().

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