deltakit.circuit.gates.SQRT_XX#

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

Bases: SymmetricTwoQubitGate[T]

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

Notes

Stabilizer Generators:
X_ -> +X_
Z_ -> -YX
_X -> +_X
_Z -> -XY
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_XX.from_consecutive

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

SQRT_XX.stim_targets

Get the stim gate targets which define this operation.

SQRT_XX.transform_qubits

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