Quantum Computing, Science, Programming.
then correspond to a ship’s journey towards destruction. A ship destroyed by a single hit will be pretty easy to simulate. We can initialize it in state 0, and then apply a NOT when it gets hit. When we find it in state 1, we’ll know it has been destroyed. Let’s look at how to implement just this