Skip to content

bloqade.qasm2.cu3

← Module overview

functioncu3source

bloqade.qasm2.cu3

Signature
def cu3(ctrl: Qubit, qarg: Qubit, theta: float, phi: float, lam: float) -> None

Controlled 3-parameter unitary gate.

Parameters

NameTypeDescription
ctrlQubitThe control qubit.
qargQubitThe target qubit.
thetafloatThe angle of rotation.
phifloatThe angle of rotation.
lamfloatThe angle of rotation.
source