Abstract Our aim is to determine conditions for quantum computing technology to give rise to security risks associated with quantum Bitcoin mining. Specifically, we determine the speed and energy efficiency a quantum computer needs to offer an advantage over classical mining. We analyze the setting in which the Bitcoin network is entirely classical except for a single quantum miner who has small hash rate compared to that of the network. We develop a closed-form approximation for the probability that the quantum miner successfully mines a block, with this probability dependent on the number of Grover iterations the quantum miner applies before making a measurement. Next, we show that, for a quantum miner that is "peaceful", this success probability is maximized if the quantum miner applies Grover iterations for 16 minutes before measuring, which is surprising as the network mines blocks every 10 minutes on average. Using this optimal mining procedure, we show that the quantum miner outperforms a classical computer in efficiency (cost per block) if the condition $Q < Crb$ is satisfied, where $Q$ is the cost of a Grover iteration, $C$ is the cost of a classical hash, $r$ is the quantum miner's speed in Grover iterations per second, and $b$ is a factor that attains its maximum if the quantum miner uses our optimal mining procedure. This condition lays the foundation for determining when quantum mining, and the known security risks associated with it, will arise.
Introduction
Bitcoin mining is a global race to solve a cryptographic puzzle—partially inverting the SHA-256 hash function. While classical miners rely on brute-force random guessing, quantum computers can leverage Grover’s algorithm to achieve a quadratic speedup in unstructured search. However, this advantage is not straightforward. Grover’s algorithm requires a specific number of iterations before a measurement is taken; if the classical network finds a block while the quantum miner is still iterating, the quantum miner's progress is lost. This paper investigates the optimal strategies and economic thresholds for quantum mining in a predominantly classical network.
Modeling the Mining Race
To analyze the competition between a single quantum miner and the classical network, the authors formulate the mining process as a Markov chain. This model captures the transitions between searching, finding a block, and reacting to network announcements.
The study distinguishes between two primary behaviors:
- Peaceful Mining: The quantum miner abandons their current search and restarts if a classical miner announces a new block.
- Aggressive Mining: The quantum miner measures their state immediately upon hearing of a new block, hoping to find a valid solution simultaneously and force a network fork.
The success of these strategies depends on the implementation of Grover's search, which dictates the probability of finding a solution based on the number of iterations performed.
The 16-Minute Strategy
A central finding of the research is the "16-minute paradox." For a peaceful miner, the optimal time to apply Grover iterations before measuring is approximately 16 minutes. This is counter-intuitive because the Bitcoin network's average block time is only 10 minutes.
Mathematical optimization using the Lambert W-function reveals that the quadratic growth in success probability (inherent to Grover's algorithm) outweighs the roughly 20% risk that the network will find a block during those additional 6 minutes. By waiting longer, the quantum miner significantly increases their chances of success per measurement, maximizing their overall block-finding rate.
The Efficiency Threshold
The paper derives a strict condition for quantum mining to be economically viable. A quantum miner is more cost-effective than a classical ASIC if the following condition is met:
$$Q < Crb$$
Where:
- $Q$: The cost of a single Grover iteration.
- $C$: The cost of a classical hash.
- $r$: The quantum miner's speed (iterations per second).
- $b$: A factor that reaches its maximum (approx. 25.9 minutes) when the 16-minute optimal strategy is employed.
Crucially, this quantum advantage is independent of the network's cryptographic difficulty ($D$). Instead, it scales linearly with the quantum computer's clock speed and the network's average inter-block time. This suggests that blockchains with longer block times are more vulnerable to quantum disruption.
Practical Implications and Limitations
Applying this model to a hypothetical near-term quantum computer with a 66.7 MHz gate speed, the authors calculate an effective hash rate of only 78 MH/s—negligible compared to the current global network. To achieve parity with modern classical ASICs, such a machine would require an energy efficiency better than 10 $\mu$J per Grover iteration.
Furthermore, the model assumes a small hash rate and does not account for the significant overhead of quantum error correction, which would likely reduce the effective iteration rate. Future research is needed to explore scenarios where quantum miners hold a significant portion of the network's power or employ more complex aggressive mining tactics.
Summary updated