Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Quantum Algorithm for Solving the Pell’s Equation

2002; Hallgren

  • Reference work entry
Encyclopedia of Algorithms
  • 205 Accesses

Problem Definition

Pell's equation is one of the oldest studied problem in number theory. For a positive square-free integer d, Pell's equation is \( x^2 - d y^2 =1 \), and the problem is to compute integer solutions x, y of the equation [7,9]. The earliest algorithm for it uses the continued fraction expansion of \( \sqrt{d} \) and dates back to 1000 a.d. by Indian mathematicians. Lagrange showed that there are an infinite number of solutions of Pell's equation. All solutions are of the form \( x_n + y_n \sqrt{d} = (x_1 + y_1 \sqrt{d})^n \), where the smallest solution, \( (x_1, y_1) \), is called the fundamental solution. The solution \( (x_1, y_1) \) may have exponentially many bits in general in terms of the input size, which is log d, and so cannot be written down in polynomial time. To resolve this difficulty, the computational problem is recast as computing the integer closest to the regulator \( R = \ln(x_1 + y_1 \sqrt{d}) \). In this representation solutions of Pell's...

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 399.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Recommended Reading

  1. Buchmann, J., Thiel, C., Williams, H.C.: Short representation of quadratic integers. In: Bosma, W., van der Poorten A.J. (eds.) Computational Algebra and Number Theory, Sydney 1992. Mathematics and its Applications, vol. 325, pp. 159–185. Kluwer Academic Publishers (1995)

    Google Scholar 

  2. Buchmann, J.A., Williams, H.C.: A key exchange system based on real quadratic fields (extended abstract). In: Brassard, G. (ed.) Advances in Cryptology–CRYPTO '89. Lecture Notes in Computer Science, vol. 435, pp. 335–343. Springer 1990, 20–24 Aug (1989)

    Google Scholar 

  3. Cohen, H.: A course in computational algebraic number theory, vol. 138 of Graduate Texts in Mathematics. Springer (1993)

    Google Scholar 

  4. Hallgren, S.: Polynomial-time quantum algorithms for Pell's equation and the principal ideal problem. J. ACM 54(1), 1–19 (2007)

    Article  MathSciNet  Google Scholar 

  5. Hamdy, S., Maurer, M.: Feige-fiat-shamir identification based on real quadratic fields, Tech. Report TI-23/99. Technische Universität Darmstadt, Fachbereich Informatik, http://www.informatik.tu-darmstadt.de/TI/Veroeffentlichung/TR/ (1999)

  6. Jozsa, R.: Notes on Hallgren's efficient quantum algorithm for solving Pell's equation, tech. report, quant-ph/0302134 (2003)

    Google Scholar 

  7. Lenstra Jr, H.W.: Solving the Pell equation. Not. Am. Math. Soc. 49, 182–192 (2002)

    MathSciNet  MATH  Google Scholar 

  8. Thiel, C.: On the complexity of some problems in algorithmic algebraic number theory, Ph. D. thesis. Universität des Saarlandes, Saarbrücken, Germany (1995)

    Google Scholar 

  9. Williams, H.C.: Solving the Pell equation. In: Proc. Millennial Conference on Number Theory, pp. 397–435 (2002)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag

About this entry

Cite this entry

Hallgren, S. (2008). Quantum Algorithm for Solving the Pell’s Equation. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-30162-4_312

Download citation

Publish with us

Policies and ethics