deltakit.circuit.gates.ISWAP_DAG#
- class deltakit.circuit.gates.ISWAP_DAG(operand1: UT | T, operand2: VT | T, *, tag: str | None = None)#
Bases:
SymmetricTwoQubitGate[T]Swaps two qubits and phases the -1 eigenspace of the ZZ observable by -i. Equivalent to SWAP then CZ then S_DAG on both targets.
Notes
Stabilizer Generators:X_ -> -ZYZ_ -> +_Z_X -> -YZ_Z -> +Z_Unitary Matrix:\[\begin{split}\begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & 0 & -i & 0 \\ 0 & -i & 0 & 0 \\ 0 & 0 & 0 & 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. |