bloqade.native.stdlib.simple.cy
← Module overview
function
source
functioncy¶source
bloqade.native.stdlib.simple.cy
def cy(control: qubit.Qubit, targets: qubit.Qubit)Apply a controlled-Y gate on two qubits.
Parameters
| Name | Type | Description |
|---|---|---|
control | qubit.Qubit | The control qubit. |
targets | qubit.Qubit | The target qubit. |