science.wiki

The current state of research, live.

Q-Day Sources 2017

All sources

Every paper, standard and report evaluated for Q-Day, including the sources that yielded no evidence.

1,263 evaluated editions
1,144 contributed evidence119 skipped

20 of 1,263 source editions · 2017

arXivarXiv

A Survey on Security and Privacy Issues of Bitcoin

Mauro Conti et al. · 3 claims

C. Client-side Security Threats

Each Bitcoin client posses a set of private-public keys in order to access its account or wallet. Hence, it is desirable to have the key management techniques that are secure, yet usable. This is due to the fact that unlike many other applications of cryptography if the keys of a client are lost or compromised, the client will suffer immediate and irrevocable monetary losses. To use the bitcoins, a user needs to install a wallet on her desktop or mobile device. The wallet stores the set of private-public keys associated with the owner of the wallet, thus it is essential to take protective actions to secure the wallet. The wallet thefts are mainly performed using mechanisms that include system hacking, installation of buggy software, and incorrect usage of the wallet. Bitcoin protocol relies heavily on elliptic curve cryptography [98] for securing the transactions. In particular, Bitcoin uses elliptic curve digital signature algorithm (ECDSA) which is standardized by NIST [99] for signing the transactions. For instance, consider the standard “Pay-to-PubKeyHash” (P2PKH) transaction script in which the user needs to provide her public key and the signature (using her private key) to prove the ownership. To generate a signature, the user chooses a per-signature random value. For security reason, this value must be kept secret, and it should be different for every other transaction. Repeating per-signature value risks the private key computation, as it has been shown in [100] that even partially bit-wise equal random values suffice to derive a user’s private key. Therefore, it is essential for increasing the security of ECDSA to use highly random and distinct per-signature values for every transaction signature. The inspection of the blockchain for ...

NISTNIST

Round 1 Submissions

71 claims

Round 1 Submissions

Official comments on the First Round Candidate Algorithms should be submitted using the "Submit Comment" link for the appropriate algorithm. Comments from the pqc-forum Google group subscribers will also be forwarded to the pqc-forum Google group list. We will periodically post and update the comments received to the appropriate algorithm. All relevant comments will be posted in their entirety and should not include PII information in the body of the email message. Please refrain from using OFFICIAL COMMENT to ask administrative questions, which should be sent to [email protected]

arXivarXiv

Understanding Quantum Algorithms via Query Complexity

Andris Ambainis · 4 claims

3 Maximum quantum-classical gap for partial functions

In this section, we consider the question: what is the maximum possible gap between Q 2( f ) and the most general of classical complexities R 2( f ), for a partial function f ( x 1 , . . . , xN ) if we do not place any constraints on f ? As we already mentioned, period finding has Q 2( f ) = O (1) and R 2( f ) = ˜Ω(√ 4 N ). In the form defined in section 1, period-finding is not a Boolean function (it has variables xi ∈ [ M ] instead of Boolean variables). While it is possible to define a Boolean version of period-finding with almost the same gap, there is Boolean function with an even bigger gap: Theorem 1 [4] There exists f with Q 2( f ) = 1 and R 2( f ) = Ω( √N/ log N ) . The function f is defined as follows [4]. We have N = 2_n_+1 variables. For technical convenience, we denote variables x 0 , . . . , x 2 n− 1 , y 0 , . . . , y 2 n− 1 and assume that the possible values for variables are ± 1 (instead of 0 and 1). Let F be the 2_n_ × 2_n_ matrix (with rows and columns indexed by a, b ∈ [0 , 2_n_ − 1]) defined by Fa,b = 2_n/ 12(−_1)_a·b_where_a · b_= � _i__aibi_istheinnerproductbetween_a_and b interpreted as n -bit strings an− 1 .

arXivarXiv

Assessing the progress of trapped-ion processors towards fault-tolerant quantum computation

A. Bermudez et al. · 12 claims

2. Shuttling-based two-species QEC with 2-qubit MS gates: exploring fault tolerance

