bloqade.squin.stdlib.simple.gate.rz
← Module overview
function
source
functionrz¶source
bloqade.squin.stdlib.simple.gate.rz
def rz(angle: float, qubit: Qubit) -> NoneApply an RZ rotation gate to a qubit.
Parameters
| Name | Type | Description |
|---|---|---|
angle | float | Rotation angle in radians. |
qubit | Qubit | Target qubit. |