37. Quantum Circuits for Basic Modular Exponentiation
Keywords:
quantum computing, modular exponentiation, algebraic normal form, QFT-based arithmetic, Shor’s algorithmAbstract
Shor’s algorithm is expected to make a profound impact on cybersecurity in the near future, as current asymmetric cryptographic schemes will become ineffective once quantum computers are capable of operating with a sufficient number of logical qubits. A key component of Shor’s algorithm is modular exponentiation, whose implementation presents significant challenges when dealing with large numbers. Nevertheless, it is possible to construct manageable quantum circuits that implement modular exponentiation for small nonnegative integers, even though such circuits are not suitable for Shor’s algorithm. In this paper, two different approaches are proposed for designing a modular exponentiation circuit that covers all combinations of bases and exponents in the set {0, 1, 2, 3}. The first approach relies exclusively on controlled- and multi-controlled-X gates, whereas the second extends quantum Fourier transform (QFT)-based arithmetic operations, such as addition and multiplication. The results demonstrate that both circuits produce the expected outputs for every combination of bases and exponents within the set {0, 1, 2, 3}. In this way, a proof-of-concept truth-table synthesis for small exponentiation is demonstrated, rather than a complete implementation of modular exponentiation.Downloads
Published
2026-09-24
Issue
Section
Papers