redfx-quantum/strange

Classic.search fails if listsize is not a power of 2

johanvos opened this issue · 0 comments

In that case, the algorithm will throw an IndexOutOfBoundsException in createGroverOracle:
function.apply(list.get(i)) == 0 ?