bloqade.native.stdlib.simple.rz
← Module overview
function
source
functionrz¶source
bloqade.native.stdlib.simple.rz
def rz(angle: float, qubit: qubit.Qubit)Apply an RZ rotation gate on a single qubit.
Parameters
| Name | Type | Description |
|---|---|---|
angle | float | Rotation angle in radians. |
qubit | qubit.Qubit | The qubit to apply the rotation to. |