Skip to content

bloqade.native.stdlib.simple.h

← Module overview

functionhsource

bloqade.native.stdlib.simple.h

def h(qubit: qubit.Qubit)

Apply a Hadamard gate on a single qubit.

Parameters

NameTypeDescription
qubitqubit.QubitThe qubit to apply the Hadamard gate to.
source