def apply_y(self, axis: int, exponent: float = 1, global_shift: float = 0):
        """Apply an Y operation to the state.

        Args:
            axis: The axis to which the operation should be applied.
            exponent: The exponent of the Y operation, must be a half-integer.
            global_shift: The global phase shift of the raw operation, prior to
                exponentiation. Typically the value in `gate.global_shift`.
        Raises:
            ValueError: If the exponent is not half-integer.
        """
Apply an Y operation to the state.

        Args:
            axis: The axis to which the operation should be applied.
            exponent: The exponent of the Y operation, must be a half-integer.
            global_shift: The global phase shift of the raw operation, prior to
                exponentiation. Typically the value in `gate.global_shift`.
        Raises:
            ValueError: If the exponent is not half-integer.
        
cirq-core/cirq/qis/clifford_tableau.py