Use this topic to ask your questions about the PennyLane Challenge: The oracle of the exact distance.
Hello,
I tried computing the difference between the two integer using the QFT (like the demo), but there aren’t enought qubits to compute both differences to deduce the absolute value, and I will still need to use mid circuit measurement. So I am starting to think that there is another way to do it. Can some one give me a hint ?
Thanks
Hi @yoshypdf ,
I can confirm that you don’t need mid-circuit measurements for this challenge.
This is an advanced challenge and the solution can be quite complex so it’s hard to give a hint. I’d recommend reading the problem statement again and looking at the figure and the implementation details.