Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Glossary

Repeated-squaring constants

Repeated-squaring constants are the residues a, a squared, a to the fourth, and subsequent powers modulo N.

Edition released Coverage: Overview · Technical
On this page

Scientific definition and boundary

Repeated-squaring constants are the residues a, a squared, a to the fourth, and subsequent powers modulo N. In modular exponentiation, exponent bits select multiplication by these precomputed values. Computing the constants is classical preprocessing; applying their controlled reversible multiplications is quantum circuit work. The constants' availability therefore does not make the entire exponentiation a single inexpensive gate.

Sources