Qiskit, Quantum Computing, Grovers Algorithm, Quantum Algorithms, Algorithms.
that ‘-1’ state. That came from the MCX Gate, and so only applies to the state which activated it. And, by wrapping parts of the MCX Gate with X Gates took special care to ensure that the only state activating the MCX Gate was the correct one. When the Oracle acts upon our equal superposition, the