Grovers circuit