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 Q# sample program there?

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


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#.


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.