Skip to content

bloqade.squin.stdlib.simple.gate.cz

← Module overview

functionczsource

bloqade.squin.stdlib.simple.gate.cz

def cz(control: Qubit, target: Qubit) -> None

Apply a controlled-Z gate to a pair of qubits.

Parameters

NameTypeDescription
controlQubit
targetQubit
source