TY - GEN
T1 - Solving Prime Factorization Using Quantum Ising Model
AU - Wang, Wen Li
AU - Tang, Mei Huei
AU - Hussain, Shahid
AU - Wang, Kevin
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.
PY - 2026
Y1 - 2026
N2 - Quantum algorithms demonstrate good proficiency in solving combinatorial problems, a challenge faced by many optimization and cryptographic systems. Prime factorization is one of the hard problems and an efficient solver can significantly benefit those systems. In this regard, Shor’s algorithm utilizing quantum Fourier Transform has been proven to factor numbers exponentially faster than classical methods. However, it relies on finding the period of a function, which can sometimes be a challenging task. This study proposes another idea without that dependency to solve prime factorization through the construction of a quantum Ising model. The goal is to optimize or minimize Hamiltonian energy like the widely adopted approach of modeling NP-hard Ising spin glasses. This developed paradigm can benefit software practitioners to solve more and bigger scale combinatorial problems. Our methodology is a procedure of three steps. Step one formulates mathematical formulas based on the couplings of atomic Ising spins to model the range and product of numerical values. The second step accounts for the input value to construct observable operators that form a large matrix for quantum modeling through Pauli gates. The final step identifies the prime factors by computing the minimum eigenvalue of the matrix. This approach is validated through the execution of quantum approximate optimization algorithm (QAOA) combined with the constrained optimization by linear approximation (COBYLA) optimizer available in the IBM Qiskit SDK. Experimental results are presented to verify the degree of correctness.
AB - Quantum algorithms demonstrate good proficiency in solving combinatorial problems, a challenge faced by many optimization and cryptographic systems. Prime factorization is one of the hard problems and an efficient solver can significantly benefit those systems. In this regard, Shor’s algorithm utilizing quantum Fourier Transform has been proven to factor numbers exponentially faster than classical methods. However, it relies on finding the period of a function, which can sometimes be a challenging task. This study proposes another idea without that dependency to solve prime factorization through the construction of a quantum Ising model. The goal is to optimize or minimize Hamiltonian energy like the widely adopted approach of modeling NP-hard Ising spin glasses. This developed paradigm can benefit software practitioners to solve more and bigger scale combinatorial problems. Our methodology is a procedure of three steps. Step one formulates mathematical formulas based on the couplings of atomic Ising spins to model the range and product of numerical values. The second step accounts for the input value to construct observable operators that form a large matrix for quantum modeling through Pauli gates. The final step identifies the prime factors by computing the minimum eigenvalue of the matrix. This approach is validated through the execution of quantum approximate optimization algorithm (QAOA) combined with the constrained optimization by linear approximation (COBYLA) optimizer available in the IBM Qiskit SDK. Experimental results are presented to verify the degree of correctness.
UR - https://www.scopus.com/pages/publications/105027183155
UR - https://www.scopus.com/pages/publications/105027183155#tab=citedBy
U2 - 10.1007/978-3-032-08977-9_37
DO - 10.1007/978-3-032-08977-9_37
M3 - Conference contribution
AN - SCOPUS:105027183155
SN - 9783032089762
T3 - Communications in Computer and Information Science
SP - 568
EP - 574
BT - SEET - Software Engineering for Emerging Technologies - 1st International Conference, SEET 2025, Proceedings
A2 - Hussain, Shahid
A2 - Khan, Arif Ali
A2 - Abdul Basit Ur Rahim, Muhammad
A2 - Khan, Saif Ur Rehman
PB - Springer Science and Business Media Deutschland GmbH
T2 - 1st International Conference on Software Engineering of Emerging Technologies, SEET 2025
Y2 - 11 August 2025 through 12 August 2025
ER -