Generate truly random number by emulating Quantum Superposition using Microsoft Quantum (Q# and QDK) on your local machine.
You can use Azure Quantum to use a Quantum Hardware to the same thing with actual Quantum Mechanics (instead of emulating it) using the same code. :)
- Install QDK for Visual Studio Code:
https://marketplace.visualstudio.com/items?itemName=quantum.quantum-devkit-vscode
- Install dependencies (.NET Core 3.1
https://dotnet.microsoft.com/download
, and Node.jshttps://nodejs.org/en/download/
) - Run
dotnet run
from the terminal