deltakit.circuit.gates.YCY#
- class deltakit.circuit.gates.YCY(control: UT | T, target: VT | T, *, tag: str | None = None)#
Bases:
ControlledGate[Qubit[T],Qubit[T]],SymmetricTwoQubitGate[Qubit[T]]The Y-controlled Y gate. First qubit is the control, second qubit is the target. Applies a Y gate to the target if the control is in the
|-i>state.Notes
Negates the amplitude of the
|-i,-i>state.Stabilizer Generators:X_ -> +XYZ_ -> +ZY_X -> +YX_Z -> +YZUnitary Matrix:\[\begin{split}\frac{1}{2} \begin{pmatrix} 1 & -i & -i & 1 \\ i & 1 & -1 & -i \\ i & -1 & 1 & -i \\ 1 & i & i & 1 \end{pmatrix}\end{split}\]
Methods#
Yield an class instance for each pair in a flattened sequence of data. |
|
Get the stim gate targets which define this operation. |
|
Transform this gates's qubits according to the id mapping. |