Deutsch Algorithm
摘要
We will witness the first quantum parallelism in this chapter by studying the Deutsch algorithm. This is a special case of the Deutsch–Jozsa algorithm. We will go through the algorithm step-by-step and implement it on IBM-Q. The most important thing we will learn from this algorithm is that, while quantum computing can give certain information at an exponentially faster speed, we need to sacrifice other information that might not be important to us. In Deutsch algorithm, while we can figure out if a function is constant or balanced, we do not know exactly what that function is.