Pure-Python library for working with modular arithmetic, congruence classes, and finite fields. A library for number theory and modular arithmetic algorithms in Python e.g. Pollard Rho, Miller–Rabin ...
This issue of Students Explorations in Mathematics introduces students to modular arithmetic and its applications. This activity will help develop students’ problem-solving strategies and provide ...
Abstract: Modular multiplication is used in a wide range of applications. Most of the existing modular multiplication algorithms in the literature often focus on large size moduli. However, those ...
The Zmodn package provides a class for representing integers modulo a given prime number. This class can be used to applications such as cryptography and computer algebra.
Abstract: Measurement-based uncomputation (MBU) is a technique used to perform probabilistic uncomputation of quantum circuits. We formalize this technique for the case of single-qubit registers, and ...