cirq.PhaseGradientGate

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

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

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

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