Defines an oracle function for Amplitude Amplification. The oracle identifies "good" states in the quantum superposition.
A binary string representing a computational basis state.
true if the state is marked as "good", false otherwise.
true
false
Defines an oracle function for Amplitude Amplification. The oracle identifies "good" states in the quantum superposition.