{"id":18999,"date":"2019-11-06T05:00:00","date_gmt":"2019-11-06T05:00:00","guid":{"rendered":"http:\/\/ci027d05d1c0002697"},"modified":"2025-01-27T21:04:14","modified_gmt":"2025-01-27T21:04:14","slug":"what-is-quantum-computing","status":"publish","type":"post","link":"https:\/\/bitcoinmagazine.com\/guides\/what-is-quantum-computing","title":{"rendered":"What Is Quantum Computing?"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2025\/01\/bitcoin-magazine-quantum.png\" title=\"\"><\/figure>\n<p>Quantum computing is a form of computing based on quantum physics. Where classical computers rely on bits (zeros or ones) to make calculations, quantum computers use quantum bits (qubits) that leverage quantum mechanics to exist in a \u201csuperposition\u201d: a combination of zero and one, with some probability for each. A qubit could, for example, have an 80 percent chance of being zero, and a 20 percent chance of being one. Or a 60 percent chance of being zero, and a 40 percent chance of being one. And so forth.<\/p>\n<p>The <a href=\"https:\/\/www.ibm.com\/quantum-computing\/learn\/what-is-quantum-computing\/\" target=\"_blank\" rel=\"noopener\">idea of quantum computing<\/a> was first introduced by physicist Paul Benioff in the 1980s. A little later, theoretical physicist Richard Feynman and mathematician Yuri Manin were the first to suggest that quantum computers could solve problems that are out of reach for classical computers. Indeed, in the 1990s, mathematician Peter Shor developed an algorithm that a quantum computer could use to break public-key cryptography: \u201c<a href=\"https:\/\/qudev.phys.ethz.ch\/static\/content\/QSIT15\/Shors%20Algorithm.pdf\" target=\"_blank\" rel=\"noopener\">Shor\u2019s algorithm<\/a>\u201d \u2014 if quantum computers ever got strong enough.<\/p>\n<p>In October 2019, after decades of research, Google officially claimed that it had reached \u201cquantum supremacy.\u201d This essentially means that a quantum computer solved a problem that a classical computer could not have solved. Or, to be more specific, it solved a problem in 200 seconds that would have taken even the strongest classical supercomputer 10,000 years to solve.<\/p>\n<p>While this was a big breakthrough, quantum computers still seem to be a long way off from running Shor\u2019s algorithm. For one thing, current quantum computers are not nearly strong enough for this, and it\u2019s unclear how easy or hard it is to scale the technology up. Furthermore, to actually be useful, quantum computers depend on a technical solution called \u201cerror correction,\u201d and this is still a challenge as well.<\/p>\n<p>Predicting future development of this technology is hard, but quantum computers that can run Shor\u2019s algorithm are likely years or even decades away \u2014 perhaps they will never even be possible at all.<\/p>\n<h2>Is Quantum Supremacy a Threat to Bitcoin?<\/h2>\n<p>If quantum computers get to the point where they can run Shor\u2019s algorithm and break public-key cryptography, Bitcoin could indeed be subject to attack. Specifically, a number of coins could be subject to theft.<\/p>\n<p>Some argue that the theft would be somewhat limited, however. While all coins are secured by public-key cryptography (currently, the ECDSA algorithm), most coins are also secured by the SHA256 hashing algorithm. Only if both of these algorithms are broken could all coins be stolen outright, but it does not currently seem as if SHA256 (or any other hashing algorithm) can be broken by quantum computers.<\/p>\n<p>That said, a very large amount of coins is only secured by public-key cryptography. Current estimates suggest that around 5 million bitcoin would be subject to theft if public-key cryptography were broken. These are some of the situations in which bitcoin may be at risk:<\/p>\n<ul>\n<li>Bitcoin that were sent directly to a public key instead of a Bitcoin address and that haven\u2019t been moved since. This includes many of the coins that were <a href=\"https:\/\/bitcoinmagazine.com\/bitcoin-mining\">mined<\/a> in the first two years of Bitcoin\u2019s existence. (Many of these coins are often attributed to Satoshi Nakamoto, but it\u2019s not clear that this is accurate.)<\/li>\n<li>Bitcoin that are held in reused addresses. Once bitcoin has been spent from an address, the public key of that address has been revealed, and if any more bitcoin are sitting in the same address, the funds could be stolen. This is one reason that address reuse is discouraged (though the main reason for this is to maintain privacy).<\/li>\n<li>Bitcoin held in wallets that share their public keys (typically, the extended public key) with a server, so the server can inform the wallet when coins are received.<\/li>\n<li>Bitcoin held in an address from which the forkcoin-equivalent (like BCH or BSV) has been spent.<\/li>\n<li>Bitcoin that are held in slightly more complex smart contracts, as all parties in such a contract typically know all of the relevant public keys. <\/li>\n<\/ul>\n<p>In fact, even when bitcoin is protected with both a public key and a hash, it could be a challenge to spend such bitcoin safely in a \u201cquantum world.\u201d When a user tries to spend their bitcoin and transmit the transaction over the Bitcoin network, the attacker would have a window of opportunity to try and steal the funds. At that point, the attacker could try to break the public-key encryption before the transaction confirms and then resend the bitcoin to one of his own addresses.<\/p>\n<p>Suffice it to say, if quantum computers suddenly became much stronger than anyone had anticipated, Bitcoin would have a problem.<\/p>\n<p>It should be noted that if quantum computers that can run Shor\u2019s algorithm suddenly appear, Bitcoin is unlikely to be the first or main target. Public-key encryption protects pretty much all other digital information in the world, including military intelligence, bank data and the rest of the existing financial infrastructure, communication networks and more.<\/p>\n<h2>Can Bitcoin Be Upgraded to Become Quantum Resistant?<\/h2>\n<p>Yes, the Bitcoin protocol can be upgraded to become quantum resistant.<\/p>\n<p>In short, Bitcoin\u2019s signature algorithm would have to be replaced with a quantum-resistant signature algorithm. Since activation of <a href=\"https:\/\/bitcoinmagazine.com\/guides\/what-is-segwit\">Segregated Witness<\/a>, Bitcoin\u2019s signature algorithm can be replaced relatively easily through a backwards-compatible, soft fork upgrade. (The current ECDSA signature algorithm might be partially replaced through a soft fork by the Schnorr signature algorithm in the near future.)<\/p>\n<p>After the upgrade, users should migrate their bitcoin to new addresses in order to be protected by the quantum-resistant signature algorithm. Users that don\u2019t migrate in time, before quantum computers can run Shor\u2019s algorithm, would run the risk of their bitcoin being stolen in some way or another.<\/p>\n<p>The Bitcoin protocol could potentially also be upgraded to block bitcoin from being spent at all, if they aren\u2019t moved to a safe address in time. This measure would mean that the original owner would lose the bitcoin as well \u2014 but, of course, they would probably lose the bitcoin to an attacker anyway. (It\u2019s been suggested that these bitcoin could potentially be unlocked by their rightful owners through Zero-Knowledge Proof cryptography \u2014 but this is all very speculative still.)<\/p>\n<p>Given the current state of development of quantum computing, it\u2019s expected that Bitcoin will have sufficient advanced warning that an upgrade will need to happen. Experts believe that we aren\u2019t anywhere near that point in time yet.<\/p>\n<h2>Could Bitcoin Mining Be Broken?<\/h2>\n<p>Quantum computers might be able to mine bitcoin faster than classical computers. However, because bitcoin mining is based on hashing (not on public-key cryptography), it would probably not be broken to any meaningful extent.<\/p>\n<p>Rather, the advent of quantum computing could lead to a new arms race to build the fastest mining hardware, up to the point where a new equilibrium is found. Similar evolutions of the bitcoin mining landscape have already happened when GPUs took over from CPUs and when ASICs took over from GPUs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quantum computing is a form of computing based on quantum physics. Where classical computers rely on bits (zeros or ones) to make calculations, quantum computers use quantum bits (qubits) that leverage quantum mechanics to exist in a \u201csuperposition\u201d: a combination of zero and one, with some probability for each. A qubit could, for example, have [&hellip;]<\/p>\n","protected":false},"author":2520,"featured_media":8914,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"class_list":{"0":"post-18999","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-guides"},"author_data":{"id":2520,"name":"Bitcoin Magazine","nicename":"bitcoin-magazine","avatar_url":"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2025\/01\/bitcoin-magazine-logo.jpeg"},"featured_image_url":"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/bitcoin-magazine-quantum.png","_links":{"self":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/18999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/users\/2520"}],"replies":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/comments?post=18999"}],"version-history":[{"count":0,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/18999\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media\/8914"}],"wp:attachment":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media?parent=18999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/categories?post=18999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/tags?post=18999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}