qiskit.circuit.QuantumCircuit.mcp¶
- QuantumCircuit.mcp(lam, control_qubits, target_qubit)[source]¶
Apply
MCPhaseGate
.For the full matrix form of this gate, see the underlying gate documentation.
- প্যারামিটার
lam (Union[ParameterExpression, float]) -- The angle of the rotation.
control_qubits (Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]) -- The qubits used as the controls.
target_qubit (Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]) -- The qubit(s) targeted by the gate.
- রিটার্নস
A handle to the instructions created.
- রিটার্ন টাইপ