Here’s how to generate a truly random number with quantum physics

IO_AdminUncategorized17 hours ago6 Views

Quantum Random Number Generator machine

One of the pieces of equipment for the quantum random number generator in the NIST Boulder laboratories. Credit: NIST

Get the Popular Science daily newsletter💡

Breakthroughs, discoveries, and DIY tips sent every weekday.

Very little in this life is truly random. A coin flip is influenced by the flipper’s force, its surrounding airflow, and gravity. Similar variables dictate rolling a pair of dice or shuffling a deck of cards, while even classical computing’s cryptographic algorithms are theoretically susceptible to outside influence or bias.

“True randomness is something that nothing in the universe can predict in advance,” explained Krister Shalm, a physicist at the National Institute of Standards and Technology (NIST).

So how does someone achieve true randomness? For that, you need to peer into the quantum realm. The task once required years of study and access to vast research facilities, but thanks to an ingenious new project from Shalm and his colleagues, now anyone can access a “factory for random numbers.” And it’s free to use.

Designed by NIST in collaboration with the University of Colorado Boulder, the Colorado University Randomness Beacon (CURBy) is a first-of-its-kind system that relies on headspinning quantum mechanics concepts to offer truly random number generation.

More specifically, CURBy’s foundation rests on a task known as the Bell test. Named after the famed physicist John Stewart Bell, the test measures pairs of entangled photons with properties that remain correlated even after separating across huge distances. While the outcome is always random when measuring a single particle, a pair’s properties are more correlated than classical physics dictates. This allows experts to verify the randomness at a quantum level.

Albert Einstein previously described this “quantum nonlocality” as “spooky action as a distance,” and he wasn’t a fan of the idea. Unfortunately for him, NIST proved its existence back in 2015. Three years later, they developed methodologies to use Bell tests in order to construct the world’s first true randomness generators.

These initial random results necessitated months of refinement and only ran for a few hours in total. Even then, the physicists and engineers only generated 512 bits of true randomness. Since then, researchers expanded and automated their experiment, thus offering random numbers whenever needed.

“We really wanted to take that experiment out of the lab and turn it into a useful public service,” said Shalm.

Their finalized protocol served up randomness 7,454 times over its first 40 days of existence. Researchers then recorded 7,434 cases of randomness—a success rate of 99.7 percent.

But how do you actually generate true randomness? For that, you need a system that relies on a bespoke nonlinear crystal to generate entangled photon pairs. The particles then speed away in an optical fiber to separate laboratories at opposite ends of a hallway at NIST. Once they reach the two labs, researchers measure their subsequent polarizations. This relay race is then repeated a headspinning 250,000 times per second.

All that data needs to be processed, so NIST sends off its millions of quantum coin flips to a specially designed computer program built by engineers at UC Boulder. The program then translates the measurements into 512 random bits of binary code that can then be parsed by anyone.

But utilizing CURBy is much simpler than the dizzying quantum computations required to generate true randomness. All a user needs to do is head to its website and key in the list of items you want shuffled. CURBy then will rearrange the entries based on any given day’s quantumly determined randomness. The outcome is decades in the making, and would have certainly given Einstein something to think about.

“I am at all events convinced that [the Creator] does not play dice,” he famously wrote to Max Born in 1926 regarding the concepts of quantum theory.

“If God does play dice with the universe, then you can turn that into the best random number generator that the universe allows,” Shalm said. 

 

More deals, reviews, and buying guides

The PopSci team has tested hundreds of products and spent thousands of hours trying to find the best gear and gadgets you can buy.

 

Read More

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Recent Comments

No comments to show.

Stay Informed With the Latest & Most Important News

I consent to receive newsletter via email. For further information, please review our Privacy Policy

Advertisement

Loading Next Post...
Follow
Sign In/Sign Up Sidebar Search Trending 0 Cart
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...

Cart
Cart updating

ShopYour cart is currently is empty. You could visit our shop and start shopping.