qrisp.QuantumCircuit.cp#
- QuantumCircuit.cp(phi: FloatLike, qubits_0: QubitLike, qubits_1: QubitLike)#
Instruct a controlled phase-gate.
- Parameters:
- phiFloatLike
The angle parameter.
- qubits_0QubitLike
The Qubit to apply the gate on.
- qubits_1QubitLike
The other Qubit to apply the gate on.