This is a cool way to visualise why it's not possible to 'solve' chess by brute force. Say you wanted to build a lookup table for the best move in any given position. Even if you could find a way to encode a position onto a single atom, there are insufficient atoms in the universe to store all the positions in chess.
Moore's law cant save you, because there's not enough matter in the universe to build a big enough hard drive.
Even if you could find a way to encode a position onto a single atom, there are insufficient atoms in the universe to store all the positions in chess.
I envision it as more encoding 32 qbits via user input and outputting a wave interference that maps out the solution, instead of w.e horror show this will be.
Qbits aren't 1 or 0, they're a superposition of every possible state. So one qbit is [0,1]. Two qbits make four positions [0,0; 0,1; 1,0; 1:1]. The superposition states are 2n where n is the number of qbits.
Getting the solution involves setting up the inputs such that the output is essentially the most likely result. The qbits are allowed to fall out of the superposition and end up as either 0 or 1, in the order that gives you (probably) the correct result.
The comment suggests building a quantum computer with 32 entangled qbits for 232 possible states and the output is probably the best move.
There are ways to make it smaller, for example you can take out board positions that are horizontal mirror images of another position, which cuts our storage in half.
Also you could only store white positions, since there's an equivalent black position for each, which cuts it in half again
Hard to think of more ways, but you could cut out positions that would only occur if both players play ridiculously unoptimally (for example positions where each player promotes several pawns)
Edit: Its probably still too large, but these are some good techniques. They have actually used the first two to solve all endgame positions up to like 6 pieces
Good luck indeed. To store the first 10 moves in that manner would reqire 35 petabyte of memory, the first fifteen moves would require 1 billion petabytes, much more than the combined storage capacity on earth :-)
680
u/powerman228 Apr 10 '23
Good luck storing and compiling all that…aren’t there more possible games of chess than stars in the universe or something?