Quantum Computing.
will add an overall phase to the state and the second Hadamard transformation will return the state |0⟩. If ƒ(x) is not constant the oracle will add a relative phase of -1 between the states of the superposition and the second Hadamard will return the state |0⟩. So the oracle can find out if ƒ(x)