Factoring some integers using Shor’s algorithm on real quantum hardware

Experimental realizations of Shor’s integer factorization algorithm on NISQ devices often rely on heavy circuit compilation that inadvertently encodes prior knowledge of the solution, bypassing the core challenge of quantum arithmetic. In this work, we present a hardware-execution baseline for the quantum order-finding routine where modular exponentiation is kept explicit as a sequence of controlled modular multiplications. We explicitly acknowledge that our approach relies on strong prior structural knowledge: the moduli are deliberately chosen as products of Fermat primes, and that ensures the multiplication constants \(c_k = A^{2^k} \bmod N\) will reduce to identities or powers of two. However, unlike compiled demonstrations that hardcode the final state, this structural advantage is used strictly as an experimental proxy to make explicit arithmetic feasible on current hardware. Every non-trivial controlled modular multiplication is executed and verified by intermediate checkpoint measurements. We ran the resulting circuits on IBM superconducting devices for \(N \in \{51, 85, 255, 771\}\) . For moduli up to \(N = 255\) , we observed Hellinger fidelities up to 0.946, while for \(N = 771\) we quantitatively characterize the signal degradation caused by increased circuit depth and accumulated hardware noise. By reporting logical and device-compiled resource counts, this methodology provides a reproducible reference point for studying depth-induced degradation in structured instances of order-finding and evaluating future hardware-aware optimizations.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-10-09
DOI
https://doi.org/10.1038/s41598-026-69823-6
Primary Topic
Quantum Computing Algorithms and Architecture
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Factoring some integers using Shor’s algorithm on real quantum hardware

Gabriela Pinheiro, José Victor Soares Scursulim, Guilherme da Hora Andrade Fontoura, Vitor Pio Silva et al.
Scientific Reports
Quantum Computing Algorithms and Architecture
article

Factoring some integers using Shor’s algorithm on real quantum hardware

Gabriela Pinheiro, José Victor Soares Scursulim, Guilherme da Hora Andrade Fontoura, Vitor Pio Silva, Samuraí Brito, Luis Antonio Kowada, Fábio Gomes dos Santos
article en

Abstract

Experimental realizations of Shor’s integer factorization algorithm on NISQ devices often rely on heavy circuit compilation that inadvertently encodes prior knowledge of the solution, bypassing the core challenge of quantum arithmetic. In this work, we present a hardware-execution baseline for the quantum order-finding routine where modular exponentiation is kept explicit as a sequence of controlled modular multiplications. We explicitly acknowledge that our approach relies on strong prior structural knowledge: the moduli are deliberately chosen as products of Fermat primes, and that ensures the multiplication constants \(c_k = A^{2^k} \bmod N\) will reduce to identities or powers of two. However, unlike compiled demonstrations that hardcode the final state, this structural advantage is used strictly as an experimental proxy to make explicit arithmetic feasible on current hardware. Every non-trivial controlled modular multiplication is executed and verified by intermediate checkpoint measurements. We ran the resulting circuits on IBM superconducting devices for \(N \in \{51, 85, 255, 771\}\) . For moduli up to \(N = 255\) , we observed Hellinger fidelities up to 0.946, while for \(N = 771\) we quantitatively characterize the signal degradation caused by increased circuit depth and accumulated hardware noise. By reporting logical and device-compiled resource counts, this methodology provides a reproducible reference point for studying depth-induced degradation in structured instances of order-finding and evaluating future hardware-aware optimizations.

Scientific Reports
Universidade Federal Fluminense (BR)
Openalex Percentile: Top 12%
Quantum Computing Algorithms and Architecture
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.