Skip to content

bloqade.qasm2.cu1

← Module overview

functioncu1source

bloqade.qasm2.cu1

def cu1(ctrl: Qubit, qarg: Qubit, lam: float) -> None

Controlled phase rotation gate.

Parameters

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