Alternating bits
You get an n-dimensional vector of bits. Your oracle should decide if the bit values alternate. Output true if you detect this pattern. Otherwise false.
Tutorial Webpage for
Lecture Quantum Computing
Loading...
You get an n-dimensional vector of bits. Your oracle should decide if the bit values alternate. Output true if you detect this pattern. Otherwise false.