Skip to content

bloqade.native.stdlib.simple.ry

← Module overview

functionrysource

bloqade.native.stdlib.simple.ry

def ry(angle: float, qubit: qubit.Qubit)

Apply an RY rotation gate on a single qubit.

Parameters

NameTypeDescription
anglefloatRotation angle in radians.
qubitqubit.QubitThe qubit to apply the rotation to.
source