/shors-algorithm

quantum algorithm for factoring integers

Primary LanguageQ#

shors-algorithm

Shor's algorithm can be thought of as a hybrid algorithm. The quantum computer is used to perform a computationally hard task known as period finding. The results from period finding are then classically processed to estimate the factors.

Useful links

how I create a Q# project

  1. Init dotnet's Q# project:

dotnet new console -lang Q#

  1. Build project:

dotnet build

  1. Run:

dotnet run --number 437 --use-robust-phase-estimation true