sf.physics.normalize

mrmustard.physics.normalize(A)[source]

Returns the normalized state.

Parameters:

A (State) – the quantum state

Returns:

the normalized state

Return type:

State