SyTen

◆ rightnorm() [2/2]

SRDef syten::MPS::State::rightnorm ( Truncation const &  trunc = Truncation(),
State::DropNorm const  dropN = DropNorm::Yes 
)

Calls rightnorm() on all sites from right to left.

Parameters
truncTruncation specification
dropNif true, drop the norm on the first site, the state is then normalised.
Returns
the sum of errors incurred during truncations or -1 if no states have been kept.

References maybeCache(), rightnorm(), and size().

+ Here is the call graph for this function: