Quantum Cryptanalysis of ECDLP Without Extra Qubits: How Shared Register Storage and Mid-Circuit Measurement Change the Estimate for secp256k1

05.11.2026

This research paper explores the central intrigue in quantum cryptanalysis of the elliptic-curve discrete logarithm problem (ECDLP), where the number of qubits is often debated. However, it’s not just the hardware that prevents qubit reduction: the dominant operation is modulo inversion, which requires working memory. The paper under review proposes an exact scheme for shared storage of intermediate variables and register reuse via a mid-circuit measurement. For the 256-bit secp256k1 curve, this yields  835 logical qubits,  compared to 1098 and 1175 in previous space-optimized estimates. The price is the increased number of Toffoli gates compared to some gate-optimized works. This is not a ready-made attack, but a resource estimate and an explicit scheme.

Content

⚙️ Detailed research option

  1. Statement of the problem and the hypothesis being tested
  2. Selected questions from the research constructor
  3. The chain of works: from Shor to space-efficient EEA
  4. Mechanism: Where exactly are qubits “hidden”?
  5. Results and fair comparison
  6. Evidence: Three Levels of Verification
  7. Limitations and refutation criteria
  8. What does this mean for cryptography and security?
  9. Open questions and the next experiment
  10. Pre-publication checklist and sources

1. Statement of the problem and the hypothesis being tested

⚙️ Detailed research option

The central paradox.  To solve ECDLP on a quantum computer, one must coherently compute multiple points of an elliptic curve. Point arithmetic involves addition, multiplication, squaring, and modulo inversion. Modulo inversion in affine coordinates is the main drain on working memory. This raises the question: is it possible to reduce the number of logical qubits without abandoning the standard affine structure of point addition and without losing correctness for all inputs in superpositions?

Hypothesis:  If we replace the uniform allocation of registers for all possible inputs with an exact shared-storage scheme  (r_{i-1}, t_i, q_i) and  (r_i, t_{i-1}), introduce length registers, apply location-controlled arithmetic, and reuse the register via a measurement in the middle of the circuit, then addition of affine points can be implemented in  3n + 6⌊log₂ n⌋ + O(1) logical qubits, and modulo inversion in  2n + 6⌊log₂ n⌋ + O(1).

Verification criterion.  The hypothesis is considered supported if: (1) the explicit EEA scheme indeed fits into the stated registers; (2) the measurement and classical feed-forward correction do not destroy the coherence in the superposition; (3) the estimate of 835 logical qubits is reproduced for secp256k1; (4) the gate estimates agree with the formulas  229n² for inversion and  1051n² for dot addition; (5) the comparison with previous works is carried out with the same understanding of logical qubits.

What could refute it?  Hidden ancilla that are not cleared and are not included in 835; a phase correction error after measurement  Y; the inability to implement location-controlled operations without additional memory; the irreproducibility of the Toffoli calculation; or a significant discrepancy between the error model and fault-tolerance requirements.

1. Recommended repository and direct answer

Use ZeroWang030221/Quantum-Algorithm-for-Elliptic-Curve-Discrete-Logarithms-with-Space-Efficient-Point-Addition. It provides Qiskit circuit construction, chunked EEA counting, optional NCT optimization, compiled point-addition block counting, and validation tests. It is a resource-estimation research repository, not a Bitcoin private-key recovery application. Repository and instructions.

2. Analysis of the supplied text

The core claim is supported by the primary source: Han Luo, Ziyi Yang, Jingquan Luo, Ziruo Wang, Yuexin Su, Xiaoming Sun, Lvzhou Li, and Tongyang Li, “Quantum Algorithm for Elliptic Curve Discrete Logarithms with Space-Efficient Point Addition,” arXiv:2607.13816v3, revised 5 September 2026. The title in the supplied article is a paraphrase, not the exact bibliographic title. The July paper supersedes arXiv:2604.02311; do not combine the April 1333-qubit estimate with the revised 835-qubit construction. Primary paper v3.

The central improvement is exact register sharing in a reversible extended Euclidean algorithm (EEA). Remainders shrink while coefficient magnitudes grow, allowing packed live data instead of full worst-case registers for every variable. Length registers and location-controlled operations preserve boundaries coherently. Unary iteration shares selection work rather than repeating independent equality tests. This changes auxiliary-space overhead from the earlier approximate O(sqrt(n)) strategy to O(log n), while gate cost remains an explicit tradeoff.

A fixed schedule is necessary: branches of a superposition cannot simply terminate their coherent arithmetic after different classical run times. The paper proves at most 4 ceil(c n) steps, c = 3/log2(2+sqrt(3)), and pads completed branches reversibly. Register reuse therefore depends on terminal behavior and clean uncomputation as well as nominal bit widths.

Hadamard-basis measurement of the redundant old y register yields a uniformly random bit string b and introduces phase (-1)^(b dot y). The surviving x and y/x retain enough information to reconstruct y. Feed-forward phase correction and subsequent uncomputation restore the intended coherent transformation while the measured register supplies clean EEA workspace. Measuring in the computational basis, or omitting correction, would not implement the same transformation.

Important domain correction: modular inversion is defined for x in F_p^*, not x = 0. The article’s “all x in F_p” wording is too broad unless a reversible extension at zero is explicitly specified. Generic affine point-addition tests also do not by themselves prove handling of infinity, doubling, or inverse-point exceptional cases. Audit these domains and the full algorithm’s error treatment separately.

Terminology corrections: use “point addition,” not “dot addition”; “classical feed-forward,” not “classic”; and distinguish measurement of register Y in the Hadamard basis from a Pauli-Y measurement. Chevignard and Fouque are the correct names in CFS26. The linked PQ Evidence application describes cryptographic inventory/CBOM functionality, not an independent ECDLP circuit verification service. The supplied Polynonce page could not be retrieved; the pasted text was used for its review.

3. Quantitative audit and fair comparisons

The explicit v3 widths are Q_inv = 2n + 6 floor(log2 n) + 19 and Q_add = 3n + 6 floor(log2 n) + 19. At n = 256 these are 579 and 835 logical qubits. The constant 19 comes from the explicit construction; it cannot be inferred from an O(1) term alone. Do not add overlapping arithmetic workspaces twice or assume an isolated EEA report must itself be 835 qubits.

The paper reports 2^30.88 ≈ 1,976,087,933 Toffoli gates for the complete signed-window ECDLP estimate. Leading terms at n=256 are 229n² = 15,007,744 for inversion, 1051n² = 68,878,336 for point addition, and 1056n³/log2(n) = 2,214,592,512 for full ECDLP. These are asymptotic leading terms, not expected exact JSON outputs; lower-order costs and finite-size window/table choices matter.

The 835-qubit width is 23.95% below 1098 and 28.94% below 1175. The reported full-circuit Toffoli count is about 149.1 times smaller than CFS26 but 24.4 times larger than BZG+26’s space-optimized mode and 34.3 times larger than Sch26’s gate-optimized mode. These are comparisons within the paper’s selected accounting model, not hardware runtime ratios or an assertion of today’s universal record.

A large depth would weaken practical attractiveness but would not logically refute a correct width theorem. Separate mathematical/circuit errors, implementation divergence, resource-accounting choices, and architecture-level feasibility. A discrepancy of a few percent in gate counts is a diagnostic trigger, not an automatic disproof.

4. Evidence and reproducibility limits

The current README documents Python 3.10+, Qiskit, and successful base-suite runs under Qiskit 2.4.1. It reports 418/418 nonzero p=419 inputs, 19,528 per-step comparisons, eight coherent regression trajectories with fidelity 1, and 68 generic small-field affine cases. These are repository-reported results, not results independently reproduced here. The current repository may postdate the preprint; record its commit and dependency versions before comparing numbers.

Its recursive counter assembles reusable arithmetic definitions and multiplicities rather than allocating a full multi-billion-gate flat circuit. Inspect expansion policies, unresolved/stopped terms, and measurement accounting. A passing basis-state arithmetic test does not establish relative-phase correctness; use coherent forward/inverse and measurement-transcript tests as well. Logical qubits do not specify physical qubits, error correction, magic-state factories, depth, or runtime.

5. Linux installation (Ubuntu/Debian)

sudo apt-get update
sudo apt-get install -y git python3 python3-venv python3-pip
git clone https://github.com/ZeroWang030221/Quantum-Algorithm-for-Elliptic-Curve-Discrete-Logarithms-with-Space-Efficient-Point-Addition.git ecdlp-space
cd ecdlp-space
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install "qiskit==2.4.1"
mkdir -p results
git rev-parse HEAD > results/source-commit.txt
python --version > results/python-version.txt
python -m pip freeze > results/requirements-lock.txt
python -c "import qiskit; print(qiskit.__version__)"

6. macOS installation

Use a terminal with Homebrew available. On Intel and Apple Silicon, use the same interpreter to create the environment and install packages. Python 3.12 is a practical choice within the documented Python 3.10+ range; this is not a maintainer-provided complete lockfile.

# Requires Homebrew; install it using its official instructions if absent.
brew install git python@3.12
git clone https://github.com/ZeroWang030221/Quantum-Algorithm-for-Elliptic-Curve-Discrete-Logarithms-with-Space-Efficient-Point-Addition.git ecdlp-space
cd ecdlp-space
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install "qiskit==2.4.1"
mkdir -p results
git rev-parse HEAD > results/source-commit.txt
python --version > results/python-version.txt
python -m pip freeze > results/requirements-lock.txt
python -c "import qiskit; print(qiskit.__version__)"

7. Windows using WSL2

In an Administrator PowerShell window, install Ubuntu; restart if prompted and create the Linux user account. Keep the checkout in the WSL Linux home directory, not under /mnt/c, for filesystem-intensive checkpoint work.

wsl --install -d Ubuntu

Then open Ubuntu and run:

cd ~
sudo apt-get update
sudo apt-get install -y git python3 python3-venv python3-pip
git clone https://github.com/ZeroWang030221/Quantum-Algorithm-for-Elliptic-Curve-Discrete-Logarithms-with-Space-Efficient-Point-Addition.git ecdlp-space
cd ecdlp-space
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install "qiskit==2.4.1"
mkdir -p results
git rev-parse HEAD > results/source-commit.txt
python --version > results/python-version.txt
python -m pip freeze > results/requirements-lock.txt
python -c "import qiskit; print(qiskit.__version__)"

8. Shared Linux/macOS/WSL validation and execution

Run from the activated virtual environment at the repository root. Read source code before executing downloaded software. Base and extended tests may be substantial; do not equate “quick start” with short runtime.

# Base suite; use pipefail so failures are not hidden by tee.
set -o pipefail
bash ./run_all_real_qiskit_validation.sh 2>&1 | tee results/validation-base.log
# Optional extended suite; may take considerably longer.
bash ./run_extended_real_qiskit_validation.sh 2>&1 | tee results/validation-extended.log
# Optional exhaustive/long-running mode, not a quick-start requirement:
# FULL=1 bash ./run_extended_real_qiskit_validation.sh

The following is the secp256k1 resource-counting workflow. It uses the exact 256-bit field modulus, not the subgroup order, and matches EEA and point-addition widths. The modulus flag is documented by the repository. Check –help if a later checkout changes its parser.

python run_eea_s835_fastdual_recursive_chunks_checkpoint.py \
  --n 256 --chunk-size 25 --measurement-uncompute --resume \
  --workdir results/eea_n256_chunks \
  --out results/eea_n256.json

python count_s835_fastdual_wrapped_point_addition_blocks_compiled.py \
  --n 256 \
  --p 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F \
  --point-constant secp256k1-generator \
  --eea-steps-json results/eea_n256.json \
  --out results/point_add_n256.json

Inspect the actual schema rather than assuming a fabricated exact output:

python - <<'PY'
import json
from pathlib import Path
for name in ('eea_n256.json', 'point_add_n256.json'):
    data = json.loads((Path('results') / name).read_text())
    print('\nREPORT:', name)
    for key in ('n', 'num_qubits', 'T_max', 'ops', 'qiskit_width_report',
                'key_ccx', 'validation', 'eea_meta'):
        if key in data:
            print(key, json.dumps(data[key], indent=2))
PY

Before a full run, a smaller EEA-only smoke count can use –n 64 with its own workdir/output. Do not interpret an n=64 run using the default 256-bit secp256k1 modulus as valid arithmetic on a 64-bit curve. For smaller point-addition experiments supply a suitable small prime and valid custom point, or follow the dedicated small-field tests.

9. Google Colab

Select a standard Python CPU runtime; a GPU is not required by these counting scripts. Run each block as a separate cell. Colab package versions and runtime limits may change. If an already-imported Qiskit was replaced, restart the session and return to the repository directory before continuing.

%cd /content
!git clone https://github.com/ZeroWang030221/Quantum-Algorithm-for-Elliptic-Curve-Discrete-Logarithms-with-Space-Efficient-Point-Addition.git ecdlp-space
%cd /content/ecdlp-space
%pip install "qiskit==2.4.1"
!mkdir -p results
!git rev-parse HEAD > results/source-commit.txt
!python -m pip freeze > results/requirements-lock.txt
# Run in a separate code cell after installation.
!bash -o pipefail -c 'bash ./run_all_real_qiskit_validation.sh 2>&1 | tee results/validation-base.log'
%%bash
set -euo pipefail
cd /content/ecdlp-space
python run_eea_s835_fastdual_recursive_chunks_checkpoint.py \
  --n 256 --chunk-size 25 --measurement-uncompute --resume \
  --workdir results/eea_n256_chunks \
  --out results/eea_n256.json

python count_s835_fastdual_wrapped_point_addition_blocks_compiled.py \
  --n 256 \
  --p 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F \
  --point-constant secp256k1-generator \
  --eea-steps-json results/eea_n256.json \
  --out results/point_add_n256.json
import shutil
from google.colab import files
shutil.make_archive('/content/ecdlp-reproduction-results', 'zip',
                    '/content/ecdlp-space/results')
files.download('/content/ecdlp-reproduction-results.zip')

Checkpoint files support resumption only if they survive. Download results periodically or place the workdir on mounted Google Drive. For robust long runs, clone to persistent storage or preserve both checkpoints and the recorded commit, then restore that exact checkout before resuming. Do not mix checkpoints from different widths, source revisions, measurement policies, or optimization configurations.

10. Expected final outcome

A successful run yields validation logs, source/dependency records, EEA chunk checkpoints, an aggregate EEA JSON, and a compiled point-addition JSON. The documented EEA schema includes n, T_max, num_qubits, ops, chunks and measurement_based. The point-addition schema includes qiskit_width_report, eea_meta, block_summaries, key_ccx and validation. Compare the relevant live-width field with the 835-qubit point-addition target; inspect reserved-versus-active registers and counter policy before interpreting a mismatch.

The point-addition JSON is not itself a complete Shor attack report. The approximately 1.98-billion-Toffoli full-ECDLP claim additionally involves signed-window scheduling and table lookups. Reproducing it requires the same end-to-end aggregation model, not merely running a point-addition counter. No private key, wallet file, Bitcoin address recovery, physical quantum experiment, or reliable wall-clock attack estimate is expected.

Quantum Cryptanalysis of ECDLP Without Extra Qubits: How Shared Register Storage and Mid-Circuit Measurement Change the Estimate for secp256k1

Quantum Cryptanalysis of ECDLP Without Extra Qubits: How Shared Register Storage and Mid-Circuit Measurement Change the Estimate for secp256k1

11. Troubleshooting and reporting

If Qiskit is missing, activate the same environment used for installation and run python -m pip show qiskit. If qiskit==2.4.1 is unavailable for the local Python/platform, use a supported interpreter and inspect package availability; do not silently upgrade for a publication comparison. If –help differs from this guide, preserve the source commit and investigate the changed interface. Do not suppress opaque-block errors or use –allow-eea-n-mismatch for evidence-grade counts. When memory or time limits occur, reduce chunk size, preserve checkpoints, and resume with unchanged settings. No runtime, RAM requirement, or exact gate-count agreement is guaranteed here.

A reproducibility report should record operating system, Python and Qiskit versions, commit SHA, commands, modulus, field width, measurement and MCX policies, raw JSON, test failures, reserved/live widths, and aggregation details. Optional local NCT optimization is a separate experiment; do not combine optimized and unoptimized checkpoints.

2. Selected questions from the research constructor

⚙️ Detailed research option

Not all 75 questions were selected from the file  quantum_research_questions_ru.html , but only those that directly relate to the study being tested. This is in line with the recommendation: 12-18 general and 4-8 specialized questions.

Constructor blockNumbersHow are they used?
Statement of the problem and intrigue1–6The “fewer qubits with modulo inversion dominance” paradox and its refutation criterion are formulated.
Algorithms and mathematical model25–30The EEA scheme, registers, location-controlled operations, unary iteration, and measurement cost are analyzed.
Errors and reliability31–36Logical and physical qubits are separated; the lack of depth analysis and fault-tolerance overhead is noted.
Quantum advantage and comparison37–42Comparison with CFS26, Sch26, BZG+26 by qubits and Toffoli for different optimization goals.
Experiment and reproducibility43–48Three levels of evidence are shown: algorithm, explicit scheme, Qiskit-counting.
Cryptography and security49–56Clarified: This is a cryptanalytic threat assessment, not an experimental attack; migration to PQC is important.
The Future and the Unification of Works69–77Open questions were formulated: gate-count, depth, DQI, AI-assisted synthesis.

3. The chain of works: from Shor to space-efficient EEA

⚙️ Detailed research option

To prevent the article from becoming a retelling of a single preprint, it’s helpful to organize the ideas in a coherent manner. This demonstrates why the new work was possible in the first place.

  1. Shor, 1994.  Provides a quantum polynomial algorithm for the discrete logarithm, including ECDLP, if the group is efficiently realizable. This is the theoretical basis for the threat.
  2. Proos and Zalka, 2003.  They propose an implementation for simple fields and a four-phase EEA scheme. This is where the idea of ​​register sharing comes in, but with uniform reservation and  O(√n) overhead, and rare outliers must be pruned with a loss of precision.
  3. Rötteler et al., 2017.  They formulate a methodology for resource estimation. In their estimates, point addition requires about  9n qubits, and inversion  requires 7n. This is an important baseline.
  4. Häner et al., 2020.  They are improving the circuits and introducing a signed-window technique. It’s no longer just a matter of “how many qubits” but also how to calculate the full ECDLP circuit.
  5. Chevenyard, Fook, Schrottenloher, 2026.  They provide a low-space approach, but not based on modular inversion; for secp256k1, it’s 1098 qubits. This is one of the main benchmarks for memory.
  6. Schrottenloher, 2026.  Optimizes dot addition; for inversion  2.12n + O(√n), , but the overall estimate for secp256k1 is 1192 qubits.
  7. Babbush et al., 2026.  Space-optimized estimation of 1175 qubits and  2^26.27 Toffoli; gate-optimized – 1425 qubits and  2^25.94.
  8. The work under review, 2026,  provides an exact shared storage scheme, location-controlled arithmetic, and mid-circuit measurement: 835 logical qubits for secp256k1 and  2^30.88 Toffoli.

The main shift: previous low-space approaches either abandoned modular inversion or retained more generous reservations. The new work attacks the dominant source of memory—EEA inversion—and does so at the level of an explicit reversible scheme.

4. Mechanism: where exactly are the qubits “hidden”?

⚙️ Detailed research option

4.1. EEA and four-phase circuit

⚙️ Detailed research option

The extended Euclidean algorithm for  p and  x supports sequences  r_i and  t_i. When first appearing  r_k = 1, the inverse is  (−1)^{k−1} t_k mod p. In quantum superposition, the number of iterations depends on  x, so a fixed-step scheme is needed.

The work uses the four-phase Proos-Zalka scheme: shifts, quotient computation, update  t, and inverse shifts. Instead of a loose bound,  4.5n a proven bound is given: a complete execution of the EEA requires at most  4⌈cn⌉ steps, where

c = 3 / log₂(2 + √3) ≈ 1.579, 4c ≈ 6.316.

That is, the number of steps is linear in  n, not quadratic. This is the key to the overall complexity remaining  O(n²) at one inversion, not  O(n³).

4.2. Shared storage of registers

⚙️ Detailed research option

The Proos-Zalka baseline version allocates too much space to variables. The new work notes that  r_i is monotonically decreasing, while is  t_i monotonically increasing, and they can be stored in the same physical registers in different phases. Moreover, one register  (n+3) can simultaneously store a triple  (r_{i−1}, t_i, q_i), while the other can  store (r_i, t_{i−1}).

  • Work1: t , intermediate  q,  r.
  • Work2: t′ ,  r′; when shifted,  t′ it can be “cut” into two parts.
  • Length registers:  four registers per  ⌊log₂ n⌋ + 1 qubit:  ℓ_t,  ℓ_q,  ℓ_{r′},  ℓ_s.
  • Control registers:  phases, iteration parity, sign, ctrl.

It is the exact distribution, and not the “stock for all cases”, that provides  O(log n) instead of  O(√n) additional memory and preserves accuracy for all  x ∈ F_p.

4.3. Location-controlled arithmetic and unary iteration

⚙️ Detailed research option

Since the boundaries of active bits depend on the input and stride, conventional fixed-length addition/subtraction schemes are unsuitable.  Active windows [k(T), K(T)] are introduced , which limit the indices where the operation can be active. To select a position  , a unary iteration is used : a reversible tree of AND gates that, given the value of the length register, returns a single-bit check for the desired position. This replaces independent equality checks and yields a selector that is linear in the window size.

The scheme contains location-controlled swap, add/sub, and length-update blocks. The authors provide explicit diagrams and calculations: for example, location-controlled Sub costs  11(K−k) + O(log n) Toffoli and  12(K−k) + O(log n) CNOT.

4.4 Measurement in the middle of the circuit

⚙️ Detailed research option

The most unusual place is in-place division:

|x⟩_X |y⟩_Y |0⟩_A ↦ |x⟩_X |y/x⟩_Y |0⟩_A.

First,  X the forward EEA inverter is run on , using it  A as clean working memory. Then  y/x it is written to  A. Now  A it is dirty, and a new clean memory is needed for the reverse EEA. Solution: measure the old one  Y in the Hadamard basis, reset it to  |0⟩ , and use it as working memory. After the reverse EEA, is restored  x, and the phase  (−1)^{b·y} is removed by recalculating  y from  x and  y/x and Pauli-Z correction based on the classical outcome  b.

This isn’t a “cost-free trick”: the measurement adds classical processing and feed-forward, but doesn’t destroy coherence because the old one  y is already redundant. As a result, affine point addition fits into three  n-qubit registers  X, Y, A plus  O(log n) an EEA ancilla.

5. Results and fair comparison

⚙️ Detailed research option

The main formulas of the analyzed work:

Inversion: 2n + 6⌊log₂ n⌋ + O(1) qubits; 229n² + O(n log n) Toffoli; 286n² + O(n log n) CNOT. Dot addition: 3n + 6⌊log₂ n⌋ + O(1) qubits; 1051n² + O(n log n) Toffoli. Full ECDLP: 1056 n³ / log₂ n + O(n²) Toffoli.

For secp256k1, the authors report 835 logical qubits and  2^30,88 Toffoli gates, which is approximately  1.98 billion  Toffoli gates. This is an estimate of the full Shor circuit with a signed window: 28 windowed point additions at  w = 16 and five sequential table lookups per window.

JobAssessment typeQubits, secp256k1ToffoliComment
BZG+26Space-optimized11752^26,27Fewer gates, more qubits.
BZG+26Gate-optimized14252^25,94Even fewer gates, even more qubits.
Sch26Space-optimized11922^26,11Inversion  2.12n + O(√n).
Sch26Gate-optimized14462^25,78The best Toffoli among comparisons.
CFS26Space-optimized10982^38,10Not based on modular handling.
This workSpace-optimized8352^30,88Better memory, but not the best gate count.

A fair conclusion.  The work wins in terms of logical qubits: 835 versus 1098 and 1175. Compared to the CFS26, Toffoli’s performance is approximately one-  2^7,22 ≈ 149 fold lower, or almost two orders of magnitude lower. But compared to the BZG+26 and Sch26 in gate-optimized modes, the new design requires more Toffoli. This is a classic space-gate tradeoff, not an “absolute victory by all metrics.”

6. Evidence: Three Levels of Verification

⚙️ Detailed research option

The strength of the work is not only its asymptotics, but also its multi-level verifiability.

  1. Algorithmic level.  The EEA pseudocode, the execution table for  p = 37, x = 13, the bound on the number of steps  4⌈cn⌉ , and a proof using the invariant cone and antinorm are given. This answers the question “why is the circuit correct for all inputs?”
  2. Schematic level.  Explicit blocks are shown: pre-shift, location-controlled Sub/Add/Swap, phase update, length update, unary iteration, controlled MAJ/UMA. This answers the question “how exactly to do this reversibly.”
  3. Resource level.  Qiskit compilation and block calculation for  n = 64…512, gate table, comparison with previous estimates. This answers the question “does the formula converge with a specific implementation?”

But there’s an important caveat: this  isn’t an experimental demonstration  on a physical quantum computer. All the numbers are logical qubits and gates. Physical qubits, errors, T-depth, execution time, and fault-tolerance overhead are not estimated in the paper. Therefore, the correct formulation is “resource estimation and explicit scheme,” not “a working attack.”

7. Limitations and refutation criteria

⚙️ Detailed research option

  • No depth analysis.  The authors explicitly state depth analysis as an open question. For a fault-tolerant implementation, depth may be as important as the number of qubits.
  • Logical qubits ≠ physical qubits.  835 logical qubits don’t mean 835 physical ones. Error correction is needed, and its overhead can change the picture.
  • Classic feed-forward.  Measurements in the middle of the circuit require fast, classic processing and correction. In real-world architecture, this is a limitation.
  • Comparison of asymptotics and constants.  Different works account for ancilla, tables, signed-window, and clearing differently. Comparisons should be made using the same model.
  • Verifiability.  It’s good that there’s pseudocode and Qiskit calculations; but independent reproducibility should include all blocks, not just the high-level formulas.

What would disprove the paper:  if independent compilation for secp256k1 reveals more than 835 logical qubits due to hidden ancilla; if phase correction after measurement  Y turns out to be incorrect for superposition; if location-controlled operations require additional memory; if Toffoli’s calculation is not reproducible; if the circuit depth makes the evaluation inapplicable for a fault-tolerant scenario.

8. What does this mean for cryptography and security?

⚙️ Detailed research option

For ECC, this is a signal: spatial estimates for quantum cryptanalysis continue to decline. But 835 logical qubits don’t mean “secp256k1 will be cracked tomorrow.” What’s needed are physical qubits with low error rates, correction, depth, timing, and classical infrastructure. Nevertheless, this direction is important for long-term planning of migration to post-quantum cryptography: NIST has already approved FIPS 203, 204, and 205, and the practical transition is being discussed at the NCCoE.

Correct communication with the reader must distinguish three assertions: (1) the theoretical quantum threat of ECDLP exists; (2) resource estimates are improving; (3) an experimental attack on secp256k1 has not yet been demonstrated. Conflating them is a loss of scientific accuracy.

9. Open questions and the next experiment

⚙️ Detailed research option

  1. Gate-count optimization.  Is it possible to reduce the Toffoli 1051n² dot addition cost while maintaining 835 qubits?
  2. Depth analysis.  What is the depth of the EEA inversion and point addition? Which blocks are parallelized?
  3. Space-depth-gate trade-off.  Is there a better mode for a fault-tolerant architecture than pure space-optimized?
  4. Applications beyond ECDLP.  Modular inversion is needed in DQI and other algorithms. Does space-efficient EEA carry over to these applications?
  5. AI-assisted synthesis.  Is it possible to automatically search for windowing, unary iteration, register sharing, and mid-circuit measurement compositions with correctness checking?

The next experiment to be tested is  an independent implementation of a full circuit for secp256k1 with a fixed ancilla accounting model, Qiskit code release, and separate depth calculation. Success criteria are 835 qubits and  2^30,88 Toffoli, failure criteria are discrepancies of more than a few percent or the need for additional blank registers.

10. Pre-publication checklist and sources

⚙️ Detailed research option

Checklist

⚙️ Detailed research option

  • The algorithm, scheme, resource assessment and forecast are separated.
  • Logical qubits are not called physical.
  • Comparison with CFS26, Sch26 and BZG+26 is carried out with the optimization mode indicated.
  • It is recognized that according to Toffoli, the work is not always the best.
  • Limitations specified: no depth analysis, no fault-tolerance assessment.
  • There is no promise of an exact date for the hack.
  • It is clear to the reader what new the work provides and how to test it.

Sources and reference works

⚙️ Detailed research option

  1. PW Shor. Algorithms for quantum computation: discrete logarithms and factoring. FOCS, 1994.
  2. J. Proos, C. Zalka. Shor’s discrete logarithm quantum algorithm for elliptic curves. Quantum Info. Comput., 2003.
  3. M. Roetteler, M. Naehrig, K. M. Svore, K. Lauter. Quantum resource estimates for computing elliptic curve discrete logarithms. ASIACRYPT, 2017.
  4. T. Häner, S. Jaques, M. Naehrig, M. Roetteler, M. Soeken. Improved quantum circuits for elliptic curve discrete logarithms. PQCrypto, 2020.
  5. C. Chevignard, P.-A. Fouque, A. Schrottenloher. Reducing the number of qubits in quantum discrete logarithms on elliptic curves. ePrint 2026/280.
  6. A. Schrottenloher. Optimized point addition circuits for elliptic curve discrete logarithms. arXiv:2606.02235, 2026.
  7. R. Babbush et al. Securing elliptic curve cryptocurrencies against quantum vulnerabilities: resource estimates and mitigations. arXiv:2603.28846, 2026.
  8. C. Gidney. A classical-quantum adder with constant workspace and linear gates. arXiv:2507.23079, 2025.
  9. Preprint under review:  2607.13816v3.pdf. Space-efficient quantum algorithm for ECDLP over prime fields, 2026.
  10. NIST FIPS 203/204/205, 2024; NIST NCCoE Migration to Post-Quantum Cryptography.

The article was prepared as a research analysis and educational material.