SyTen

◆ prime_all()

STensorProxy & syten::STensorImpl::STensorProxy::prime_all ( std::int8_t  value = 1)

Increases the prime-level of all bases by one.

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

References ad_compute_node, ad_id, syten::STensorImpl::Autodiff::create_primer(), get_autodiff(), syten::STensorImpl::Autodiff::new_id(), prime_offsets, and std::vector< T >::size().

Referenced by syten::T3N::RDMs::OrbRDM::contract_locals(), syten::IPEPSv2::lmult(), syten::IPEPSv2::mult(), syten::T3N::Operator::product_rec(), unprime_all(), syten::T3N::DMRG::Run::update_phys_2site(), syten::T3N::TDVP::Worker::update_phys_branch_phys(), syten::T3N::DMRG::Run::update_phys_branching_2site(), and syten::T3N::TDVP::Worker::update_phys_phys().

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