Shor's Algorithm

Theoretical analysis of Shor's quantum factorization algorithm and its implications for modern cryptography and computational complexity
2 Downloads
Updated 9 Nov 2025

View License

In-depth analysis of Shor's algorithm for integer factorization, focusing on the quantum order-finding subroutine and quantum phase estimation techniques. The study examines the classical reduction from factorization to the order-finding problem and details the quantum circuit implementation using controlled-unitary operations and the Quantum Fourier Transform. Performance analysis demonstrates the algorithm's polynomial-time complexity compared to the sub-exponential complexity of classical algorithms. The project explores real-world implementation challenges, including noise and error accumulation in current quantum hardware, and evaluates the cryptographic impact on RSA and ECC security. Includes computational benchmarks and complexity comparisons.

Cite As

Simone Pellegatta, Pietro Lanna (2025). Shor's Algorithm (https://it.mathworks.com/matlabcentral/fileexchange/182539-shor-s-algorithm), MATLAB Central File Exchange.

MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Updated Citation Link

1.0.0