deltakit.circuit.gates.SQRT_YY_DAG#

class deltakit.circuit.gates.SQRT_YY_DAG(operand1: UT | T, operand2: VT | T, *, tag: str | None = None)#

Bases: SymmetricTwoQubitGate[T]

Phases the -1 eigenspace of the YY observable by -i.

Notes

Stabilizer Generators:
X_ -> +ZY
Z_ -> -XY
_X -> +YZ
_Z -> -YX
Unitary Matrix:
\[\begin{split}\frac{1}{2} \begin{pmatrix} 1-i & 0 & 0 & -1-i \\ 0 & 1-i & 1+i & 0 \\ 0 & 1+i & 1-i & 0 \\ -1-i & 0 & 0 & 1-i \end{pmatrix}\end{split}\]

Methods#

SQRT_YY_DAG.from_consecutive

Yield an class instance for each pair in a flattened sequence of data.

SQRT_YY_DAG.stim_targets

Get the stim gate targets which define this operation.

SQRT_YY_DAG.transform_qubits

Transform this gates's qubits according to the id mapping.