SyTen

◆ norm() [3/3]

SRDef syten::MPS::norm ( State const &  a)

Returns the norm of a state, i.e. \(\sqrt{\langle a | a \rangle }\).

Returns
the norm of the state, a real number.

References syten::abs(), normSqd(), syten::sqrt(), SYTEN_ASSERT_MSG, SYTEN_SMALL_THRESHOLD, and syten::underThreshold().

+ Here is the call graph for this function: