{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,12,5]],"date-time":"2026-12-05T18:06:37Z","timestamp":1796493997243,"version":"4.11.3"},"reference-count":79,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"5","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[1997,10]]},"abstract":"<jats:p>A digital computer is generally believed to be an efficient universal computing device; that is, it is believed able to simulate any physical computing device with an increase in computation time by at most a polynomial factor. This may not be true when quantum mechanics is taken into consideration. This paper considers factoring integers and finding discrete logarithms, two problems which are generally thought to be hard on a classical computer and which have been used as the basis of several proposed cryptosystems. Efficient randomized algorithms are given for these two problems on a hypothetical quantum computer. These algorithms take a number of steps polynomial in the input size, e.g., the number of digits of the integer to be factored.<\/jats:p>","DOI":"10.1137\/s0097539795293172","type":"journal-article","created":{"date-parts":[[2003,6,11]],"date-time":"2003-06-11T11:12:06Z","timestamp":1055329926000},"page":"1484-1509","source":"Crossref","is-referenced-by-count":6152,"title":["Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer"],"prefix":"10.1137","volume":"26","author":[{"given":"Peter W.","family":"Shor","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2006,7,28]]},"reference":[{"key":"R1","unstructured":"Leonard Adleman, Algorithmic number theory\u2014the complexity contribution, IEEE Comput. Soc. Press, Los Alamitos, CA, 1994, 88\u20131131489240"},{"key":"R2","unstructured":"Leonard Adleman, Kevin McCurley, Open problems in number\u2010theoretic complexity. II, Lecture Notes in Comput. Sci., Vol. 877, Springer, Berlin, 1994, 291\u201332295m:11142"},{"key":"R3","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevA.52.3457"},{"key":"R4","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevLett.74.4083"},{"key":"R5","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevA.54.1034"},{"key":"R6","doi-asserted-by":"publisher","DOI":"10.1007\/BF01011339"},{"key":"R7","doi-asserted-by":"publisher","DOI":"10.1007\/BF01342185"},{"key":"R8","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevLett.48.1581"},{"key":"R9","doi-asserted-by":"publisher","DOI":"10.1147\/rd.176.0525"},{"key":"R10","doi-asserted-by":"publisher","DOI":"10.1137\/0218053"},{"key":"R11","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539796300933"},{"key":"R12","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevLett.76.722"},{"key":"R13","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539796300921"},{"key":"R14","unstructured":"Andr\u00e9 Berthiaume, Gilles Brassard, The quantum challenge to structural complexity theory, IEEE Comput. Soc. Press, Los Alamitos, CA, 1992, 132\u201313794h:03074"},{"key":"R15","doi-asserted-by":"publisher","DOI":"10.1080\/09500349414552351"},{"key":"R16","unstructured":"A. Berthiaume, D. Deutsch, and R. Jozsa (1994),\n                      The stabilisation of quantum computations\n                      , in Proc. Workshop on Physics of Computation: PhysComp \u201994, IEEE Computer Society Press, Los Alamitos, CA, pp. 60\u201362."},{"key":"R17","unstructured":"M. Biafore (1994),\n                      Can quantum computers have simple Hamiltonians\n                      , in Proc. Workshop on Physics of Computation: PhysComp \u201994, IEEE Computer Society Press, Los Alamitos, CA, pp. 63\u201368."},{"key":"R18","unstructured":"Dan Boneh, Richard Lipton, Quantum cryptanalysis of hidden linear functions (extended abstract), Lecture Notes in Comput. Sci., Vol. 963, Springer, Berlin, 1995, 424\u201343798a:94019"},{"key":"R19","unstructured":"J. F. Canny and J. Reif (1987),\n                      New lower bound techniques for robot motion planning problems\n                      , in Proc. 28th Annual Symposium on Foundations of Computer Science, IEEE Computer Society Press, Los Alamitos, CA, pp. 49\u201360."},{"key":"R20","unstructured":"J. Choi, J. Sellen, and C.\u2010K. Yap (1995),\n                      Precision\u2010sensitive Euclidean shortest path in 3\u2010space\n                      , in Proc. 11th Annual Symposium on Computational Geometry, Association for Computing Machinery, New York, pp. 350\u2013359."},{"key":"R21","doi-asserted-by":"publisher","DOI":"10.1126\/science.270.5242.1633"},{"key":"R22","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevA.52.3489"},{"key":"R23","doi-asserted-by":"publisher","DOI":"10.2307\/2371045"},{"key":"R24","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevLett.74.4091"},{"key":"R25","unstructured":"R. Cleve (1994),\n                      A note on computing Fourier transforms by quantum programs\n                      , preprint."},{"key":"R26","unstructured":"D. Coppersmith (1994),\n                      An Approximate Fourier Transform Useful in Quantum Factoring\n                      , IBM Research Report RC 19642."},{"key":"R27","doi-asserted-by":"publisher","DOI":"10.1098\/rspa.1985.0070"},{"key":"R28","doi-asserted-by":"publisher","DOI":"10.1098\/rspa.1989.0099"},{"key":"R29","doi-asserted-by":"publisher","DOI":"10.1098\/rspa.1995.0065"},{"key":"R30","doi-asserted-by":"publisher","DOI":"10.1098\/rspa.1992.0167"},{"key":"R31","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevA.51.1015"},{"key":"R32","doi-asserted-by":"publisher","DOI":"10.1103\/RevModPhys.68.733"},{"key":"R33","doi-asserted-by":"publisher","DOI":"10.1007\/BF02650179"},{"key":"R34","doi-asserted-by":"publisher","DOI":"10.1007\/BF01886518"},{"key":"R35","doi-asserted-by":"publisher","DOI":"10.1007\/BF01857727"},{"key":"R36","doi-asserted-by":"publisher","DOI":"10.1137\/0406010"},{"key":"R37","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevLett.76.3228"},{"key":"R38","volume-title":"An introduction to the theory of numbers","author":"Niven Ivan","year":"1991"},{"key":"R39","unstructured":"J. Hartmanis and J. Simon (1974),\n                      On the power of multiplication in random access machines\n                      , in Proc. 15th Annual Symposium on Switching and Automata Theory, IEEE Computer Society, Long Beach, CA, pp. 13\u201323."},{"key":"R40","first-page":"293","volume":"145","author":"Karatsuba A.","year":"1962","journal-title":"Dokl. Akad. Nauk SSSR","ISSN":"https:\/\/id.crossref.org\/issn\/0002-3264","issn-type":"print"},{"key":"R40","first-page":"595","volume":"7","year":"1963","journal-title":"Sov. Phys. Dokl.","ISSN":"https:\/\/id.crossref.org\/issn\/0038-5689","issn-type":"print"},{"key":"R41","unstructured":"E. Knill (1995), personal communication."},{"key":"R42","unstructured":"D. E. Knuth (1981),\n                      The Art of Computer Programming, Vol. 2: Seminumerical Algorithms\n                      , 2nd ed., Addison\u2010Wesley, Reading, MA."},{"key":"R43","doi-asserted-by":"publisher","DOI":"10.1098\/rsta.1995.0106"},{"key":"R44","unstructured":"Rolf Landauer, Is quantum mechanically coherent computation useful? Internat. Press, Cambridge, MA, 1997, 37\u2013551610259"},{"key":"R45","first-page":"2597","volume":"257","author":"Lecerf Yves","year":"1963","journal-title":"C. R. Acad. Sci. Paris"},{"key":"R46","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0091534"},{"key":"R47","unstructured":"A. K. Lenstra, H. W. Lenstra, Jr., M. S. Manasse, and J. M. Pollard (1990),\n                      The number field sieve\n                      , in Proc. 22nd Annual ACM Symposium on Theory of Computing, Association for Computing Machinery, New York, pp. 564\u2013572; expanded version appears in Lenstra and Lenstra, Jr. [1993], pp. 11\u201342."},{"key":"R48","doi-asserted-by":"publisher","DOI":"10.1137\/0219046"},{"key":"R49","doi-asserted-by":"publisher","DOI":"10.1126\/science.261.5128.1569"},{"key":"R50","unstructured":"S. Lloyd (1994),\n                      Envisioning a quantum supercomputer\n                      , Science, 263, p. 695."},{"key":"R51","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevLett.75.346"},{"key":"R52","doi-asserted-by":"publisher","DOI":"10.1111\/j.1749-6632.1986.tb12451.x"},{"key":"R53","unstructured":"N. Margolus (1990),\n                      Parallel quantum computation\n                      , in Complexity, Entropy and the Physics of Information, Santa Fe Institute Studies in the Sciences of Complexity, Vol. VIII, W. H. Zurek, ed., Addison\u2010Wesley, Reading, MA, pp. 273\u2013287."},{"key":"R54","doi-asserted-by":"publisher","DOI":"10.1016\/S0022-0000(76)80043-8"},{"key":"R55","unstructured":"A. M. Odlyzko (1995), personal communication."},{"key":"R56","doi-asserted-by":"publisher","DOI":"10.1098\/rspa.1996.0029"},{"key":"R57","unstructured":"A. Peres (1993),\n                      Quantum Theory: Concepts and Methods\n                      , Kluwer Academic Publishers, Dordrecht, The Netherlands."},{"key":"R58","unstructured":"Carl Pomerance, Fast, rigorous factorization and discrete logarithm algorithms, Perspect. Comput., Vol. 15, Academic Press, Boston, MA, 1987, 119\u201314388m:11109"},{"key":"R59","doi-asserted-by":"publisher","DOI":"10.2307\/2269031"},{"key":"R60","doi-asserted-by":"publisher","DOI":"10.1145\/359340.359342"},{"key":"R61","doi-asserted-by":"publisher","DOI":"10.2307\/2274761"},{"key":"R62","unstructured":"Arnold Sch\u00f6nhage, Asymptotically fast algorithms for the numerical multiplication and division of polynomials with complex coefficients, Lecture Notes in Comput. Sci., Vol. 144, Springer, Berlin, 1982, 3\u20131583m:68064"},{"key":"R63","unstructured":"A. Sch\u00f6nhage, A. F. W. Grotefeld, and E. Vetter (1994),\n                      Fast Algorithms: A Multitape Turing Machine Implementation\n                      , B. I. Wissenschaftsverlag, Mannheim, Germany."},{"key":"R64","doi-asserted-by":"publisher","DOI":"10.1007\/BF02242355"},{"key":"R65","unstructured":"P. W. Shor (1994),\n                      Algorithms for quantum computation: Discrete logarithms and factoring\n                      , in Proc. 35th Annual Symposium on Foundations of Computer Science, IEEE Computer Society Press, Los Alamitos, CA, pp. 124\u2013134."},{"key":"R66","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevA.52.R2493"},{"key":"R67","first-page":"1340","volume":"26","author":"Simon (1994) D.","year":"1997","journal-title":"SIAM J. Comput.","ISSN":"https:\/\/id.crossref.org\/issn\/0097-5397","issn-type":"print"},{"key":"R68","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevLett.74.4087"},{"key":"R69","unstructured":"R. Solovay (1995), personal communication."},{"key":"R70","unstructured":"K. Steiglitz (1988),\n                      Two non\u2010standard paradigms for computation: Analog machines and cellular automata\n                      , in Performance Limits in Communication Theory and Practice, Proc. NATO Advanced Study Institute, Il Ciocco, Castelvecchio Pascoli, Tuscany, Italy, 1986, J. K. Skwirzynski, ed., Kluwer Academic Publishers, Dordrecht, The Netherlands, pp. 173\u2013192."},{"key":"R71","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevB.37.8111"},{"key":"R72","unstructured":"Tommaso Toffoli, Reversible computing, Lecture Notes in Comput. Sci., Vol. 85, Springer, Berlin, 1980, 632\u201364481j:68059"},{"key":"R73","doi-asserted-by":"publisher","DOI":"10.1112\/plms\/s2-43.6.544"},{"key":"R73","doi-asserted-by":"publisher","DOI":"10.1112\/plms\/s2-43.6.544"},{"key":"R74","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevA.51.992"},{"key":"R75","unstructured":"P. van Emde Boas (1990),\n                      Machine models and simulations\n                      , in Handbook of Theoretical Computer Science, Vol. A, J. van Leeuwen, ed., Elsevier, Amsterdam, pp. 1\u201366."},{"key":"R76","doi-asserted-by":"publisher","DOI":"10.1016\/0378-4754(86)90105-9"},{"key":"R77","unstructured":"Andrew Yao, Quantum circuit complexity, IEEE Comput. Soc. Press, Los Alamitos, CA, 1993, 352\u20133611328432"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/S0097539795293172","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:13:37Z","timestamp":1787336017000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/S0097539795293172"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[1997,10]]},"references-count":79,"journal-issue":{"issue":"5","published-print":{"date-parts":[[1997,10]]}},"alternative-id":["10.1137\/S0097539795293172"],"URL":"https:\/\/doi.org\/10.1137\/s0097539795293172","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[1997,10]]}}}