The Quantum Optics folks at the Australian National University have recently created a quantum random number generator, and made a website for it that allows you to retrieve numbers from it. By using the fluctuations of quantized energy from splitting light beams in a quantum vacuum, researchers from this group constructed a machine that generates numbers based on these fluctuations. The current theories in quantum mechanics show that these fluctuations are truly random, so the numbers are also truly random. Short of going into an all-out discussion about quantum mechanics, I’ll talk about a little open source library I built that uses the website that interfaces with the machine to produce random numbers for your applications. Click the jump for more.
TL;DR: I wrote a Java library that generates random numbers that can be found here. Download the bin jar file in Downloads and use QuantumRandom from that library just as you would Java’s Random class (it has the same methods). Just keep an eye on the QuantumRandom.err() method for error output. Further instructions can be found here. More languages to come later. Also, the library requires an Internet connection.

