What Bitcoin Mining Optimization Reveals About the Real Threats of Quantum Cryptanalysis from 1.89 Compression to the Quantum Limit

02.11.2026

In October 2013, the probability of finding a valid Bitcoin block in a single attempt was approximately  . This means that a classical miner, on average, would need to try   several possible solutions. Grover’s algorithm promises a quadratic speedup of   quantum computing. It sounds revolutionary. But over the past decade, quantum computers haven’t started mining Bitcoin. Why?2−60260230

The paradox is amplified by the fact that the classical optimization described in arXiv:1310.7935v3 yields a quite significant result:  1.89 SHA-256 compressions  per attempt instead of 3.0, or a saving of approximately 37–39% of computational effort [PDF §12]. This constant multiplier already translates into millions of dollars in energy savings. The quantum gain, however, is asymptotic, but requires millions of physical qubits and error correction.

The central question of the article is:  Is Bitcoin mining the main quantum threat, or does the real threat lie in another mechanism: ECDSA signatures, where Shor’s algorithm produces polynomial-time signatures and the public key is revealed at the moment of spending?

We will follow the framework from the file “Quantum Research Questions”: first the setting (Q1–Q6), then the mechanism (Q7–Q12), history (Q13–Q18), hardware (Q19–Q24), algorithms (Q25–Q30), errors (Q31–Q36), fair comparison (Q37–Q42), proofs (Q43–Q48), cryptography (Q49–Q56), and economics (Q63–Q68).

2. CISO problem as a search for a preimage with a constraint

⚙️ Detailed research option

A Bitcoin miner solves a problem the PDF authors call  Constrained Input Small Output (CISO)  [PDF §6.2]. Formally:

H2 = SHA256( SHA256( block_header ) ) < target

where  block_header it contains a 32-bit nonce that the miner can freely change.  target — a global variable, circa   October 2013 [PDF §7.1]. ​​This isn’t exactly “60 zeros”: the exact condition is numerical inequality, but the success probability is indeed close to  .2256−602−60

From a cryptanalytic perspective, this is a preimage problem with a limited output. It doesn’t require inverting the entire SHA-256 algorithm—it’s enough to find  any  input that yields an output below the threshold. This is why mining is closer to brute-force mining than to classical cryptanalysis.

Testable hypothesis Q4

⚙️ Detailed research option

Hypothesis:  The CISO problem only allows brute force with success probability  , and no SHA-256 structure provides a significant advantage.p = target / 2256

Refutation criterion:  if an algorithm is found that solves CISO faster than  1/p calls to SHA-256, with an advantage that increases with decreasing  p.

What the PDF says:  The authors explicitly state that “there is always a better way, at least a little” [PDF §6.4], and demonstrate a constant factor of 1.89. This does not disprove the hypothesis of no  asymptotic  advantage, but it does show that constant factors are important economically.

3. Physical and Mathematical Mechanism: SHA-256 as a Block Cipher

⚙️ Detailed research option

SHA-256 is built on the Davies–Meyer scheme:  , where   is a block cipher with a 256-bit block, a 512-bit key, and 64 rounds [PDF §10]. The key expands from a 512-bit message to 2048 bits (64 subkeys of 32 bits each). The first 16 subkeys are the message itself; the remaining 48 are calculated using a recurrence formula:Hi = EMi(Hi−1) ⊕ Hi−1E

W t  = σ 1 (W t−2 ) ⊕ W t−7  ⊕ σ 0 (W t−15 ) ⊕ W t−16 , 16 ≤ t ≤ 63

It is this structure that allows for optimizations: the first 16 rounds use constants, and the nonce is allocated in round 3, allowing for incremental computations [PDF §11.4].

Three compressions per attempt

⚙️ Detailed research option

The block header is 640 bits. The first application of SHA-256 requires two compressions (512 + 128 bits with padding), the second one requires one. This results in a total  of 3.0 compressions  [PDF §10, Fig. 5]. The first H1 compression does not depend on the nonce, so it is amortized:   [PDF §11.1].2,0 + 1/232

4. History: Four Generations and 10,000-Fold Growth

⚙️ Detailed research option

PDF records four generations of miners [PDF §9.1]:

GenerationTechnologyEnergy efficiency
1CPU~4000 W per GH/s
2GPU (Radeon 7790)~210 W per GH/s
3FPGA (ModMiner Quad)~50 W per GH/s
4ASIC (Bitmine.ch, 2013)~0.35 W per GH/s

An improvement of nearly 10,000 times since 2009. This is a classic example of “Moore’s Law” in specialized hardware. Important: The PDF emphasizes that improvements are inevitable and that the next generation may be quantum [PDF §9.3].

Connection to the Q13–Q18 framework.  History shows that each wave of improvements has superseded the previous one. If quantum mining ever becomes a reality, it will face the same dynamic: the network will increase difficulty, and the race will continue. This is an argument against panic, but not against investing in research.

5. Algorithmic optimization: 1.89 instead of 3.0

⚙️ Detailed research option

PDF offers a series of optimizations [PDF §11]:

  1. The first compression damping H1  is independent of nonce [§11.1].
  2. Saving 3 rounds at the end of H2  is an early cutoff by constant IV [§11.2].
  3. Save 3 rounds at start of H1  – nonce enters round 3 [§11.3].
  4. Incremental round 3  – two 32-bit increments instead of a full round [§11.4].
  5. Using zeros and constants in the key  saves 18 additions [§11.5].
  6. Precomputation of KW t  is 2 more additions [§11.6].
  7. Carry Save Adders  – the round is played with two full adders instead of seven [§11.8].
  8. Savings in message expansion  – W 16 , W 17  are constant; W 19  is incremental [§11.10–11.11].

Final score:

(64 + 64)/64 − 7/64 = 2 − 7/64 ≈ 1.89 compression

This is a savings of ~37% relative to 3.0 [PDF §12]. The PDF is clear that it doesn’t account for additional gains from CSA and pipelines, and that ASIC designers may have already implemented some of these tricks independently.

Tested hypotheses Q25–Q30.  Hypothesis: 1.89 is the lower bound for this structure while maintaining full SHA-256. Refutation criterion: if it can be reduced to <1.5 without changing the algorithm. The PDF does not provide this result, but does not prove optimality.

6. Errors, reliability and cost of correction

⚙️ Detailed research option

The PDF barely touches on errors—this is classical computation, where bit errors are unlikely. However, for quantum expansion, this section is critical (Q31–Q36).

Quantum mining will require:

  • SHA-256 reversible loop (about 10 4 –10 5  compression gates);
  • logical qubits for state (256 bits) and message schedule (512 bits) – about 800–1000;
  • surface code with overhead ~10 3  physical qubits per logical one;
  • total ~10 6 –10 7  physical qubits for one logical device.

Given the probability of success   and Grover’s   iterations, the total time, even with a 1 MHz clock, will be years. This is the key argument:  quantum mining is not limited by the algorithm, but by error-correction engineering .2−60230

7. Quantum Advantage: Grover vs. Classics

⚙️ Detailed research option

Grover’s algorithm provides quadratic speedup for unstructured searches. While a classical miner takes   attempts, a quantum miner   takes iterations. But there are some nuances:260230

  1. Search space.  The nonce is only 32 bits. The miner varies the Merkle root to get more attempts [PDF §6.5]. Grover requires a well-defined space; this complicates the circuit.
  2. Contour depth.  Each Grover iteration requires computing SHA-256 twice. A depth of ~104 gates  multiplied by 230  iterations yields ~1013 gates  . With error correction, this is astronomical.
  3. The difficulty is changing.  If a quantum miner appears, the network will increase its difficulty  target, and the advantage will disappear. The race will continue [PDF §7.1].
CriterionClassic ASIC (2013)Quantum miner (hypothetical)
Attempts before success2 602 30  Grover iterations
Equipment0.35 W/(GH/s)>10 6  physical qubits
Error correctionnot neededcritical, overhead ~10 3
Readinessseriallaboratory demonstration
Impact on complexityalready taken into accountwill increase the target, the race will continue

Conclusion for Q37–Q42:  Grover provides an asymptotic advantage, but even with   the current state of quantum technology, the practical gain is negative due to overhead. Classical optimization of 1.89 is a real, measured, and reproducible result; quantum mining is still a hypothesis.N = 260

8. Cryptography: Why Mining Isn’t the Main Threat

⚙️ Detailed research option

PDF focuses on mining, but signatures are more important for Bitcoin security. Bitcoin uses ECDSA on the secp256k1 curve. The public key is revealed at the time of spending: as soon as you sign the transaction, the key becomes public. Shor’s algorithm solves the discrete logarithm problem in polynomial time.

Resource estimates for 256-bit ECDLP are around 1500–2000 logical qubits and ~10 Toffoli  operations, which, with error correction, requires ~ 10–10 physical qubits  over hours or days. This is much closer to reality than quantum mining with its 230 iterations  .

Answer to Q54 from the framework.  For Bitcoin, we need to distinguish between: (a) hashing—mining and addresses; (b) signatures—ECDSA. The quantum threat for (a) is Grover, quadratic but with a huge overhead; for (b) it is Shor, polynomial and critical. The public key is available to the attacker at the time of spending; before that, the address is protected by the hash. Therefore, migration to post-quantum signatures (FIPS 204, for example) is a priority, not quantum mining.

The 2013 PDF doesn’t address ECDSA, but its CISO analysis is useful as a starting point: it shows that mining is a race for a constant multiplier, not a secret. A quantum miner isn’t “hack[ing]” Bitcoin—they’re competing in the same lottery.

9. Economy: The Four-Year Cycle and Its Consequences

⚙️ Detailed research option

The PDF criticizes halving every 210,000 blocks as artificial and harmful [PDF §13]. The reward is divided by two in hops, which creates a profitability gap. The authors propose smoothing every 336 blocks using the formula:

reward(t) = 25.0 · (625/624) 1250 − k  BTC, t = 336 · k, k ≥ 1250

This keeps the cap at 21 million BTC and produces a continuous curve [PDF §13.5, Figs. 13–14].

This is important for the quantum context: investments in quantum miners (if they appear) will depend on the predictability of the reward. Halving spikes increase uncertainty and can discourage capital. Smoothing reduces volatility, but does not eliminate the race.

Tested hypothesis Q63–Q68

⚙️ Detailed research option

Hypothesis:  Reward smoothing reduces mining profitability volatility without breaking the 21 million cap.

Refutation criterion:  if the smoothed formula leads to overproduction of BTC or to an unfair redistribution between early and late miners.

Status:  The PDF provides a mathematical proof of conservation of sum (Maple Sheet, §13.5), but no empirical market verification. This is an open question.

10. Evidence and reproducibility

⚙️ Detailed research option

The PDF is transparent: all optimization steps are described, formulas are provided, the Maple sheet confirms the amount of 21 million. However:

  • Savings estimates ($28 million/year) are based on April 2013 data and are subject to revision.
  • The authors do not publish the code, but describe the algorithm sufficiently for reproduction.
  • Experimental verification of 1.89 on a real ASIC is not provided – this is a theoretical estimate.

For quantum expansion, reproducibility is even lower: there are no public demonstrations of quantum mining. Therefore, we label quantum estimates as predictions, and the classical 1.89 as theory + estimate.

11. Three-Part Matrix PDF

⚙️ Detailed research option

FieldPart I (CISO)Part II (1.89)Part III (halving)Synthesis
QuestionHow is CISO solved?How to speed up?How to stabilize?How do quanta change all three?
MethodCryptanalysisOptimization of schemesEconomic formulaComparison of modes
MetricsProbability 2 -601.89 compression21 million capResources vs. winnings
LimitationThere is no asymptoticsConstant multiplierReward racingOverhead corrections
New conclusionMining — brute-forceThe savings are realThe cycle is harmfulQuanta won’t eliminate engineering.

12. Open questions and the next experiment

⚙️ Detailed research option

  1. Is it possible to reduce 1.89 to 1.5?  A new trick in message expansion or early clipping is needed.
  2. What is the exact overhead of quantum SHA-256?  A publicly available estimate with corrections is needed.
  3. How will difficulty change with the advent of quantum mining?  Model: the target increases, the race continues, but capital costs increase.
  4. Halving smoothing: empirical analysis.  A market simulation with a 336-block formula is required.
  5. Post-quantum signatures in Bitcoin.  FIPS 204 (ML-DSA) is a candidate, but signature sizes and compatibility require analysis.

Next experiment (Q70).  Compare three scenarios: (A) classic ASIC with 1.89; (B) quantum miner with Grover and surface code; (C) hybrid. The metric is the present value of one valid block, taking into account capital and operational costs. Expectation: A wins with current technologies; B becomes competitive only at error thresholds <10−4 and  > 106  qubits.

13. Conclusion

⚙️ Detailed research option

The paper arXiv:1310.7935v3 is a rare example of honest reverse engineering: the authors show that Bitcoin mining can be accelerated by 37% using the SHA-256 structure, while simultaneously criticizing the artificial four-year cycle. Quantum extension doesn’t invalidate their conclusions, but rather adds an important layer:  quantum mining isn’t a “hack,” but a different race with a different cost balance . The real quantum threat to Bitcoin lies in ECDSA signatures, where Shor’s algorithm provides a polynomial advantage and the public key is revealed upon spending.

For readers who wish to continue their research, we suggest choosing one of the open-ended questions in Section 12, formulating a hypothesis based on Q1–Q6, gathering evidence for Q43–Q48, and comparing it with alternatives for Q37–Q42. This is how a scientific article is born: not from the promise of a sensation, but from a testable question and an honest comparison.

Sources and notes

⚙️ Detailed research option

  1. N. T. Courtois, M. Grajek, and R. Niemiec.  Bitcoin and Bitcoin Mining: A Cryptographic Analysis . arXiv:1310.7935v3, 2013. (All references [PDF §X] are to sections of this work.)
  2. “Questions for Research on Quantum Technologies” is the author’s methodological framework (file quantum_research_questions_ru.html). [Q#] links to question numbers.
  3. National Quantum Initiative.  quantum.gov  — context for quantum technology trends.
  4. NIST. FIPS 203, 204, 205 (August 2024).  csrc.nist.gov  — post-quantum standards.
  5. NIST NCCoE.  Migration to Post-Quantum Cryptography  —A Practical Context for Migration.