|View source on GitHub|
An effect that can be phased around the Z axis of target qubits.
cirq.SupportsPhase( *args, **kwargs )
_phase_by_( phase_turns: float, qubit_index: int )
Returns a phased version of the effect.
Specifically, returns an object with matrix P U P^-1 (up to global phase) where U is the given object's matrix and P = Z(qubit_index)**(2 * phase_turns). For example, an X gate phased by 90 degrees would be a Y gate.
||The amount to phase the gate, in fractions of a whole turn. Multiply by 2π to get radians.|
||The index of the target qubit the phasing applies to.|
|The phased gate or operation.|