Qualtran icon indicating copy to clipboard operation
Qualtran copied to clipboard

Discrepancies in qualtran 0.5.0 execution and tutorial examples

Open zphy opened this issue 10 months ago • 2 comments

When trying to run the tutorial examples at https://qualtran.readthedocs.io/en/latest/bloqs/chemistry/resource_estimation.html, I obtain different results. Whereas the example obtains an estimated Toffoli count: qualtran = 11139 vs. ref = 10880, delta = 259, where the delta is small, running the same piece of code in qualtran 0.5.0 gives me qualtran = 24961 vs. ref = 10880, delta = 14081, a much larger discrepancy.

zphy avatar Feb 10 '25 02:02 zphy

I believe that's around the time when QROAM was implemented with the inverse costed correctly (hence the much bigger discrepancy in the earlier version of qualtran).

fdmalone avatar Feb 12 '25 21:02 fdmalone

If I'm not mistaken, qualtran 0.5.0 is the current release? It seems that the numbers have a larger discrepancy now than before.

zphy avatar Feb 13 '25 20:02 zphy