bloqade.native.stdlib.simple.h
← Module overview
function
source
functionh¶source
bloqade.native.stdlib.simple.h
def h(qubit: qubit.Qubit)Apply a Hadamard gate on a single qubit.
Parameters
| Name | Type | Description |
|---|---|---|
qubit | qubit.Qubit | The qubit to apply the Hadamard gate to. |