deltakit.circuit.gates.S_DAG#

class deltakit.circuit.gates.S_DAG(qubit: Qubit[T] | T, *, tag: str | None = None)#

Bases: OneQubitCliffordGate[T]

Adjoint of the principal square root of Z gate. Phases the amplitude of |1> by -i.

Parameters:

qubit (Qubit[T] | T) – The qubit that this gate acts on.

Notes

Stabilizer Generators:
X -> -Y
Z -> +Z
Bloch Rotation:
Axis: +Z
Angle: -90 degrees
Unitary Matrix:
\[\begin{split}\begin{pmatrix} 1 & 0 \\ 0 & -i \end{pmatrix}\end{split}\]

Methods#

S_DAG.stim_targets

Convert the qubits this gate acts on to equivalent stim targets.

S_DAG.transform_qubits

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