def METHOD_NAME(
    self, resolver: 'cirq.ParamResolver', recursive: bool
) -> 'PhaseGradientGate':
    new_exponent = cirq.resolve_parameters(self.exponent, resolver, recursive)
    if new_exponent is self.exponent:
        return self
    return PhaseGradientGate(num_qubits=self._num_qubits, exponent=new_exponent)