deltakit.circuit.gates.SQRT_X_DAG#

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

Bases: OneQubitCliffordGate[T]

Adjoint of the principal square root of X gate. Phases the amplitude of |-> by -i. Equivalent to H then S_DAG then H.

Parameters:

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

Notes

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

Methods#

SQRT_X_DAG.stim_targets

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

SQRT_X_DAG.transform_qubits

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