A Quantum Magic 8-Ball

If you ever cracked open one of those Magic 8-Ball toys, you found little more than a polyhedron floating in some dark-colored fluid. It was a quasi-random way of asking the universe to answer crucial questions like “will Mom and Dad get a divorce?” and “does Bethany like me?” even if the results were seldom accurate (sorry about your parents, kid). If you want a more reliably random 8-ball that is not even slightly more truthful, you might like this recent build from [David Noel Ng].

The concept is simple enough — leverage quantum effects that provide truly random results to seed run a random number generator that determines the outcome of a software magic 8-ball. [David] tried a few ways to build something along these lines, and eventually settled on a setup that he felt suited the task at hand.

In the final rig, a light source spits out photons, and is attenuated to the point where effectively only one photon is running through the light path at a time. Each photon passes through a beam splitter, and either passes through the mirror and hits photomultiplier A, or bounces off and hits photomultiplier B. This creates a truly random yes/no result for every photon that passes through. [David] does a great job of explaining the low-level physics at play, as well as the supporting electronics and code that turns this into a usable magic 8-ball that actually answers questions.

We’ve seen other magic 8-ball builds before, too. Few come with quite the same tactile wonder created by the original toy, but they nonetheless do the job of answering questions that are too frivolous to take to a tarot reader or local divining bog witch. If you’re whipping up your own way to deduce the wills of the fates, don’t hesitate to let us know on the tipsline.

27 thoughts on “A Quantum Magic 8-Ball

    1. Lordy, for once we get an article that ISN’T video clickbait and you complain? Plus, how do you see the one photon in a YouTube video? Silly whiner.

      I was hoping to have a cat involved in a non-lethal way, but maybe this is the third possibility à la Douglas Adams where the cat got bored and hoofed it out the window.

  1. i’m uneasy calling anything ‘truly random’. we’ve proven fairly well that we don’t know how to predict some interactions, but that isn’t necessarily the same thing.

      1. Biological behavior would in most regards be pseudorandom, bc of predictable repeatability of behaviors. Measurements of natural physical processes can be truely random, but the quality and accuracy of the measuring device must be taken into account.

        1. Magic 8 balls and randomness using quantum effects, I don’t think it gets much better. We can model the ‘physically unknowable’ (ex. was that one black hole emission ‘truly random’?) w/math until the end of time, but maybe sometimes a quantum-influenced “signs point to yes” is good enough?

    1. If we’ve never seen random before (because the absence of proof to show it isn’t, can’t be proof) then now can we really say it exists? I’m not a theologian, I’m just a guy sat in the garden drinking a strong beer after mowing the lawn. But it should be as random as the universe wants us to believe random can be (excluding physical flaws in implementing the device that could introduce bias)

      1. This a math question that has been studied extensively. The current answer is the NIST STS test suite, which was used to verify the output of this device. That is close enough.

  2. Man, commentators are cranky today!

    I think this is a great example of someone coming up with an interesting challenge for themselves, then seeing it through with care and thought. Well done!

    1. … thus the need for cranky commentators. Otherwise, certain people might be forced to admit that someone who produces “something”, no matter how potentially-flawed*, has produced more than someone who produces the virtual equivalent of vinegar in the comment section.

      (Actual vinegar, on the other hand, can actually have significant merit, and is a fun study ;)

      this project might have flaws, but so far I haven’t spotted any worth mentioning.

  3. Since there are links between quantum effects and the observer (i.e., the measurement problem), have you tried to influence the output of your device by consciously wishing for A vs. B?

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.