Skip to content

bloqade.qasm2.u

← Module overview

functionusource

bloqade.qasm2.u

def u(qarg: Qubit, theta: float, phi: float, lam: float) -> None

U gate.

Parameters

NameTypeDescription
qargQubitThe qubit to apply the gate to.
thetafloatThe angle of rotation
phifloatThe angle of rotation
lamfloatThe angle of rotation

Note

See https://arxiv.org/pdf/1707.03429 for definition of angles.

source