cirq.PhaseGradientGate

class cirq.PhaseGradientGate(*, num_qubits: int = None, exponent: Union[float, sympy.core.basic.Basic] = None)[source]

Phases each state |k⟩ out of n by e^(2piik/nexponent).

__init__(*, num_qubits: int = None, exponent: Union[float, sympy.core.basic.Basic] = None)[source]

Initialize self. See help(type(self)) for accurate signature.