NLocal.OR¶
- NLocal.OR(qr_variables, qb_target, qr_ancillae, flags=None, mct_mode='basic')¶
Build a collective disjunction (OR) circuit in place using mct.
- Parameters
self (QuantumCircuit) – The QuantumCircuit object to build the disjunction on.
qr_variables (QuantumRegister) – The QuantumRegister holding the variable qubits.
flags (list[int]) – A list of +1/-1/0 to mark negations or omissions of qubits.
qb_target (Qubit) – The target qubit to hold the disjunction result.
qr_ancillae (QuantumRegister) – The ancillary QuantumRegister for building the mct.
mct_mode (str) – The mct building mode.