Statevector.is_valid

Statevector.is_valid(atol=None, rtol=None)[source]

Return True if a Statevector has norm 1.