SyTen

◆ truncateKeepNorm()

SRDef syten::MPS::LBOState::truncateKeepNorm ( Truncation const &  trunc = Truncation(),
IsOrthogonal const  isOrthogonal = IsOrthogonal::No 
)

Truncates the state while keeping its norm constant.

If isOrthogonal is IsOrthogonal::Left (IsOrthogonal::Right), the state is first right- (left-)normalised while truncating and then left- (right-)normalised while truncating. If isOrthogonal is IsOrthogonal::No, the state is first left-normalised without truncation and then first right-normalised with truncation and then left-normalised with truncation.

Parameters
trunctruncation parameters to apply.
isOrthogonalspecifies assumption over the current normalisation of the state.
Returns
an upper bound on the error incurred during the truncations, the actual error is likely lower.

References No, and truncate().

Referenced by truncateKN2Conv().

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