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.
[in,out] | a | input and output state |
[in] | op | operator to apply to the state |
[in] | trunc | truncation criterion for the final state |
[in] | desired_change | sweep until the change per two sweeps is smaller than this |
[in] | max_opt_sweeps | do at most this many full sweeps |
References apply_op_itrunc(), apply_op_orthogonalise_fit(), std::move(), and std::tie().
Referenced by syten::do_apply_op().