qiskit.circuit.QuantumCircuit.mcry¶
-
QuantumCircuit.
mcry
(theta, q_controls, q_target, q_ancillae=None, mode=None, use_basis_gates=False)¶ Apply Multiple-Controlled Y rotation gate
- Parameters
self (QuantumCircuit) – The QuantumCircuit object to apply the mcry gate on.
theta (float) – angle theta
q_controls (list(Qubit)) – The list of control qubits
q_target (Qubit) – The target qubit
q_ancillae (QuantumRegister or tuple(QuantumRegister, int)) – The list of ancillary qubits.
mode (string) – The implementation mode to use
use_basis_gates (bool) – use p, u, cx
- Raises
QiskitError – parameter errors