5
$\begingroup$

Is there a method to calculate prime factorization in Q# of Visual Studio of Microsoft Quantum Development Kit?

In the Python language, it is the sympy.factorint method.

Or else is there any Q# sample program?

It is like Shor's algorithm calling Q# from C#.

$\endgroup$
5
$\begingroup$

Integer factorization sample in the official Quantum Development Kit samples repository implements Shor's algorithm in Q# and shows how to call it from C#.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.