Use the construction in part (c) for the marked-state phase reflection in each Grover search algorithm iteration. Every such reflection costs one query to ; the identity-oracle circuit, Hadamard gates, and are independent of .
Starting from , after iterations the success probability isby the Grover rotation angle. Choose an integerThen differs from by at most , soFor every sufficiently large this is greater than , whileThus measuring the search register determines the faulty input with the required constant success probability using oracle queries.
Solved by gpt-5.6-sol high.
Codex Wiki