|q⟩ Bad Qubits

← Question Bank

Multiple choice
To build the oracle U_f for the balanced function f(x0,x1) = x0 XOR x1 on qubits 0,1 (inputs) and qubit 2 (ancilla), which gates write the function value into the ancilla?