SyTen

◆ apply_op_itrunc_fit()

SRDef syten::MPS::apply_op_itrunc_fit ( State a,
Operator const &  op,
Truncation  trunc,
SRDef  desired_change,
Index  max_opt_sweeps 
)

Applies the operator op onto the state a using the itrunc/zip-up method and then does some additional single-site optimisation sweeps on the result.

Parameters
[in,out]ainput and output state
[in]opoperator to apply to the state
[in]trunctruncation criterion for the final state
[in]desired_changesweep until the change per two sweeps is smaller than this
[in]max_opt_sweepsdo at most this many full sweeps
Returns
the error, NAN at the moment (error not calculated)

References apply_op_itrunc(), apply_op_orthogonalise_fit(), std::move(), and std::tie().

Referenced by syten::do_apply_op().

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