Reproducing the proof that quantum outperforms classical for the first time: a determination that previously required 513 trials can now be reliably decided in just one
I strictly reproduced the 1992 Deutsch-Jozsa algorithm locally. While classical determination of whether a function is constant or balanced requires up to 513 evaluations (for n=10) in the worst case, the quantum approach determines it reliably in just one evaluation. I confirmed a probability of 1.0 for all zeros in the constant case, and exactly 0.0 in the balanced case. However, this was limited to oracles constructible using CX and X gates; general balanced functions were computed using matrices.
The rest of this article is available to スタンダード members.
See membership plansThis article was translated from the Japanese original. 日本語で読む