Download presentation
Presentation is loading. Please wait.
1
A low cost quantum factoring algorithm
D. J. Bernstein, J.-F. Biasse and M. Mosca University of Illinois at Chicago University of South Florida University of Waterloo
2
Shorβs algorithm [Shor 94]: There is a quantum factoring algorithm to factor π. Runs in polynomial time in log π . Requires O( log π) qubits ( 2log (π) +π(1) with [Beauregard 03, EkerΓ₯-HΓ₯stad 17]) Question: Is there an algorithm which uses a sublinear number of qubits and still outperforms the best known classical factoring methods ? In this work, we describe an algorithm for factoring π that Requires Γ (log π ) logical qubits. Has a complexity with a better exponent than the Number Field Sieve.
3
The Number Field Sieve (NFS) algorithm
The best known pre-quantum method to factor π runs in heuristic asymptotic time πΏ π+π(1) where: p β πΏ β π (log π) 1/3 ( log log π) 2/3 This complexity is called βsubexponentialβ. The NFS algorithm is practical for non- trivial key sizes: Factorization of a 768-bit RSA modulus [Kleinjung et al. 10]. Factorization of 512-bit moduli for $75 with Amazon Cloud [VCLFBH16] Starting idea: use a quantum NFS variant to achieve a heuristic run time of πΏ π(1) 3 8/3 β1.387<πβ1.902
4
Relation collection in the Number Field Sieve (NFS)
Search space π πββ€ Search for π,π βπ such that π(π,π) is a product of primes β€π¦ where: π¦ββ is a subexponential bound. πββ€[π,π] depends on π. When enough relations are found, they are used to find π,πββ€ such that: π 2 β π 2 β‘0 πππ π a ββ€ With good probability, this yields a non trivial divisor of π.
5
Testing the smoothness of an integer
Problem: How do we decide if π(π,π) is a product of primes β€π¦ (i.e. π¦-smooth) ? Classical method Elliptic Curve Method (ECM) Complexity in π Γ( log π¦ ) In the NFS, this step is negligible With a quantum computer, we can use Shorβs algorithm It runs in polynomial time. log (π π,π ) βΓ log π so it requires Γ log π qubits
6
Groverβs search algorithm
Suppose there is a polynomial time algorithm represented by the unitary π with π |π,π = β|π,π if π(π,π) is π¦-smooth. π |π,π = |π,π otherwise. Then Groverβs algorithm can find π,π such that x=π(π,π) is π¦-smooth in a range of π elements in time π( π ) Challenge: quantum algorithm for the smoothness test with Γ log π qubits. Solution: Use iterations on Shorβs algorithm running ``in superpositionββ.
7
Running Shorβs algorithm in superposition
Let πββ€ of (unknown) order π modulo π₯ π 2 π β π π π π π,π₯ Quantum part Measurement Classical part We get π₯ π π 2 β1 π π 2 +1 Yields a non trivial factor of π₯ with probability 1/Ξ©( log log π₯ ) This work: completely quantum algorithm that returns a state that encodes a pair of divisors of π₯ Uses Γ log π 2/3 qubits when log π₯ βΓ log π 2/3
8
Smoothness test by iterations of Shorβs algorithm
We have a quantum algorithm that performs |π₯ β |π₯ 1 , π₯ 2 where π₯= π₯ 1 π₯ 2 Runs π‘= (log π) 2/3+π(1) iterations | π₯ , π₯ 2 (1) | π₯ , π₯ , π₯ 3 (2) | π₯ 1 π‘ ,β¦, π₯ π (π‘) |π₯ β¦ π₯= π₯ 1 (1) π₯ 2 (1) π₯ 1 (1) =π₯ 1 (2) π₯ 2 (2) π₯= π₯ 1 (π‘) β¦ π₯ π (π‘) Leaves π₯ π (π) β€π¦ untouched Features Keeps them in the first indices Last test: is π₯ π (π‘) β€ π¦ ? Detects prime powers
9
Open problem: challenges of fault-tolerant implementations
Standard version of the threshold theorem [Aharonov,Ben-Or 97]: π qubits, π gates A logical circuit containing can be replaced by a fault tolerant implementation using π π Polylog ππ qubits. Problem: here π is subexponential, therefore log π βΓ (log π) 1/3 . [Gottesman 13]: We can achieve a constant ratio #Physical qubits/#Logical qubits using quantum error correction with certain properties. Some LDPC codes meet these restrictions, but the (classical) decoding algorithms are inefficient.
10
Conclusion: other aspects we considered
Smoothness test with quantum ECM Same run time. Qubit requirement in Γ log π 5/6 DLP in β€ π Useful for the precomputation phase Useless for individual logarithms Parallel variant of smoothness test Separates any two primes with good probability. Unclear if it reduces the run time.
11
Thank you for your attention
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.