tlquantum.tt_state.tt_norm

tlquantum.tt_state.tt_norm(tensor)[source]

The norm of a TT-tensor state.

Parameters:
statett-tensor, input state to be evolved by unitary
Returns:
float, modulo squared of tensor