Quantum icon indicating copy to clipboard operation
Quantum copied to clipboard

Quantum Random Number Generator not working

Open vanderryan opened this issue 3 years ago • 1 comments

Describe the bug When run by itself, the Quantum Random Number Generator works fine - produces a random number between 0 and #. When incorporated within other QDK code, it does one of three things: it hangs, returns a 0, or returns a 1.

To Reproduce Steps to reproduce the behavior: Incorporate Quantum Random Number Generator into Quantum Machine Learning code. dotnet run

Expected behavior A random number is generated

Screenshots If applicable, add screenshots to help explain your problem.

System information

  • OS: Windows 10, dotnet 5.0.17
  • QDK Additional context

vanderryan avatar Aug 05 '22 19:08 vanderryan

Thanks for your report! Could you provide some more details as to what code you tried to run and what error messages if any that you observed? Thank you!

cgranade avatar Sep 29 '22 22:09 cgranade