4
$\begingroup$

Trying to build an Oracle circuit for Grover's algorithm that will try to find a desired input in order to get a certain output of a hash function.

Was wondering if there were any 4 or 8 bit hash functions out there or any hash functions that could be easily built into a quantum circuit (obviously building up from classical circuits)

Any help would be great Thanks!

$\endgroup$

2 Answers 2

1
$\begingroup$

Have a look at this article https://qibo.readthedocs.io/en/stable/tutorials/hash-grover/README.html - seems like it's exactly what you are looking for.

$\endgroup$
1
$\begingroup$

I wrote an example hash function in the documentation of the qlasskit library; the result is directly exportable to qiskit, so it may be the answer for your question: https://dakk.github.io/qlasskit/example_grover_hash.html

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.