Skip to content

bloqade.squin.stdlib.simple.gate.rz

← Module overview

functionrzsource

bloqade.squin.stdlib.simple.gate.rz

def rz(angle: float, qubit: Qubit) -> None

Apply an RZ rotation gate to a qubit.

Parameters

NameTypeDescription
anglefloatRotation angle in radians.
qubitQubitTarget qubit.
source