deltakit.circuit.gates.SQRT_ZZ_DAG#

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

Bases: SymmetricTwoQubitGate[T]

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

Notes

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

Methods#

SQRT_ZZ_DAG.from_consecutive

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

SQRT_ZZ_DAG.stim_targets

Get the stim gate targets which define this operation.

SQRT_ZZ_DAG.transform_qubits

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