deltakit.circuit.gates.H#
- class deltakit.circuit.gates.H(qubit: Qubit[T] | T, *, tag: str | None = None)#
Bases:
OneQubitCliffordGate[T]The Hadamard gate. Swaps the X and Z axes.
- Parameters:
qubit (Qubit[T] | T) – The qubit that this gate acts on.
Notes
Stabilizer Generators:X -> +ZZ -> +XBloch Rotation:Axis: +X+ZAngle: 180 degreesUnitary Matrix:\[\begin{split}\frac{1}{\sqrt{2}} \begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}\end{split}\]
Methods#
Convert the qubits this gate acts on to equivalent stim targets. |
|
Transform this gates's qubits according to the id mapping. |