cirq.PhasedXPowGate

class cirq.PhasedXPowGate(*, phase_exponent: Union[float, sympy.core.symbol.Symbol] = None, exponent: Union[float, sympy.core.symbol.Symbol] = 1.0, global_shift: float = 0.0)[source]

A gate equivalent to the circuit ───Z^-p───X^t───Z^p───.

__init__(*, phase_exponent: Union[float, sympy.core.symbol.Symbol] = None, exponent: Union[float, sympy.core.symbol.Symbol] = 1.0, global_shift: float = 0.0) → None[source]
Parameters
  • phase_exponent – The exponent on the Z gates conjugating the X gate.

  • exponent – The exponent on the X gate conjugated by Zs.

  • global_shift – How much to shift the operation’s eigenvalues at exponent=1.