deltakit.circuit.gates.SQRT_X#

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

Bases: OneQubitCliffordGate[T]

Principal square root of X gate. Phases the amplitude of |-> by i. Equivalent to H then S 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.stim_targets

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

SQRT_X.transform_qubits

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