English

Accelerating Shor's Factorization Algorithm on GPUs

Quantum Physics 2018-07-05 v1

Abstract

Shor's quantum algorithm is very important for cryptography, since it can factor large numbers much faster than classical algorithms. In this study, we implement a simulator for Shor's quantum algorithm on graphic processor units (GPU) and compare our results with Liquid -which is Microsoft quantum simulation platform- and two classical CPU-implementations. We evaluate 10 benchmarks for comparing our GPU implementation with Liquid and single-core implementation. The analysis shows that GPU vector operations is more suitable for Shor's quantum algorithm. Our GPU kernel function is compute-bound, due to all threads in a block reach to the same element of the state vector. Our implementation has 52.5×52.5\times speedup over single-core algorithm and 20.5×20.5\times speedup over Liquid.

Keywords

Cite

@article{arxiv.1801.01434,
  title  = {Accelerating Shor's Factorization Algorithm on GPUs},
  author = {I. Savran and M. Demirci and A. H. Yilmaz},
  journal= {arXiv preprint arXiv:1801.01434},
  year   = {2018}
}

Comments

4 pages, 3 figures, 3 Tables

R2 v1 2026-06-22T23:36:35.271Z