HackerPapers

arXiv:2103.13855quant-ph

Demonstration of Shor's factoring algorithm for N=21 on IBM quantum processors

Unathi Skosana, Mark Tame

Abstract

We report a proof-of-concept demonstration of a quantum order-finding algorithm for factoring the integer 21. Our demonstration involves the use of a compiled version of the quantum phase estimation routine, and builds upon a previous demonstration by Martín-López et al. in Nature Photonics 6, 773 (2012). We go beyond this work by using a configuration of approximate Toffoli gates with residual phase shifts, which preserves the functional correctness and allows us to achieve a complete factoring of N=21. We implemented the algorithm on IBM quantum processors using only 5 qubits and successfully verified the presence of entanglement between the control and work register qubits, which is a necessary condition for the algorithm's speedup in general. The techniques we employ may be useful in carrying out Shor's algorithm for larger integers, or other algorithms in systems with a limited number of noisy qubits.

arXiv comments
11 pages, 10 figures, appendix
Journal reference
Scientific Reports 11, 16599 (2021)
DOI
doi:10.1038/s41598-021-95973-w
Subjects
quant-phQuantum Physics

On Hacker News

Linked by 2 identifiable commenters in 3 comments across 3 threads, from Mar 2024 to Sep 2025.

Comments linking this paper, per year.

Discussed in comments3 threads

    • The article, if examined by a non-specialist like me, seems to contain an answer to this concern at the end: > There are papers that claim to have factored 21 with a quantum computer. For example, here’s one from 2021 [1]. But, as far as I know, all such experiments are guilty…

      patrakovView on HNParent context

    • It is! Taking into account that only the Schor algorithm is proven to be exponentially faster in factorising numbers and looking into current progress on using it, the threat for RSA 2048 will become real in ridiculous 2^2048 years. This can be estimated by taking three events…

      JanisErdmanisView on HNParent context

    • The threat estimate for a quantum computer that breaks cryptography shall be based on currently available data and the understanding that only the Schor algorithm is known to provide exponential speedup for factorisation. Let’s give IBM credit for attempting to factor in the…

      JanisErdmanisView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.