Skip to content

bloqade.native.stdlib.simple.cz

← Module overview

functionczsource

bloqade.native.stdlib.simple.cz

def cz(control: qubit.Qubit, target: qubit.Qubit)

Apply a controlled-Z gate on two qubits.

Parameters

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