Constant-optimized quantum circuits for modular multiplication and exponentiation | Synapse