Summary
Classiq has updated its Qmod quantum programming language and synthesis compiler to improve the compilation of Shor’s algorithm. The upgrade enables the period-finding subroutine for a 2048-bit RSA-scale integer to compile in under ten seconds by preserving classical control structures like repeat, foreach, and conditional blocks.
By avoiding the flattening of circuits, the compiler allows symbolic indexing of quantum qubit arrays. This allows modules such as Quantum Fourier Transforms and Quantum Phase Estimation to synthesize in nearly constant time relative to operand width, while keeping the coprime base as a runtime parameter for reuse across iterations.
