Loading Page ...
« Back to recent articles

Quantum random number generator in C# (part 2)

In article Quantum random number generator in C#we implemented true random number generator class in C# which is using Australian National University (ANU) Quantum Random Numbers Server.

We received feedback from them that our algorithm has modulo biaswhich can favorize some numbers with greater probability.

For this reason we prepared second version of QuantumRandomNumberGenerator class where:

  • we tried to fix modulo bias
  • we use JSON API

Our C# class can be downloaded from: QuantumRandomNumberGenerator.cs.txt. Class usage is same as System.Random class (our class derives from System.Random).

Thanks again for feedback from ANU folks!

Links: ANU Quantum Random Numbers Server

Comment IconComments are disabled