qiskit.ml.circuit.library.RawFeatureVector.mcrx¶
-
RawFeatureVector.
mcrx
(theta, q_controls, q_target, use_basis_gates=False)¶ Apply Multiple-Controlled X rotation gate
- Parameters
self (QuantumCircuit) – The QuantumCircuit object to apply the mcrx gate on.
theta (float) – angle theta
q_controls (list(Qubit)) – The list of control qubits
q_target (Qubit) – The target qubit
use_basis_gates (bool) – use p, u, cx
- Raises
QiskitError – parameter errors