bloqade.qasm2.rz
← Module overview
function
source
functionrz¶source
bloqade.qasm2.rz
def rz(qarg: Qubit, theta: float) -> NoneSingle qubit rotation about the Z axis on block sphere
Parameters
| Name | Type | Description |
|---|---|---|
qarg | Qubit | The qubit to apply the gate to. |
theta | float | The angle of rotation. |