Update README.md

This commit is contained in:
2024-12-09 13:31:56 -08:00
parent 9b8584bd6f
commit f702251949
2 changed files with 9 additions and 3 deletions

View File

@ -16,10 +16,10 @@ bits and finds when the state is equal to TARGET."
;; Setup
(loop for i below bits do (:h i))
;; Oracle
(loop
repeat (count-grover-iterations bits 1)
do
;; Oracle
(loop for i below bits
for cur = (logand (ash target (- i)) 1)
when (zerop cur)