Polynomial-time quantum algorithms for Pell's equation and the principal ideal problem

Polynomial-time quantum algorithms for Pell's equation and the principal ideal problem