Playing Dice with the Universe: Programming Quantum Computers to Play Traditional Games

This paper explores the potential of quantum computers to play traditional games by programming them with only the rules of the game to implicitly represent all possible outcomes, using a D-Wave quantum annealer playing tic-tac-toe as a proof of principle.

Original authors: Tristan Zaborniak, Vikram Khipple Mulligan

Published 2026-04-28
📖 5 min read🧠 Deep dive

This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Quantum Dice-Roller: Playing Games with the Universe

Imagine you are playing a game of Tic-Tac-Toe. Usually, when you think about your next move, your brain looks at the board and says, "If I go in the corner, he might go in the middle, then I’ll go here..." You are essentially building a small "tree" of possibilities in your head, one branch at a time.

Now, imagine if you didn't have to build that tree branch by branch. Imagine if you could simply shatter the entire tree into a million pieces, throw them all into a giant blender, and then ask the blender, "Which of these millions of pieces actually ends in me winning?"

That is essentially what the researchers in this paper are doing with a quantum computer.


The Core Idea: The "All-at-Once" Strategy

In classical computing (the kind in your phone or laptop), a computer plays a game like a very fast librarian. It looks at one possible future, then another, then another, checking them one by one. To play a complex game like Chess or Go, a classical computer has to use "cheat sheets"—it studies millions of past games to guess what a good move looks like.

The researchers wanted to try something different. Instead of teaching the quantum computer how to play (strategy), they only taught it the rules (the "physics" of the game).

The Metaphor: The Maze and the Mist
Think of a game as a massive, complex maze.

  • A Classical Computer is like a mouse running through the maze. It runs down one path, hits a dead end, turns around, and tries another. It eventually finds the exit, but it has to do a lot of running.
  • A Quantum Computer is like a thick mist that enters the maze. The mist doesn't "run" down paths; it simply flows into every single corridor simultaneously. The mist occupies every possible path at once.

The researchers programmed the "mist" (the quantum state) so that the parts of the mist that hit a "dead end" or a "loss" become "heavy" and sink, while the parts of the mist that find a "win" become "light" and float to the top. When you finally "measure" the computer, you aren't looking at a single path the mouse took; you are looking at where the "winning mist" settled.


How They Did It: The "Penalty" System

To make this work on a D-Wave quantum annealer (a specific type of quantum machine), they used a system of "rewards and punishments" called a Hamiltonian.

They didn't tell the computer, "The center square is good." Instead, they told the computer:

  1. "Don't cheat!" (If you try to put two Xs in one square, we will give you a massive penalty).
  2. "Don't overlap!" (You can't play in a square that's already taken).
  3. "The Goal!" (If three Xs line up, that's a win. We will give a huge 'bonus' to any path that results in a win).

The quantum computer then searches for the "lowest energy state"—which, in this case, is the path that follows all the rules while collecting the most "win bonuses."


The Results: A "Clumsy" Genius

The researchers tested this on Tic-Tac-Toe. Even though Tic-Tac-Toe is a "solved" game that humans mastered decades ago, it served as a perfect test to see if the "mist" approach actually works.

What happened?

  • It won! Against a computer playing randomly, the quantum player won almost every time.
  • It was a bit "weird." Because the computer is sampling from a "mist" of possibilities, it can be a little inconsistent. Sometimes it would see a winning move but choose a longer, more complicated way to win instead. It’s like a genius who knows the answer but decides to solve the math problem using the most scenic route possible.
  • It's not perfect yet. Sometimes, because of "noise" (interference in the quantum world), it might get a slightly wrong estimate of how good a move is. It’s like trying to read a map while someone is shaking your hand.

Why Does This Matter?

You might think, "Who cares if a quantum computer can play Tic-Tac-Toe?"

The point isn't the game; it's the method. If we can program a quantum computer to "feel" its way through the trillions of possible moves in a game of Go or Chess without being taught strategy, we can use that same "mist" technique to solve massive, real-world problems.

We could use it to find the perfect shape for a new medicine, the most efficient way to route airplanes across the globe, or the best way to design a battery. They are using a simple game to prove that we can teach the universe to find the "winning path" in much bigger, much more important mazes.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →