IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v11y2023i19p4222-d1256358.html
   My bibliography  Save this article

Large-Scale Simulation of Shor’s Quantum Factoring Algorithm

Author

Listed:
  • Dennis Willsch

    (Jülich Supercomputing Centre, Institute for Advanced Simulation, Forschungszentrum Jülich, 52425 Jülich, Germany)

  • Madita Willsch

    (Jülich Supercomputing Centre, Institute for Advanced Simulation, Forschungszentrum Jülich, 52425 Jülich, Germany
    AIDAS, 52425 Jülich, Germany)

  • Fengping Jin

    (Jülich Supercomputing Centre, Institute for Advanced Simulation, Forschungszentrum Jülich, 52425 Jülich, Germany)

  • Hans De Raedt

    (Jülich Supercomputing Centre, Institute for Advanced Simulation, Forschungszentrum Jülich, 52425 Jülich, Germany
    Zernike Institute for Advanced Materials, University of Groningen, Nijenborgh 4, 9747 AG Groningen, The Netherlands)

  • Kristel Michielsen

    (Jülich Supercomputing Centre, Institute for Advanced Simulation, Forschungszentrum Jülich, 52425 Jülich, Germany
    AIDAS, 52425 Jülich, Germany
    Department of Physics, RWTH Aachen University, 52056 Aachen, Germany)

Abstract

Shor’s factoring algorithm is one of the most anticipated applications of quantum computing. However, the limited capabilities of today’s quantum computers only permit a study of Shor’s algorithm for very small numbers. Here, we show how large GPU-based supercomputers can be used to assess the performance of Shor’s algorithm for numbers that are out of reach for current and near-term quantum hardware. First, we study Shor’s original factoring algorithm. While theoretical bounds suggest success probabilities of only 3–4%, we find average success probabilities above 50%, due to a high frequency of “lucky” cases, defined as successful factorizations despite unmet sufficient conditions. Second, we investigate a powerful post-processing procedure, by which the success probability can be brought arbitrarily close to one, with only a single run of Shor’s quantum algorithm. Finally, we study the effectiveness of this post-processing procedure in the presence of typical errors in quantum processing hardware. We find that the quantum factoring algorithm exhibits a particular form of universality and resilience against the different types of errors. The largest semiprime that we have factored by executing Shor’s algorithm on a GPU-based supercomputer, without exploiting prior knowledge of the solution, is 549,755,813,701 = 712,321 × 771,781. We put forward the challenge of factoring, without oversimplification, a non-trivial semiprime larger than this number on any quantum computing device.

Suggested Citation

  • Dennis Willsch & Madita Willsch & Fengping Jin & Hans De Raedt & Kristel Michielsen, 2023. "Large-Scale Simulation of Shor’s Quantum Factoring Algorithm," Mathematics, MDPI, vol. 11(19), pages 1-38, October.
  • Handle: RePEc:gam:jmathe:v:11:y:2023:i:19:p:4222-:d:1256358
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/11/19/4222/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/11/19/4222/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Frank Arute & Kunal Arya & Ryan Babbush & Dave Bacon & Joseph C. Bardin & Rami Barends & Rupak Biswas & Sergio Boixo & Fernando G. S. L. Brandao & David A. Buell & Brian Burkett & Yu Chen & Zijun Chen, 2019. "Quantum supremacy using a programmable superconducting processor," Nature, Nature, vol. 574(7779), pages 505-510, October.
    2. Lieven M. K. Vandersypen & Matthias Steffen & Gregory Breyta & Costantino S. Yannoni & Mark H. Sherwood & Isaac L. Chuang, 2001. "Experimental realization of Shor's quantum factoring algorithm using nuclear magnetic resonance," Nature, Nature, vol. 414(6866), pages 883-887, December.
    3. John A. Smolin & Graeme Smith & Alexander Vargo, 2013. "Oversimplifying quantum factoring," Nature, Nature, vol. 499(7457), pages 163-165, July.
    4. Sebastian Krinner & Nathan Lacroix & Ants Remm & Agustin Paolo & Elie Genois & Catherine Leroux & Christoph Hellings & Stefania Lazar & Francois Swiadek & Johannes Herrmann & Graham J. Norris & Christ, 2022. "Realizing repeated quantum error correction in a distance-three surface code," Nature, Nature, vol. 605(7911), pages 669-674, May.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Hu, Jie-Ru & Zhang, Zuo-Yuan & Liu, Jin-Ming, 2024. "Implementation of three-qubit Deutsch-Jozsa algorithm with pendular states of polar molecules by optimal control," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 635(C).
    2. Yulin Chi & Jieshan Huang & Zhanchuan Zhang & Jun Mao & Zinan Zhou & Xiaojiong Chen & Chonghao Zhai & Jueming Bao & Tianxiang Dai & Huihong Yuan & Ming Zhang & Daoxin Dai & Bo Tang & Yan Yang & Zhihua, 2022. "A programmable qudit-based quantum processor," Nature Communications, Nature, vol. 13(1), pages 1-10, December.
    3. Noah Goss & Alexis Morvan & Brian Marinelli & Bradley K. Mitchell & Long B. Nguyen & Ravi K. Naik & Larry Chen & Christian Jünger & John Mark Kreikebaum & David I. Santiago & Joel J. Wallman & Irfan S, 2022. "High-fidelity qutrit entangling gates for superconducting circuits," Nature Communications, Nature, vol. 13(1), pages 1-6, December.
    4. Shingo Kono & Jiahe Pan & Mahdi Chegnizadeh & Xuxin Wang & Amir Youssefi & Marco Scigliuzzo & Tobias J. Kippenberg, 2024. "Mechanically induced correlated errors on superconducting qubits with relaxation times exceeding 0.4 ms," Nature Communications, Nature, vol. 15(1), pages 1-12, December.
    5. Suhas Ganjam & Yanhao Wang & Yao Lu & Archan Banerjee & Chan U Lei & Lev Krayzman & Kim Kisslinger & Chenyu Zhou & Ruoshui Li & Yichen Jia & Mingzhao Liu & Luigi Frunzio & Robert J. Schoelkopf, 2024. "Surpassing millisecond coherence in on chip superconducting quantum memories by optimizing materials and circuit design," Nature Communications, Nature, vol. 15(1), pages 1-13, December.
    6. Eric Hyyppä & Suman Kundu & Chun Fai Chan & András Gunyhó & Juho Hotari & David Janzso & Kristinn Juliusson & Olavi Kiuru & Janne Kotilahti & Alessandro Landra & Wei Liu & Fabian Marxer & Akseli Mäkin, 2022. "Unimon qubit," Nature Communications, Nature, vol. 13(1), pages 1-14, December.
    7. Tong Liu & Shang Liu & Hekang Li & Hao Li & Kaixuan Huang & Zhongcheng Xiang & Xiaohui Song & Kai Xu & Dongning Zheng & Heng Fan, 2023. "Observation of entanglement transition of pseudo-random mixed states," Nature Communications, Nature, vol. 14(1), pages 1-7, December.
    8. Sofia Priazhkina & Samuel Palmer & Pablo Martín-Ramiro & Román Orús & Samuel Mugel & Vladimir Skavysh, 2024. "Digital Payments in Firm Networks: Theory of Adoption and Quantum Algorithm," Staff Working Papers 24-17, Bank of Canada.
    9. X. L. He & Yong Lu & D. Q. Bao & Hang Xue & W. B. Jiang & Z. Wang & A. F. Roudsari & Per Delsing & J. S. Tsai & Z. R. Lin, 2023. "Fast generation of Schrödinger cat states using a Kerr-tunable superconducting resonator," Nature Communications, Nature, vol. 14(1), pages 1-10, December.
    10. Huang, Fangyu & Tan, Xiaoqing & Huang, Rui & Xu, Qingshan, 2022. "Variational convolutional neural networks classifiers," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 605(C).
    11. Jesús Fernández-Villaverde & Isaiah J. Hull, 2023. "Dynamic Programming on a Quantum Annealer: Solving the RBC Model," NBER Working Papers 31326, National Bureau of Economic Research, Inc.
    12. Maryam Moghimi & Herbert W. Corley, 2020. "Information Loss Due to the Data Reduction of Sample Data from Discrete Distributions," Data, MDPI, vol. 5(3), pages 1-18, September.
    13. Ad. J. W. van de Gevel & Charles N. Noussair, 2013. "The Nexus between Artificial Intelligence and Economics," SpringerBriefs in Economics, Springer, edition 127, number 978-3-642-33648-5, October.
    14. Abha Naik & Esra Yeniaras & Gerhard Hellstern & Grishma Prasad & Sanjay Kumar Lalta Prasad Vishwakarma, 2023. "From Portfolio Optimization to Quantum Blockchain and Security: A Systematic Review of Quantum Computing in Finance," Papers 2307.01155, arXiv.org.
    15. Xianchuang Pan & Yuxuan Zhou & Haolan Yuan & Lifu Nie & Weiwei Wei & Libo Zhang & Jian Li & Song Liu & Zhi Hao Jiang & Gianluigi Catelani & Ling Hu & Fei Yan & Dapeng Yu, 2022. "Engineering superconducting qubits to reduce quasiparticles and charge noise," Nature Communications, Nature, vol. 13(1), pages 1-7, December.
    16. Ducuara, Andrés F. & Susa, Cristian E. & Reina, John H., 2022. "Emergence of maximal hidden quantum correlations and its trade-off with the filtering probability in dissipative two-qubit systems," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 594(C).
    17. Nikolaos Schetakis & Davit Aghamalyan & Michael Boguslavsky & Agnieszka Rees & Marc Rakotomalala & Paul Robert Griffin, 2024. "Quantum Machine Learning for Credit Scoring," Mathematics, MDPI, vol. 12(9), pages 1-12, May.
    18. Jake Rochman & Tian Xie & John G. Bartholomew & K. C. Schwab & Andrei Faraon, 2023. "Microwave-to-optical transduction with erbium ions coupled to planar photonic and superconducting resonators," Nature Communications, Nature, vol. 14(1), pages 1-9, December.
    19. Reis, Mauricio & Oliveira, Adelcio C., 2022. "A complementary resource relation of concurrence and roughness for a two-qubit state," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 608(P2).
    20. Jin Ming Koh & Tommy Tai & Ching Hua Lee, 2024. "Realization of higher-order topological lattices on a quantum computer," Nature Communications, Nature, vol. 15(1), pages 1-14, December.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:11:y:2023:i:19:p:4222-:d:1256358. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.