SyTen

◆ leftnorm() [2/2]

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

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

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

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

+ Here is the call graph for this function: