Qiskit, Quantum Computing, Grovers Algorithm, Quantum Algorithms, Algorithms.
the Query. While we’re at it, we should add in a function to generate a random hidden bit string of ’n’ digits. That way, we can be sure we haven’t hard-coded in any result, and that the Oracle really is working. You might have noticed in the plan we made in Part 1, that we apply the Oracle