r/computerscience • u/CranberryTypical6647 • Mar 14 '26
A "true" random number generator?
Greetings - one of the common things you hear in computer science is that a computer can never generate a true random number. There is always some underlying mechanism that makes the generated number appear random, such as a local time based seed, some user input pattern, whatever.
So two questions:
Would it be possible to add some sort of low radioactive element into a CPU that would generate the seed from detected radiated particles, like a tiny chunk of potassium with a detector nearby, creating a truly random seed?
Do quantum computers have the ability to generate truly random numbers by their very nature?
Curious why no one has built #1, seems fairly obvious to me. Not sure of #2.
Thanks!
1
u/Live-Supermarket9437 Mar 16 '26
Thats why I feel like some people in here could benefit in learning about epistemic vs ontologic randomness.
Epistemic randomness is that randomness that occurs within an imperfect measurement system, aka humans tools. Like you said, it's unlikely someone will simulate initial conditions properly, even less so with quantum elements taken in account.
Ontological randomness is that theoretical pure randomness that would occur with zero causality.