deltakit.circuit.gates.SQRT_Y#

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

Bases: OneQubitCliffordGate[T]

Principal square root of Y gate. Phases the amplitude of |-i> by i. Equivalent to S then H then S then H then S_DAG.

Parameters:

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

Notes

Stabilizer Generators:
X -> -Z
Z -> +X
Bloch Rotation:
Axis: +Y
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_Y.stim_targets

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

SQRT_Y.transform_qubits

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