One classical query at any chosen returns only . Every possible slope is compatible with that answer by choosing , so no one-query classical algorithm can determine with certainty.
For the quantum algorithm, let and prepare
Part (b) shows that the single query applies quantum phase kickback:
The unknown intercept contributes only a global phase. Applying to the first register produces , whose computational-basis measurement determines with certainty after one query.

Articles by others on the same topic (0)

There are currently no matching articles.