[Paper Review] Probability Analysis of a Quantum Computer
This paper analyzes the probability of success in Shor's prime factorization algorithm on a quantum computer, showing that a randomly chosen base $ x $ yields a working factorization with 2/3 probability. It derives the output state's probability distribution using quantum Fourier transform and confirms that post-processing via continued fractions reliably recovers the order $ r $, with failure due to odd $ r $ or $ x^{r/2} \equiv -1 \pmod{n} $ occurring with combined probability 1/3.
The quantum computer algorithm by Peter Shor for factorization of integers is studied. The quantum nature of a QC makes its outcome random. The output probability distribution is investigated and the chances of a successful operation is determined
Motivation & Objective
- To analyze the probability of successful factorization using Shor's algorithm on a quantum computer.
- To determine the likelihood that a randomly selected base $ x $ leads to a working factorization.
- To quantify the role of quantum Fourier transform and post-processing in recovering the order $ r $.
- To identify conditions under which the algorithm fails and their combined probability.
Proposed method
- Models the quantum state after applying the quantum Fourier transform to the superposition of $ x^a \mod n $.
- Derives the probability distribution $ P(c) $ for measuring output state $ c $ using geometric series summation of exponential terms.
- Uses the envelope function $ \frac{\sin^2[\pi(M+1)rc/N]}{\sin^2[\pi rc/N]} $ to describe peak structure in the output distribution.
- Applies continued fractions to estimate $ \nu/r $ from $ c/N $, ensuring correct recovery when $ |c/N - \nu/r| < \Delta_{\text{min}} $.
- Analyzes the probability that $ d = 0 $ or $ d = 1 $, showing a 90.2% chance of correct order recovery for $ N \geq n^2 $.
- Evaluates failure conditions: $ r $ odd (probability 1/4) and $ x^{r/2} \equiv -1 \pmod{n} $ (probability 1/12), summing to 1/3 total failure probability.
Experimental results
Research questions
- RQ1What is the probability that a randomly chosen $ x $ leads to a successful factorization using Shor's algorithm?
- RQ2How does the quantum Fourier transform influence the output state distribution and measurement outcomes?
- RQ3Under what conditions does the continued fraction post-processing fail to recover the correct order $ r $?
- RQ4What fraction of random $ x $ values lead to algorithm failure due to $ r $ being odd or $ x^{r/2} \equiv -1 \pmod{n} $?
- RQ5How does the size of the quantum register $ N = 2^{q_A} $ affect the reliability of order recovery?
Key findings
- The probability that a randomly selected $ x $ leads to a working factorization is exactly 2/3, independent of the size of $ n $.
- The failure probability due to $ r $ being odd is 1/4, and the failure probability due to $ x^{r/2} \equiv -1 \pmod{n} $ is 1/12, summing to 1/3.
- When $ N \geq n^2 $, the probability that the continued fraction algorithm correctly recovers $ r $ given $ d = 0 $ or $ d = 1 $ is 90.2%.
- The probability that $ d = 0 $ or $ d = 1 $, which ensures correct order recovery, is well approximated by $ \frac{\sin^2(\pi\delta_\nu)}{\pi^2(d - \delta_\nu)^2} $, with high accuracy for small $ r/N $.
- The algorithm fails when $ \nu = 0 $, which occurs with probability $ 1/r $, but this is typically negligible for large $ r $.
- The condition $ x^{r/2} \equiv -1 \pmod{n} $ occurs only when both $ r_1 $ and $ r_2 $ are even and share the same power of two, which happens with probability 1/12 for random $ x $.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.