... smaller than the singlequbit error probability affecting the bare qubit. The yellow line shows the performance of the non-FT QEC protocol that employs sequential 2-qubit MS gates (cf. Fig. 19). As can be observed, while this line never beats the P B for the bare physical qubit (3), it does indeed exceed the performance of the encoded qubit (2) once the environmental exposure is severe. Note that this result indicates the superior performance of the QEC schemes with two-ion MS gates versus the pre- [Text in a figure] Physical qubit0.95 Logic-Q (no QEC)Logic-Q with non-FT QEC0.9 Logic-Q with FT-DVA QEC0.850.80.75 crossing at 0.7810.70.650.60.550 0.2 0.4 0.6 0.8 1The ratio to total decoherence time T t/T 2 2)QECr,LIntegrityr(BP[End of figure text] Figure 29. Today’s hardware: Success probability P B with QEC according to the shuttling-based two species protocol : The standard Alice-Igor-Bob protocol with the parameters underlying the simulation corresponding to the current values from Tables II-V. The red curve shown here shows Bob’s performance in the absence of Igor, so that with errors occur only due to the environment (see Table I). For reference, the equivalent plot for a single physical qubit with the same environmental noise is also shown (grey curve). We see that using a logical qubit and the non-FT QEC cycle (yellow) can produce a small positive effect; the shaded region indicates this beneficial region.. However, the fully FT protocol (purple line), when it is possible (see main text), is always inferior. vious ones based on multi-ion MS gates. We recall that for the corresponding multi-ion MS circuits, no clear advantage could be seen using current hardware performance i.e. there was no equivalent to the yellow-red crossing of Fig. 29. Let us remark that this result is non-trivial, since the complexity of the circuits using sequential 2-ion MS gates increases considerably with respect to the schemes that exploit multi-qubit MS gates (compare Fig. 19 to Fig. 18). In any case, the breakeven point (2) is achieved when the integrity of the qubit has already decayed considerably. In order to take full advantage of QEC, improving on this feature, we will now consider the DV-S and DV-A schemes for fault-tolerant QEC. The purple line of Fig. 29, just visible in the lower right corner of the plot, ...

arXivarXiv

Bitcoin and quantum computing

Louis Tessler et al. · 6 claims

Security

To ensure that Bitcoin is spent only by their rightful owners, the elliptic curve digital signature algorithm (ECDSA) is used. In short, it is based on public key cryptography where Bitcoin owners can uniquely sign transactions using their private key, and others can verify that it is genuine using their public key. Elliptic curve cryptography is vulnerable to quantum computing, since Shor's algorithm can be easily modified to decrypt messages sent with elliptic curves [3], i.e. a quantum computer could then be used to find the private key from a public key. This appears to expose a vulnerability, but in fact there are several safeguards built into Bitcoin which prevent this. Firstly, public keys are not revealed by your address. The Bitcoin protocol generates addresses by putting the public key through SHA-256 and then through RIPEMD-160. Since the public key is only revealed when the Bitcoins are spent, it becomes vulnerable to an attack by a quantum computer only after the public key is revealed in a transaction. This situation is readily remedied by ...

arXivarXiv

Quantum resource estimates for computing elliptic curve discrete logarithms

Martin Roetteler et al. · 19 claims

1 Introduction

... curve defined over a field of prime order with n bits and needs at most 9 n + 2 ⌈ log2( n ) ⌉ + 10 qubits. An interpolation of the data points for the number of Toffoli gates shows that the quantum circuit can be implemented with at most roughly 224 _n_2 log2( n ) + 2045 _n_2 Toffoli gates. For Shor’s full algorithm, the point addition needs to be run 2 n times sequentially and does not need additional qubits. The overall number of Toffoli gates is thus about 448 _n_3 log2( n ) + 4090 _n_3 . For example, our simulation of the point addition quantum circuit for the NIST standardized curve P-256 needs 2330 logical qubits and the full Shor algorithm would need about 1 . 26 · 1011 Toffoli gates. In comparison, Shor’s factoring algorithm for a 3072-bit modulus needs 6146 qubits and 1 . 86 · 1013 Toffoli gates5 , which aligns with results by Proos and Zalka showing that it is easier to break ECC than RSA at comparable classical security. Our estimates provide a data point that allows a better understanding of the requirements to run Shor’s quantum ECDLP algorithm and we hope that they will serve as a basis to make better predictions about the time horizon until which elliptic curve cryptography can still be considered secure. Besides helping to gain a better understanding of the post-quantum (in-) security of elliptic curve cryptosystems, we hope that our reversible algorithms (and their LIQ Ui|⟩ implementations) for modular arithmetic and the elliptic curve group law are of independent interest to some, and might serve as building blocks for other quantum algorithms.

arXivarXiv

Quantum attacks on Bitcoin, and how to protect against them

Divesh Aggarwal et al. · 26 claims

B. Attacks on signatures

where the time overhead cτ now only depends on gate error rate, and s is again the clock speed. The number of physics qubits needed is where the first factor is the number of logical qubits including 4 logical ancilla qubits, and cnQ is the space overhead. The performance of a quantum computer to attack digital signatures is given in Fig. 3. Using a surface code with a physical gate error rate of pg = 5 × 10_−_4 , the overhead factors are cτ = 291 . 7 and cnQ = 735 . 3, and the time to solve the problem at 66 . 6 MHz clock speed is 6 . 49 days using 1 . 7 × 106 physical qubits. Looking forward to performance improvements, for 10GHz clock speed and error rate of 10_−_5 , the signature is cracked in 30 minutes using 485550 qubits. The latter makes the attack in item (3) quite possible and would render the current Bitcoin system highly insecure. An estimate of the time required for a quantum computer to break the signature scheme as a function of time is given in Figure 4, based on the model described in Appendices B and C. [Text in a figure] Time to break signature scheme for quantum computer14001200100080060040020002020 2025 2030 2035 2040[End of figure text] FIG. 4. This plot shows two estimates of the time (in seconds) required for a quantum computer to break the signature scheme (red curves) as a function of time for the next 25 years. We give more and less optimistic estimates (red striped lines).

arXivarXiv

Correcting coherent errors with surface codes

Sergey Bravyi et al. · 11 claims

(A) fault-tolerant storage of quantum information.

... such that for any _θ L goes to zero in the limit n →∞ . We find the numerical estimate Our numerical experiments confirm that, as expected, the quantity _P__L_ decays exponentially in the code distance for values _θ iθZ _ρe__−iθZ_ is replaced by dephasing noise D ( ρ ) = (1 − ϵ ) ρ + ϵZρZ , with ϵ = sin2 θ . For the latter the threshold error rate is around ϵ 0 ≈ 0 . 11, see Ref. [8]. Solving the equation ϵ 0 = sin2 ( θ 0) for θ 0 yields θ 0 ≈ 0 . 10 π , in agreement with Eq. (5). At the same time, we observe that the Pauli twirl approximation significantly underestimates _P__L_ in the sub-threshold regime, confirming that coherence of noise may have a profound effect on a given fault-tolerant scheme, as was previously observed in [22, 27]. > 1 Strictly speaking, the simulation time scales as O ( n 2) + t ( n ), where t ( n ) is the runtime of the decoding algorithm that computes the correction Cs . In our simulations the decoding time was negligible compared with the time required to sample the syndrome and compute the final logical state. Algorithm A allows us to investigate the probability distribution of logical rotation angle θs defined in Eq. (3). We find that for large code sizes, this distribution concentrates around the two points { 0 , π/ 2 } which correspond to the logical Pauli-type errors {I, ZL} . To get a deeper insight into this phenomenon, we introduce and numerically study associated measures of “incoherence”. Our findings support the general conjecture that in the limit of large code distances, coherent physical noise gets converted into incoherent logical-level noise. We apply Algorithm B to study the effect of coherent noise on logical state preparation in the case when the initial product state has the form

arXivarXiv

Halving the cost of quantum addition

Craig Gidney · 8 claims

I. INTRODUCTION

When Toffoli operations are paired, i.e. when an initial Toffoli operation is later uncomputed by a second Toffoli operation, each Toffoli in the pair can omit three of the T gates from the textbook construction. This introduces phase errors but, assuming intermediate operations aren’t sensitive to the phase errors, the second Toffoli gate can uncompute the phase errors while uncomputing the state permutation [3, 14]. It is also possible to reduce the T-count of an unpaired Toffoli gate to 4 by using an ancilla qubit and a classically conditioned fixup operation [11]. [Text in a figure] i 0 • • • i 0t 0 • • ( t + i )0• • • •i 1 • • • i 1t 1 • • ( t + i )1• • • •i 2 • • • i 2t 2 • • ( t + i )2• • • •i 3 • • • i 3t 3 • • ( t + i )3•i 4 • i 4t 4 ( t + i )4[End of figure text] FIG. 1. A 5-bit adder with T-count of 16. Uses Clifford operations, four logical-AND computations each with a T-count of 4, and four logical-AND erasures requiring no T gates. Generalizes to an n -bit adder with a T-count of 4 n− 4. See Figure 2 for the adder building-block and Figure 3 for the logical-AND computation and uncomputation circuits. The Cuccaro adder uses 2 n + O (1) Toffoli gates [6]. Existing constructions implement the Cuccaro adder’s Toffolis using 8 n + O (1) T gates [1, 3, 6]. This T-count can be achieved either by applying the ancilla-and-fixup construction from [11] to each individual Toffoli gate, or by noting that all but one of the adder’s Toffoli gates appear in compute/uncompute pairs and then applying the matched-phase-error construction from [3, 14] to each pair. The leading factor of 8 in the T-count of an n -bit adder has stood for over a decade [3, 6], and has been conjectured to be optimal [8]. We disprove this conjecture with a construction based on the temporary logicalAND, which combines ideas from both the matchedphase-error construction and the ancilla-and-fix-up construction.

arXivarXiv

Factoring with n+2 clean qubits and n-1 dirty qubits

Craig Gidney · 8 claims

Craig Gidney

We present reversible classical circuits for performing various arithmetic operations aided by dirty ancillae (i.e. extra qubits in an unknown state that must be restored before the circuit ends). We improve the number of clean qubits needed to factor an n -bit number with Shor’s algorithm [12] from 2 n + 2 [15, 8] to n + 2 , and the total number of qubits needed from 2 n +2 to 2 n + 1 , without increasing the asymptotic size or depth of the circuit.

arXivarXiv

Quantum resource estimates for computing elliptic curve discrete logarithms

Martin Roetteler et al. · 20 claims

Quantum Resource Estimates for Computing Elliptic Curve Discrete Logarithms

Martin Roetteler, Michael Naehrig, Krysta M. Svore, and Kristin Lauter Abstract. We give precise quantum resource estimates for Shor’s algorithm to compute discrete logarithms on elliptic curves over prime fields. The estimates are derived from a simulation of a Toffoli gate network for controlled elliptic curve point addition, implemented within the framework of the quantum computing software tool suite LIQ Ui|⟩ . We determine circuit implementations for reversible modular arithmetic, including modular addition, multiplication and inversion, as well as reversible elliptic curve point addition. We conclude that elliptic curve discrete logarithms on an elliptic curve defined over an n -bit prime field can be computed on a quantum computer with at most 9 n + 2 ⌈ log2( n ) ⌉ + 10 qubits using a quantum circuit of at most 448 _n_3 log2( n ) + 4090 _n_3 Toffoli gates. We are able to classically simulate the Toffoli networks corresponding to the controlled elliptic curve point addition as the core piece of Shor’s algorithm for the NIST standard curves P-192, P-224, P-256, P-384 and P-521. Our approach allows gate-level comparisons to recent resource estimates for Shor’s factoring algorithm. The results also confirm estimates given earlier by Proos and Zalka and indicate that, for current parameters at comparable classical security levels, the number of qubits required to tackle elliptic curves is less than for attacking RSA, suggesting that indeed ECC is an easier target than RSA.

arXivarXiv

Realization of Shor's Algorithm at Room Temperature

Niklas Johansson et al. · 8 claims

Realization of Shor’s Algorithm at Room Temperature

[Text in a figure] DA H ∼ C∼ ∼B R 2 ∼ XX[End of figure text] FIG. 2: QSL constructions, computational bit in blue drawn above the phase bit in red, A. Hadamard gate, B. Phase gate, C. CNOT gate, D. Toffoli gate. The demonstration of Monz et al [1] is the most advanced to date. They use non-Clifford group operations which is absolutely necessary to demonstrate the advantage of quantum computation [13, 14], and also refrain from “compiling” the circuitry. One simplification they do use is restricting the resolution of the input register from 2 n qubits to three qubits. This is possible because all elements in the multiplicative group mod 15 has powerof-two periods, and Monz et al only verify the behavior of the exponentiation until and including the first that is equivalent to the identity map (see Figure 1C). It has been argued [15] that the three-bit precision of Monz et al is insufficient since 2 n bits are required for the algorithm to overcome Fourier leakage in general, to succeed with a bounded error rate required for scalability. However, for N = 15 there is no Fourier leakage because of the power-of-two periods, and this is clear when building the quantum gate array. Therefore, measuring more qubits will only add noise, not precision. The distribution is completely described at two bits of precision. On the other hand, this also means that the process of generating the circuitry solves the factoring problem, since it is enough to know at which point the identity emerges from exponentiation. Thus, the experiment [1] is not so much about factoring 15 through the Shor algorithm, but more a ...

arXivarXiv

A Survey on Security and Privacy Issues of Bitcoin

Mauro Conti et al. · 3 claims

C. Client-side Security Threats

... to join the network. Each Bitcoin client posses a set of private-public keys in order to access its Bitcoin account or wallet. This requires secure, yet usable, key management techniques because unlike many other applications of cryptography, if the keys of a client are lost or compromised, the client will suffer immediate and irrevocable monetary losses. To use Bitcoin, a user need to install a wallet in her desktop or mobile device. The wallet stores the set of private-public keys associated with the owner of the wallet, thus it is essential to take protective actions to secure the wallet. The wallet thefts are mainly performed using mechanisms that includes system hacking, installation of buggy software, and incorrect usage of the wallet. Bitcoin protocol relies heavily on elliptic curve cryptography [80] for securing the transactions. In particular, Bitcoin uses elliptic curve digital signature algorithm (ECDSA) which is standardized by NIST [81] for signing the transactions. For instance, consider the standard “Pay-to-PubKeyHash” (P2PKH) transaction script in which the user needs to provide her public key and the signature (using her private key) to prove the ownership. To generate a signature, the user chooses a per-signature random value. For security reasons this value must be kept secret, and it should be different for every other transaction. Repeating per-signature value risks the private key computation, as it has been shown in [82] that even partially bit-wise equal random values are suffice to derive a user’s private key. Therefore, it is essential for increasing the security of ECDSA to use highly random and distinct per-signature values for every transaction signature. The inspection of the blockchain ...

arXivarXiv

Factoring using 2n+2 qubits with Toffoli based modular multiplication

Thomas Häner et al. · 4 claims

6 Summary and Outlook

We present a Toffoli based in-place addition circuit which can be used to implement Shor’s algorithm using 2 n + 2 qubits. Our implementation features a size in O ( _n_3 log n ), and a depth in O ( _n_3 ). In contrast to previous space-efficient implementations [3, 1], our modular multiplication circuit only consists of Toffoli and Clifford gates. In addition to facilitating the process of debugging future implementations, having a Toffoli based circuit also eliminates the need for single-qubit-rotation synthesis when employing quantum error-correction. This results in a better scaling of both size and depth by a factor in Θ(log n ). Our main technical innovation is the implementation of an addition by a constant that can be performed in O ( n log n ) operations and that uses between 1 and n ancillas, all of which can be dirty, i.e., can be taken from other parts of the computation that are currently idle. As mentioned in [1], it would be interesting to see whether one can find a linear-time ...

arXivarXiv

Fault-tolerant quantum error detection

N. M. Linke et al. · 5 claims

Fault-tolerant quantum error detection

... qubit error detection code with two stabilizers (see figure 1). This leaves two possible encoded qubits, La and Lb , for which errors can be detected: a [[4 , 2 , 2]] code [15, 16]. The preparation and error detection procedures considered here are fault-tolerant on only a single encoded qubit. From a fault-tolerance perspective, this is a [[4 , 1 , 2]] subsystem code where the logical qubit La is protected and the gauge qubit Lb is not. As such, the code was used in experiments with photonic qubits [17, 18]. By instead considering errors on both encoded qubits, we highlight the importance of fault-tolerance for reducing intrinsic errors and hook errors. The non-fault-tolerant procedures that generate Lb still succeed in reducing added errors. The code implements La and Lb on only four physical qubits and hence violates the quantum Hamming bound [5], which means that detected errors cannot be uniquely identified and corrected. We must therefore rely on post-selection to find and discard cases where an error occurred. The code does have the advantage of requiring only five physical qubits for the faulttolerant encoding of La : four data qubits and one ancilla qubit. The logical codewords |LaLb⟩L in the computational or z -basis are and with |±⟩ = ( | 0 ⟩± | 1 ⟩ ) /√ 2 we can write them down along x as follows:

arXivarXiv

Assessing the progress of trapped-ion processors towards fault-tolerant quantum computation

A. Bermudez et al. · 8 claims

2. Shuttling-based two-species QEC with 2-qubit MS gates: exploring fault tolerance

The purple line of Fig. 29, just visible in the lower right corner of the plot, is the performance of the DiVicenzo-Aliferis (DV-A) protocol. The line does not exist over the majority of [Text in a figure] Physical qubit0.95 Logic-Q (no QEC)Logic-Q with non-FT QEC0.9 Logic-Q with FT-DVA QEC0.850.80.75 crossing at 0.7810.70.650.60.550 0.2 0.4 0.6 0.8 1The ratio to total decoherence time T t/T 2 2)QECr,LIntegrityr(BP[End of figure text] Figure 29. Today’s hardware: Integrity of the logical qubit under QEC according to the shuttling-based two species protocol : The standard Alice-Igor-Bob protocol with the parameters underlying the simulation corresponding to the current values from Tables II-V. The red curve shown here denotes the integrity change of a logical qubit when additional errors occur due to an intermediate wait-time before Igor applies his imperfect round of QEC (see Table I). For reference, the integrity change of a single physical qubit with the same environmental noise is also shown (grey curve). We see that integrity of the logical qubit in the non-FT QEC cycle (yellow) can produce a small positive effect (i.e. there is a yellow-red line crossing). However, the fully FT protocol (purple line), when it is possible (see main text), is always inferior. a full error correction cycle due to the long circuit depth associated to Fig. 22 . Moreover, even when the total protocol time is large enough to permit Igor to act, the performance of the DV-A scheme is very poor, and non of the break-even points for useful QEC can be reached. The conclusion from this set of simulations is that a device built with the ‘current’ performance numbers could suffice for a basic demonstration of QEC, but could not possibly make a successful demonstration of a fault tolerance QEC code. Fortunately, this picture changes as we move to the future performance figures. Figure 30 shows the results of repeating the simulations in Fig. 29 but now with the future anticipated values from Tables II-V. One can see that the performance is profoundly improved.

IACR ePrintIACR ePrint

Loop-abort faults on supersingular isogeny cryptosystems

Alexandre Gélin et al. · 1 claim

Abstract

Cryptographic schemes based on supersingular isogenies have become an active area of research in the field of post-quantum cryptography. We investigate the resistance of these cryptosystems to fault injection attacks. It appears that the iterative structure of the secret isogeny computation renders these schemes vulnerable to loop-abort attacks. Loop-abort faults allow to perform a full key recovery, bypassing all the previously introduced validation methods. Therefore implementing additional countermeasures seems unavoidable for applications where physical attacks are relevant.

arXivarXiv

A Bell state in a Penning Trap as a quantum simulator of the factorization problem

Jose Luis Rosales et al. · 4 claims

A Bell state in a Penning Trap as a quantum simulator of the factorization problem.

Jose Luis Rosales_∗ and Vicente Martin†_ Center for Computational Simulation (Madrid) DLSIIS ETS Ingenieros Inform´aticos, Universidad Polit´ecnica de Madrid, Campus Montegancedo, E28660 Madrid. The recently introduced equivalent formulation of the integer factorization problem for N = xy , obtaining a function of the primes E ( x ) within the factorization ensemble, is reviewed. Here we demonstrate that this formulation can be readily translated to the physics of a quantum device in which the quantities Ek are the eigenvalues of a bounded Hamiltonian. The spectrum is solved for xk = o ( ~~√~~ N ) leading to a super efficient probabilistic quantum factoring algorithm which only requires o ((log ~~√~~ N )3 ) measurements. The state of the quantum simulator can be identified as that of a two electrons P wave in a Penning Trap. We consider the possibility to build the simulator experimentally in order to obtain, from the measured magnetron trap frequencies, the probabilistic quantum sieve for the possible factors of N . This approach is suited for large N and x = o ( ~~√~~ N ). PACS numbers: 03.67.Ac,03.67.Lx,02.10.De A classical computer, using factoring algorithms known at present [1], requires an exponentially large number of steps to find the primes factors of an l -digit integer N . Indeed, for large numbers the intractability of the factorization problem sustains the apparently unbreakable cryptographic RSA security code [2].

arXivarXiv

Factoring Safe Semiprimes with a Single Quantum Query

Frédéric Grosshans et al. · 6 claims

B. Shor’s factoring algorithm for safe semiprimes

... (since p1 = p2) and ordpi (2) | λ(pi) = 2qi. Hence, ordN (2) cannot be q1, q2, 2q1, or 2q2, since otherwise ordp2(2) would in {1, 2}, which contradicts p2 > 5. The only remaining possibilities for ordN (2) are q1q2 and 2q1q2, which proves the first statement. For the second statement, recall that QOFA returns ordN (2)/ gcd(t, ordN (2)) for some uniformly randomly distributed integer t in {1, . . . , ordN (2)}. But we have just seen that the value of ordN (2) can only be q1q2 or 2q1q2. If ordN (2) = q1q2 then QOFA only returns 1 if t = q1q2, which occurs with probability 1/(q1q2); it cannot return 2. If ordN (2) = 2q1q2 then QOFA returns 1 if t = 2q1q2 and 2 if t = q1q2; the probability of t taking one of these two values is 2/(2q1q2) = 1/(q1q2). Hence, regardless of the true value of ordN (2), the probability of having a “bad” t leading to a result of 1 or 2 is 1/(q1q2), which tends to 4/N for large N . Let d be the result of QOFA applied to 2 modulo N . Our algorithm then attempts to recover the factors of N from d. The cases of odd and even d are virtually identical, and we can unify them by setting s = d if d is even, and s = 2d if d is odd; then s = 2, 2q1, 2q2, or 2q1q2. The case s = 2 is trivial to recognise, and we can determine whether s = 2q1q2 or one of the 2qi using the elementary inequality 2q1, 2q2 2 − N , where t = (N + 1)/2 − s. In the unlikely event that s = 2 (probability ∼ 4/N , according to Lemma 1, which is negligible even for moderate N ) then we fail to factor N . Compared to SFA, the advantages of our algorithm are: 2. It only ever computes the order of 2 modulo N , rather than randomly (or specially) chosen 1 < a < N ; this may be helpful when implementing QOFA, ...

arXivarXiv

Quantum algorithms for computing short discrete logarithms and factoring RSA integers

Martin Ekerå et al. · 5 claims

Abstract

... introduced by Eker˚a [2] so as to allow for various tradeoffs between the number of times that the algorithm need be executed on the one hand, and the complexity of the algorithm and the requirements it imposes on the quantum computer on the other hand. Furthermore, we describe applications of algorithms for computing short discrete logarithms. In particular, we show how other important problems such as those of factoring RSA integers and of finding the order of groups under side information may be recast as short discrete logarithm problems. This immediately gives rise to an algorithm for factoring RSA integers that is less complex than Shor’s general factoring algorithm in the sense that it imposes smaller requirements on the quantum computer. In both our algorithm and Shor’s algorithm, the main hurdle is to compute a modular exponentiation in superposition. When factoring an n bit integer, the exponent is of length 2 n bits in Shor’s algorithm, compared to slightly more than n/ 2 bits in our algorithm.

Source record

Source record