Does Deutsch's Algorithm Reveal Insights Into Prime Numbers?

  • Context: Graduate 
  • Thread starter Thread starter Loren Booda
  • Start date Start date
  • Tags Tags
    Algorithm
Click For Summary

Discussion Overview

The discussion centers around the relationship between Deutsch's quantum algorithm and insights into prime numbers, particularly in relation to prime counting functions and quantum computing's potential impact on primality testing and factorization.

Discussion Character

  • Exploratory
  • Debate/contested
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • Some participants question whether Deutsch's algorithm has any relevance to the prime counting function, with one suggesting that there may be multiple versions of the algorithm.
  • One participant mistakenly conflates Deutsch's algorithm with Shor's algorithm, which is noted for its potential to factor numbers exponentially faster than classical methods, raising the question of whether quantum mechanics could provide shortcuts for counting primes.
  • Another participant discusses the efficiency of the Miller-Rabin primality test under the assumption of the Generalized Riemann hypothesis, suggesting that counting primes is typically not done by checking each number for primality due to resource constraints.
  • Variants of the Meissel-Lehmer method are mentioned as more efficient for finding pi(n), although they do not yield a complete list of primes.
  • Some participants express skepticism about the unique advantages of quantum computers over classical ones in understanding the density of primes, suggesting that classical methods may suffice with less time required.
  • One participant notes that while the factorization aspect of Shor's algorithm can be executed on classical computers, the order-finding problem is where quantum technology provides significant advantages.

Areas of Agreement / Disagreement

Participants express differing views on the relevance of Deutsch's algorithm to prime numbers, the capabilities of quantum computers compared to classical ones, and the methods used for counting primes. No consensus is reached on these points.

Contextual Notes

Participants acknowledge limitations in their understanding of quantum computing and its implications for prime number theory, indicating a reliance on assumptions and incomplete information regarding the algorithms discussed.

Loren Booda
Messages
3,115
Reaction score
4
Does Deutsch's quantum algorithm provide any profound classical insight into the density of primes?
 
Physics news on Phys.org
I don't see any relationship at all between Deutsch's algorithm and the prime counting function -- maybe there is more than one Deutsch's algorithm? The one I found was for a quantum computer to tell if a function from {0, 1} to {0, 1} was constant or not, with only one application of the function.
 
My mistake! Shor's algorithm, with a working quantum computer, would have the ability to factor numbers exponentially faster than classical computers. Present encryption, reliant upon prime numbers, would then become obsolete. Mathematically, could quantum mechanics and Shor's algorithm together facilitate a formulaic shortcut for the counting of primes?
 
Assuming that the Generalized Riemann hypothesis is true then the Miller-Rabin primality test has a runtime of O(log(n)4).

I don't think very often that Pi(n) is actually calculated by counting up primes, however you look as it that takes up a lot of processing power and storage space very quickly. But hey I don't know much on the subject.
 
Yes you don't check every number less than n for primality if you want to find pi(n) anymore. This would take at least O(n) operations even if you had a constant time primality test.

Much more efficient are variants of the Meissel-Lehmer method, which can find pi(n) in O(n^(2/3)) steps (divided by some terms involving log n) but don't give you a list of primes up to n.

I don't know much about quantum computers, so I can't really say what they'll be able to tell us about the density of primes. I'd expect nothing that a classical computer couldn't do, just with less time.
 
Last edited:
I don't know much about quantum computers, so I can't really say what they'll be able to tell us about the density of primes. I'd expect nothing that a classical computer couldn't do, just with less time.

...that's the impression I've always gotten. The factorization part of Shor's algorithm can be done on a classic computer, but it's when you get to the order-finding problem that Shor's algorithm takes advantage of the quantum technology (I don't remember where I read this, but once I do I'll look it up again and provide some more information).
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
5K
Replies
14
Views
3K
  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K