Grover circuit