cirq.PhasedXPowGate¶
-
class
cirq.PhasedXPowGate(*, phase_exponent: Union[float, cirq.value.symbol.Symbol], exponent: Union[float, cirq.value.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, cirq.value.symbol.Symbol], exponent: Union[float, cirq.value.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.
Methods
on(*qubits)Returns an application of this gate to the given qubits. on_each(targets)Returns a list of operations apply this gate to each of the targets. validate_args(qubits)Checks if this gate can be applied to the given qubits. Attributes
exponentThe exponent on the central X gate conjugated by the Z gates. phase_exponentThe exponent on the Z gates conjugating the X gate. -