cirq.canonicalize_half_turns

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

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