cirq.canonicalize_half_turns

cirq.canonicalize_half_turns(half_turns: float) → float[source]
cirq.canonicalize_half_turns(half_turns: sympy.Basic) → sympy.Basic

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