SyTen

◆ prime()

STensorProxy & syten::STensorImpl::STensorProxy::prime ( SBasisId const &  which,
std::int8_t  value = 1 
)

Increases the prime-level of the specified basis.

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

References ad_compute_node, ad_id, syten::STensorImpl::Autodiff::create_primer(), get_autodiff(), syten::STensorImpl::Autodiff::new_id(), and prime_offsets.

Referenced by syten::T3N::RDMs::OrbRDM::construct(), syten::T3N::RDMs::OrbRDM::contract_locals(), syten::STensorImpl::exp(), syten::IPEPSv2::full_update_apply_gate(), syten::STensorImpl::invert_diagonal(), p_r(), syten::STensorImpl::Autodiff::qr_adjoint_evaluator(), syten::IPEPSv2::simple_update(), syten::STensorImpl::Autodiff::svd_adjoint_evaluator(), syten::T3N::RDMs::OrbRDM::twoSite_rec(), and unprime().

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