Qiskit, Quantum Computing, Grovers Algorithm, Quantum Algorithms, Algorithms.
the moment, that wouldn’t be very effective. Right now, ‘s’ is in the state ‘0000’, so an MCX Gate wouldn’t even activate. This is another easy solution, though — just wrap the MCX Gate with X Gates for every qubit, changing the state to ‘1111’! Wrapping the MCX Gate in X-Gates makes sure it