So you heard quantum computation and entanglement were a thing. They probably make no goddamn sense. Maybe this will help at least provide a different way of looking at it. Let's look at something called the Mermin-Peres Magic Square, which I call here the "quantum square" purely for convenience (not at all to downplay the contributions of David Mermin or Asher Peres).
Before we talk about the quantum square we have to review something. In particular we have to review what a (so called) magic square is. Then we can get into the real magic.
A 3x3 magic square is a 3x3 grid of numbers such that each column and each row sums to the same value. Sometimes we add the same constraint to the diagonals but let's ignore that here.
For example:
4 9 2
3 5 7
8 1 6
The sum of each column is 15, the sum of each row is 15, so this is a magic square. Cool? All refreshed? Cool.
A quantum square is slightly different. A 3x3 quantum square is a 3x3 grid of 0s and 1s such that each row sums to an even number and each column sums to an odd number.
0+0+0 = 0 is even
0+0+1 = 1 is odd
0+1+0 = 1 is odd
0+1+1 = 2 is even
And so on...
The sum of a list of numbers being even or odd is what is called a “parity” constraint. If you know what that means, good for you. If not, parity is just a fancy math way of saying evenness. I promise there’s nothing up my sleeve.
At this point you may have already tried to construct a quantum square, either in your head or on a piece of paper. If you haven’t, why not try it now? (don't spend too long on this though)
I'll wait.
Spoilers: there is no such quantum square.
It’s literally impossible to construct a square that satisfies the given constraints.
Well. It’s impossible… classically.
If we change the problem slightly, and introduce a property of quantum information, we can do something interesting.
But we're getting ahead of ourselves. First we need some friends.
Our old friend Alice is back from Wonderland and is now a quantum scientist, which, honestly, makes a lot of sense.
Meanwhile, Barb from Stranger Things actually did escape the Upside Down but instead of going back to her normal life she ran away to study quantum physics, because of course she did.
Lastly, Charlie Bucket, now the owner and President of the Wonka Corporation, has stepped down as CEO to focus on supervising Wonka’s Research and Development Department, which is, among other things, funding quantum research because Charlie feels like his existing candy just isn’t weird or dangerous enough.
So Alice, Barb and Charlie are now in the Wonka R&D facility setting up a little game to do with a quantum square.
First, Alice and Barb will be allowed to talk and share some strategy and materials. Then Alice will go to one room, and Barb will go to another separate room. Once Alice and Barb are in separate rooms they have no phones, internet, and can’t hear or see each other or pass notes. No communicating allowed.
Charlie will then go to Alice’s room, and ask Alice to provide the first, second, or third row of a quantum square.
Charlie will then go to Barb’s room, and ask Barb to provide the first, second, or third column of a quantum square.
Then Charlie will check that Alice’s row sums to an even number, that Barb’s column sums to an odd number, and that the overlapping cell of Alice’s row and Barb’s column matches.
If all those things check out, Alice and Barb win the game. If one of them doesn’t check out, then they lose.
To reiterate, Alice and Barb are separated so Alice does not know which column Charlie picked from Barb and Barb does not know which row Charlie picked from Alice.
So for example if Charlie chooses row 1 and Alice gives 000 and then Charlie choses column 1 and Barb gives 010 then all the constraints are satisfied because 000 sums to even, 010 sums to odd, and (1,1)=0 matches, so they win.
However if Charlie chooses row 2 and column 1 and Alice gives 000 and Barb gives 010 then the parity constraints are satisfied but the (2,1) cell doesn’t match, so they lose.
The only way for Alice and Barb to win this game 100% of the time is for them to share a complete quantum square ahead of time, right? But that’s impossible. No such square exists. Classically, the best they can do is win 8 out of every 9 times by sharing a quantum square where only one of the 9 entries is broken.
Let's see how they could win this game 8 out of every 9 times. If Alice and Barb set themselves up with the following:
Alice has:
0 0 0
1 1 0
0 0 0
Barb has:
0 0 0
1 1 0
0 0 1
Then they will win unless Charlie picks row three and column three (which is a 1/9 chance if Charlie picks randomly). And if Charlie doesn't pick randomly Alice and Barb can randomly choose which cell to be broken and that is mathematically the same. So they’ll win 8 out of 9 times.
Now here’s were things get weird.
The spoiler here is that Alice and Barb can do better than a score of 8/9, with a little something called quantum entanglement.
In their pre-game strategy session Alice and Barb share a specific quantum state of four entangled qubits. Then once they are separated they can use this quantum state and a quantum algorithm to generate winning answers to Charlie’s questions 100% of the time, all without communication.
The mathematics of the algorithm that achieves this 100% result does require some quantum algebra. So instead of doing quantum algebra I will use magic. Alice, Barb and Charlie are all pretty familiar with magic of various kinds so this hopefully won’t be too difficult for them to follow.
The Wonka R&D department has developed a line of special magical orbs called Entangled Orbs which can briefly (and with great care) be duplicated such that the two duplicates can be separated. A duplicated orb can then be activated with certain spells which cause it to produce either a red or a green light. We’ll get into the dynamics of this orb a bit later.
Also the Wonka R&D department has acquired several sets of magical Pauli stones that can be used in various arangements to produce different spells.
The Pauli stones come in sets of three stones labelled Xeno, Yotta, and Zaphir. There are also just some regular non magical stones laying around because those are needed too.
There are nine magical spells we can do by arranging these stones. It’s not necessary to understand or remember each spell but here they all are in case you’re interested:
Once the stones are in place for a spell the caster adds a single drop of water from a height of one foot.
Each of these nine spells will cause the nearest instance of an Entangled Orb to emit either a red or a green light.
Only three of these spells can be cast on any given instance of an Entangled Orb. The orb instance will disintegrate after emitting its third light.
Now, equipped with this orb, Alice and Barb are ready to play the game. They duplicate an Entangled Orb in the pre game strategy session and each take their copy of the orb.
When Charlie asks Alice for row 1, Alice will cast spells 1, 2, and 3 and create her row with 1 for red and 0 for green.
And then when Charlie asks Barb for column 2, Barb will cast spells 2, 5 and 8 and create her column with 1 for red and 0 for green.
Both copies of the orb disintegrate and nobody ever knows what the other 4 values of the quantum square were.
The three of them then repeat this strategy hundreds of times over the next few weeks. With the rows 1 and 2 and 3 being revealed by spells 1,2,3 and 4,5,6 and 7,8,9 respectively and the columns 1 and 2 and 3 being revealed by spells 1,4,7 and 2,5,8 and 3,6,9 respectively.
This strategy works 100% of the time.
Charlie, being the owner of Wonka Corporation is bewildered and impressed at his own genius, despite doing almost none of the actual work.
Alice and Barb are satisfied that they finally solved the quantum square problem and will get to continue their employment at Wonka Corporation.
Now, at this point you might be suspecting that the two duplicated orbs are communicating to each other instantaneously at a distance via some sort of radio, wormhole, or some purely mysterious magic. They are not.
The magic they use is reasonably well understood and it doesn’t involve faster than light communication, nor any communication at all.
The two instances of the orb carry inside them information that is different to the normal kind of information we are accustomed to.
The orbs do not know what their answer will be before they are asked and they do not need to check with each other at any point after they are separated. Their answer is the result of a quantum computation on an entangled quantum state of four qubits, that computation being provided by the three spells used combined with the original entangled state set up when the orbs are originally divided.
It’s probably impossible to fully grasp the nature of this quantum computation without knowing the specific quantum algebra involved in the algorithm here. In other words, how the spells actually apply to the quantum state mathematically. The higher level point is that it allows Alice and Barb to do overlapping computations that make it look like they are communicating, when they are in fact not communicating at all, at least not after the initial entanglement event.
Is this useful in the real world for anything other than games? Maybe? Plenty of stuff starts out being for games and ends up being super useful beyond games, graphical user interfaces being a great example. Extremely hopeful speculation on my part but maybe the ability for people to do some overlapping computation on the spot without communicating will be the key to resolving some particularly thorny privacy problems.
What is clear though is that this kind of thing seems fundamentally impossible to do with classical computation without active communication. Even if one was to describe in complete detail the quantum states using classical information, the "collapse" step in which spells are cast (i.e. observations made) cannot be guaranteed to be correlated across spacetime without actual real world quantum entanglement.
In any case, hopefully this helped you understand that quantum entanglement is basically indistinguishable from magic, but like, a really weirdly specific kind of magic, and not like the kind that can enable faster than light communication.
If you're interested in any addition materials on the topic (fair warning these are all more technical):
Standard disclaimer that if I got anything technically wrong here or made up a magical crossover world that was deeply upsetting to any fantasy fans that's totally my fault and not anybody else's.