Qiskit, Quantum Computing, Computer Science, Deutsch Jozsa Algorithm, Quantum Algorithms.
onto the Auxiliary. For this, we’ll need two-qubit gates. We have a choice now — do we use a CX Gate, and bit-flip, or a CZ Gate, and phase-flip? Phase flips don’t affect measurement outcomes — but we want our Auxiliary to show the output of the Oracle in measurement. A CX Gate upon our Query and