deltakit.circuit.gates.H_YZ#

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

Bases: OneQubitCliffordGate[T]

A variant of the Hadamard gate that swaps the Y and Z axes (instead of X and Z).

Parameters:

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

Notes

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

Methods#

H_YZ.stim_targets

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

H_YZ.transform_qubits

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