If AI sufficiently breaks crypto math such that a classical algorithm can decrypt anything, then it doesn’t really matter (for now, in this context) whether it also boosts quantum algorithms.