Returns the squared norm \( \langle a | a \rangle\) of a state.
References syten::imag(), overlap(), syten::real(), SYTEN_ASSERT_DEBUG, and SYTEN_ZNORM_THRESHOLD.
Referenced by syten::Pyten::init_ipeps_state(), syten::BTT::State::load(), and norm().