SyTen

◆ prime_all() [1/2]

STensor & syten::STensorImpl::STensor::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 which.
This is the function overload for lvalues, which produces an lvalue reference.

References syten::STensorImpl::Autodiff::create_primer(), and syten::STensorImpl::Autodiff::new_id().

Referenced by syten::T3N::TDVP::Worker::project_onto_orthogonal_complement(), and syten::BasisTransformation::SwapGate::SwapGate().

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