Factoring larger integers with fewer qubits via quantum annealing with optimized parameters

RSA cryptography is based on the difficulty of factoring large integers, which is an NP-hard (and hence intractable) problem for a classical computer. However, Shor’s algorithm shows that its complexity is polynomial for a quantum computer, although technical difficulties mean that practical quantum computers that can tackle integer factorizations of meaningful size are still a long way away. Recently, Jiang et al. proposed a transformation that maps the integer factorization problem onto the quadratic unconstrained binary optimization (QUBO) model. They tested their algorithm on a D-Wave 2000Q quantum annealing machine, raising the record for a quantum factorized integer to 376289 with only 94 qubits. In this study, we optimize the problem Hamiltonian to reduce the number of qubits involved in the final Hamiltonian while maintaining the QUBO coefficients in a reasonable range, enabling the improved algorithm to factorize larger integers with fewer qubits. Tests of our improved algorithm using D-Wave’s hybrid quantum/classical simulator qbsolv confirmed that performance was improved, and we were able to factorize 1005973, a new record for quantum factorized integers, with only 89 qubits. In addition, our improved algorithm can tolerate more errors than the original one. Factoring 1005973 using Shor’s algorithm would require about 41 universal qubits, which current universal quantum computers cannot reach with acceptable accuracy. In theory, the latest IBM Q System OneTM (Jan. 2019) can only factor up to 10-bit integers, while the D-Wave have a thousand-fold advantage on the factoring scale. This shows that quantum annealing machines, such as those by D-Wave, may be close to cracking practical RSA codes, while universal quantum-circuit-based computers may be many years away from attacking RSA.

[1]  Shilin Huang,et al.  NMRCloudQ: a quantum cloud experience on a nuclear magnetic resonance quantum computer. , 2017, Science bulletin.

[2]  R. Barends,et al.  Superconducting quantum circuits at the surface code threshold for fault tolerance , 2014, Nature.

[3]  Christopher J. C. Burges,et al.  Factoring as Optimization , 2002 .

[4]  John M. Martinis,et al.  Logic gates at the surface code threshold: Superconducting qubits poised for fault-tolerant quantum computing , 2014 .

[5]  Raouf Dridi,et al.  Prime factorization using quantum annealing and computational algebraic geometry , 2016, Scientific Reports.

[6]  Endre Boros,et al.  Pseudo-Boolean optimization , 2002, Discret. Appl. Math..

[7]  Bao-Jie Liu,et al.  Fast holonomic quantum computation based on solid-state spins with all-optical control , 2017, 1705.08852.

[8]  Zhaohui Wei,et al.  Why quantum adiabatic computation and D-Wave computers are so attractive? , 2017 .

[9]  William G. Hoover,et al.  Time Reversibility, Computer Simulation, And Chaos , 1999 .

[10]  Zhihao Gong,et al.  Simulating a topological transition in a superconducting phase qubit by fast adiabatic trajectories , 2017, 1712.10089.

[11]  Adrian Cho DOE pushes for useful quantum computing. , 2018, Science.

[12]  G. Long,et al.  Experimental realization of noise-induced adiabaticity in nuclear magnetic resonance , 2018, 1802.01420.

[13]  Daniel A. Lidar,et al.  Adiabatic quantum computation , 2016, 1611.04471.

[14]  Jiangfeng Du,et al.  Quantum factorization of 143 on a dipolar-coupling nuclear magnetic resonance system. , 2012, Physical review letters.

[15]  Michael R. Geller,et al.  Factoring 51 and 85 with 8 qubits , 2013, Scientific Reports.

[16]  Wenhua Wang,et al.  Quantitative conditions for time evolution in terms of the von Neumann equation , 2018 .

[17]  Shi-Jie Wei,et al.  Efficient universal quantum channel simulation in IBM’s cloud quantum computer , 2017, Science China Physics, Mechanics & Astronomy.

[18]  Dieter Suter,et al.  Quantum adiabatic algorithm for factorization and its experimental implementation. , 2008, Physical review letters.

[19]  E. Farhi,et al.  A Quantum Adiabatic Evolution Algorithm Applied to Random Instances of an NP-Complete Problem , 2001, Science.

[20]  Yang Liu,et al.  Experimental realization of single-shot nonadiabatic holonomic gates in nuclear spins , 2017, 1703.10348.

[21]  Xiang Wang,et al.  Homomorphic encryption experiments on IBM’s cloud quantum computing platform , 2016, ArXiv.

[22]  X-Q Zhou,et al.  Experimental realization of Shor's quantum factoring algorithm using qubit recycling , 2011, Nature Photonics.

[23]  I. Chuang,et al.  Experimental realization of Shor's quantum factoring algorithm using nuclear magnetic resonance , 2001, Nature.

[24]  Graeme Smith,et al.  Oversimplifying quantum factoring , 2013, Nature.

[25]  Peter W. Shor,et al.  Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer , 1995, SIAM Rev..

[26]  Tao Wang,et al.  Nuclear magnetic resonance for quantum computing: Techniques and recent achievements , 2018 .