New Issue: Orbital Catastrophe Ahead? Read Now

This Is the Fastest Random-Number Generator Ever Built

A laser generates quantum randomness at a rate of 250 trillion bits per second and could lead to devices small enough to fit on a single chip

Join Our Community of Science Lovers!

Researchers have built the fastest random-number generator ever made, using a simple laser. It exploits fluctuations in the intensity of light to generate randomness—a coveted resource in applications such as data encryption and scientific simulations—and could lead to devices that are small enough to fit on a single computer chip.

True randomness is surprisingly difficult to come by. Algorithms in conventional computers can produce sequences of numbers that seem random at first, but over time these tend to display patterns. This makes them at least partially predictable, and therefore vulnerable to being decoded.

To make encryption safer, researchers have turned to quantum mechanics, where the laws of physics guarantee that the results of certain measurements—such as when a radioactive atom decays—are genuinely random.


On supporting science journalism

If you're enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.


A popular way to tap into quantum randomness is to exploit fluctuations in how photons are emitted by the materials used in lasers. Typical laser devices are designed to minimize these fluctuations to produce light of steady intensity: they make the light waves bounce around inside the material to force its atoms to emit more and more photons in sync with each other.

But for random-number generation, researchers aim for the opposite. “We want the intensity to fluctuate randomly, so we can digitize the intensity to generate random numbers,” says Hui Cao, an applied physicist at Yale University in New Haven, Connecticut.

Dapper device

Cao and her team made their laser material—a translucent semiconductor—in the shape of a bow tie. Photons bounce between the curved walls of the bow tie multiple times, before coming out as a scattered beam. The researchers can then capture the light with an ultrafast camera. They recorded the light output of 254 independent pixels, which together produced random bits at a rate of around 250 terabits per second, or 250 terahertz. That’s several orders of magnitude faster than previous such devices, which recorded only one pixel at a time. Their results were reported in Science on 25 February.

The invention “represents a major leap in performance of random-number generators”, says Krister Shalm, a physicist at the US National Institute of Standards and Technology in Boulder, Colorado.

The fastest existing computers have clock speeds measured in gigahertz, which is much too slow to fully exploit the full power of Cao’s device. The set-up could be made smaller by using simpler light detectors instead of a high-speed camera. This could eventually yield practical devices small enough to fit on a single computer chip, says Cao. These could have useful applications, such as encryption technology on mobile phones.

This article is reproduced with permission and was first published on March 2 2021.

Davide Castelvecchi is a staff reporter at Nature who has been obsessed with quantum spin for essentially his entire life. Follow him on X @dcastelvecchi

More by Davide Castelvecchi

First published in 1869, Nature is the world's leading multidisciplinary science journal. Nature publishes the finest peer-reviewed research that drives ground-breaking discovery, and is read by thought-leaders and decision-makers around the world.

More by Nature magazine

Subscribe to Support Independent Journalism

Great science journalism requires human expertise, time, effort and creativity. And it costs money. That’s why I and the journalists here at Scientific American hope you’ll join our community.

When you subscribe, you are supporting staff and freelance journalists who are passionate about telling science stories that are true, important and compelling. Our editors and reporters are often experts in their fields, which means they understand the nuances of big discoveries and can untangle the breakthroughs from the hype. With a subscription, you are also supporting rigorous fact-checking to ensure the words we publish are precise and accurate. And you’re supporting original illustrations, graphics and photos that bring you closer to an advanced laboratory, an ice sheet in Antarctica or a space mission in orbit. You’re helping us craft other types of high-quality journalism as well: Our newsletters are carefully written, edited and curated by staffers you have or will come to know and love. Our Science Quickly podcast is based on original reporting, collaboration with editors and scientists and exacting production.

Subscriptions keep this engine running so we can continue to deliver thoughtful, rigorous and independent science journalism to you. In an era of viral misinformation, this work is crucial. If you value what we do, I hope you’ll consider joining us as a subscriber

Thank you,

Jeanna Bryner, Editor in Chief, Scientific American

Subscribe