cirq.canonicalize_half_turns

cirq.canonicalize_half_turns(half_turns: Union[sympy.core.basic.Basic, float]) → Union[sympy.core.basic.Basic, float][source]

Wraps the input into the range (-1, +1].