Skip to content

bloqade.native.stdlib.simple.cy

← Module overview

functioncysource

bloqade.native.stdlib.simple.cy

def cy(control: qubit.Qubit, targets: qubit.Qubit)

Apply a controlled-Y gate on two qubits.

Parameters

NameTypeDescription
controlqubit.QubitThe control qubit.
targetsqubit.QubitThe target qubit.
source