QuantumCircuit.cp

QuantumCircuit.cp(theta, control_qubit, target_qubit, label=None, ctrl_state=None)[source]

Apply CPhaseGate.