A Simulation of Some Quantum Non-locality Theory.

* * * * * * * * * * * * * *

Matthew J. Donald

The Cavendish Laboratory, JJ Thomson Avenue, Cambridge CB3 0HE, Great Britain.

e-mail: mjd1014@cam.ac.uk

home page: http://people.bss.phy.cam.ac.uk/~mjd1014

* * * * * * * * * * * * * *

ContentsAre Settings Communicated in Results?The Full ResultsThe AssumptionsHardy’s ChoicesCounterfactualsTextbook Quantum TheoryThe Javascript ProgramBell’s InequalitiesWhat Does Alice See?

Quantum theory tells us that there can be correlations between the results of measurements of spatially-separated systems which are difficult to reconcile with special relativity theory. The purpose of this page is to use a javascript program to demonstrate and allow the exploration of this kind of correlation in the context of measurements of the spins of two spin one-half particles.

If you make a successful measurement of the spin of such a particle in any given direction, then you can only get one of two possible results. Either your measurement will tell you that the spin is in the direction of measurement or it will tell you that the spin is in the opposite direction.

Suppose that a system is set up at a central point which, at pre-arranged times, produces pairs of particles with each pair in a given pair-state spin wavefunction. One particle of each pair travels towards Alice while the other particle moves towards Bob. Alice chooses a measurement direction θA in a particular plane and records rA = + if she measures the spin to be in that direction or rA = − if she measures the spin in the opposite direction. Alice then sends her result to Bob. Meanwhile, Bob has independently chosen a measurement direction θB, recorded his own measurement rB and sent his result to Alice. After a succession of such pairs, each produced in the same pair-state wavefunction, the two experimenters each have, and can share, a list of results of the form (θA, rA; θB, rB).

Our fundamental interest here is in how information flows in this situation, and in whether the predicted and observed consequences of quantum theory are compatible with our intuitions about this flow, as might, for example, be expressed in the following animation:

The first information flow here is in the movement of the particles from the central point to Alice and to Bob. The seond flow is in the records of the results moving between Alice and Bob and into their common listings. Notice that the particle which moves to Alice’s laboratory can certainly carry information about the initial quantum state of the particle pair, but that it could also carry information about the initial state of the particle pair which goes beyond the description given by the quantum state. For example, it could carry a label identifying the exact time at which the particle pair separated. One aim of our investigation is to understand whether we can imagine any such labels which could explain the observed quantum correlations. It seems intuitively obvious that there is no way that the particle travelling to Bob’s lab can carry information about how Alice intends to measure her particle when it reaches her. After all, as is indicated by the dial movement in the animation, she could decide on her setting after the particles have separated. Indeed, it is possible to imagine that both particles and records are moving at the speed of light, in which case, according to special relativity theory, there would be no conceivable way in which information could be carried from the space-time point of Alice’s decision to the space-time point of Bob’s measurement. In other words, there is no way in which a choice of measurement direction by Alice can affect the result of the measurement which has been chosen by Bob. It also needs to be stressed that complete records do not exist until they have been collected together.

It is sufficient for the degree of generality we wish to investigate here, to specify the spin wavefunction for the pair using just one parameter p, with ½ ≤ p ≤ 1.

Experiment indicates that, given the parameter p and the directions θA and θB, the successive results (rA, rB) are independent and identically distributed. This means that it is sufficient in the investigation of the probabilities of the values (rA, rB) to combine the results of any sequence of n measurements and merely to record the results either in the form (p, θA, θB, n, n++, n+−, n−+, n−−) or in the form (p, θA, θB, n, f++, f+−, f−+, f−−).

Here n++ is the number of times, out of n, that a pair is measured and A and B both record +, n+− the number of times that A records + and B −, n−+ the number of times that A records − and B +, and n−− the number of times that A and B both record −.

The f's are the frequencies of the various results, so that

f++ = n++/n, f+− = n+−/n, f−+ = n−+/n, and f−− = n−−/n.

Define nA+ = n++ + n+−, nA = n−+ + n−−, nB+ = n++ + n−+, nB = n+− + n−− and

fA+ = nA+/n, fA = nA/n, fB+ = nB+/n, fB = nB/n.

Then nA+ is the number of times out of n that A records +, nA is the number of times that A records −, nB+ is the number of times that B records +, and nB is the number of times that B records −. fA+, fA, fB+, and fB are the corresponding frequencies.

Note that f++ + f+− + f−+ + f−− = fA+ + fA = fB+ + fB = 1.

It is somewhat simpler to use frequencies as, for large n, these should approximate the corresponding quantum probabilities. We shall use the notation pr± ±, prA±, and prB± for these various limit-of-frequency probabilities. The javascript program driving this webpage is a genuine simulation. If it is working correctly then, after a run of 10,000 measurement-simulations, the frequencies produced are very likely to be within 0.015 of the theoretical quantum probabilities.

Note that, where necessary, the n's, f's, and pr's are to be considered as functions of p, θA, and θB.

Are Settings Communicated in Results?

We have seen that by the time an experiment is concluded, Alice knows Bob’s measurement direction and his result. She can also be assumed to know p. The first questions to be investigated, however, are whether it would be possible for Alice to learn the value of p, just by looking at the results of her measurements, and whether it is possible for her to learn the value of θB, just by looking at the results of her measurements.

We can investigate these questions by making various choices of θA and looking at how the frequency fA+ at which Alice sees the plus result depends on p or on θB. This can be done by playing with the following sliders. Of course, the same questions arise for Bob and can be investigated in the same way.

Set measurement direction for Alice using this slider: θA = 0

Set p using this slider:
p = 0.5

Set measurement direction for Bob using this slider: θB = 0


number of measurements with the current settings: 0


number of measurements with the current settings: 0

Some Answers.

Set θA to 0. Then, regardless of Bob’s choice of θB, fA+ will eventually approach p. This means that Alice can learn the value of p just by looking at her results. Hence anyone controlling the p-slider can use it to send messages to Alice. These messages travel no faster than the speed of the measured particles. This is entirely consistent with special relativity theory.

If θA = 180 then, regardless of Bob’s choice of θB, fA+ will eventually approach 1−p. On the other hand, if θA = 90 then fA+ will approach ½ independent of p. In this case, the variance of fA+ is maximal and so the approximation to the long-term value is likely to be least accurate. The same is true when p = ½, when, independent of the choices of θA and θB, both fA+ and fB+ approach ½.

Now fix p and choose any value for θA. The value approached by fA+ in a long runs of tests will be stubbornly independent of θB. Thus it appears that moving his slider does not enable Bob to signal to Alice through her results. This is just as well as, as explained in the initial animation, it would enable him to send signals to Alice faster than would be allowed by the speed of light. This would violate special relativity.

The most obvious correlations between Alice and Bob’s results arise when Alice and Bob arrange always to choose the same directions. Setting the individual sliders to make this happen is tedious, so use the following radio buttons to cause them to move together or independently.

choose directions independently
make equal choices

When Alice and Bob make equal choices, they can discover that the pair-state wavefunction of the particles is symmetric. When p = ½, they will see this by finding that whatever result Alice records for some direction, Bob will necessarily record the same result. In other words, there is perfect correlation between the results in such a case. For any p, there is also perfect correlation if θA = θB = 0 or if θA = θB = 180. In all these cases we have pr+ − = pr− + = 0. Otherwise θA = θB merely implies that pr+ − = pr− +, or equivalently that prA+ = prB+. Now the correlation is probabilistic rather than absolute, so that although in the long term Alice and Bob’s frequencies will agree, they won’t necessarily record the same result every individual experiment. This effect is strongest for values close to p = 1 and θA = θB = 90, 270.

The Full Results.

At the end of each experimental run, Alice and Bob can construct a table recording the frequencies with which the various possible joint results have been observed. Such a table is presented below. Alice and Bob’s recent results for the current settings are given at the top of the table. “Never” indicates that the frequency with which a particular result has been seen is zero, and “always” that that frequency is one. The radio buttons above for making independent or equal choices of directions will also affect the sliders here. The perfect correlations mentioned above, when pr+ − = pr− + = 0, will produce two “nevers” in the corresponding rows of the table.

Set measurement direction for Alice using this slider: θA = 0

Set p using this slider:
p = 0.5

Set measurement direction for Bob using this slider: θB = 0



p θA θB n fA+ fB+ f++ f+− f−+ f−−

We would like to be able to explain these results in a way which is compatible with the two fundamental assumptions introduced above:

Assumption One: Given the parameter p and the directions θA and θB, the successive results (rA, rB) are independent and identically distributed.

Assumption Two: There is no way that a choice of measurement direction by Alice can affect the result of the measurement which has been chosen by Bob.

There are certainly two ways of explaining the results if we ignore assumption two. One is by textbook quantum theory and the other is by the javascript program which is driving this web page.

Suppose we could explain the results in a way compatible with both assumptions. Then our explanation might be taken to amount to:

Assumption Three: The results of any actual experiment are decided as soon as the particles separate.

Hidden in the word “actual” in this assumption are issues about what happens if there are probabilistic processes going on in each individual particle during their separation. As long as, in accordance with assumption two, these processes are not affected by the chosen measurement on the other particle, we can deal with these issues by imagining that, in each actual case, random events with the necessary probability distributions will occur at the moment of separation (“the dice are thrown”) after which the outcome of these process has been determined. This places restrictions on the probability distributions pr± ± for the observed results. These are discussed briefly in the section here on Bell’s inequalities and at much greater length elsewhere, including in Bell 1987, in Maudlin 2002, and in Redhead 1987. However, at least for the moment, these details can be left to one side.

One way of satisfying assumptions one to three is to assume that the particles in each pair carry instruction listings consisting of a function rA(θ) for the A-particle and rB(θ) for the B-particle. These functions will have values in the set {+, −}, and the idea is that if Alice chooses the measurement direction θA and Bob the direction θB, she will obtain result rAA) while he will obtain rBB). rA and rB are functions of the possible angles which Alice and Bob can choose for their measurement directions. In general, any angle in [0, 360] will be possible, but more restricted sets will also be of interest. The instructions with the A-particle and the instructions with the B-particle may be correlated; in other words, when an experimenter prepares an actual pair of particles, that preparation will be a “common cause” of the instructions given to the particles and so the instructions might include the correlation noted above, that if p = ½ then, for all θ, rA(θ) = rB(θ). However, no A-instruction can be dependent on any choice which Bob could make after the particles have separated. It is not assumed that every A-particle or every B-particle has the same instructions, but rather that there is some probability distribution on a set of possible instruction pairs for the particle pairs.

Example One: If we assume that θA and θB are kept fixed for all time, then the functions rA and rB collapse down, for each particle, to single values (either + or −) and we can explain the experimental results for these fixed angles, by assuming that these value-pairs are distributed at the time of separation with the probabilities pr± ± which are the asymptotic limits of the corresponding f± ±. The javascript program does something rather similar, but ignoring assumption two and taking the actual values of θA and θB into account in the generation of each pair of outcomes.

Example Two: If we set p = 1, then it turns out that, for all θA and θB, Alice’s results are independent of Bob’s results. In other words, pr++ = prA+ prB+. This is equivalent to each of the three equations pr+− = prA+ prB, pr+− = prA+ prB, and pr−− = prA prB. If we make explicit the dependence on the parameters (θA, θB), and note that the outcome of our initial investigation tells us that prA+ is independent of θB and that prB+ is independent of θA, we would write the equation pr++ = prA+ prB+ in the form pr++A, θB) = prA+A) prB+B). Then, for p = 1, we can explain the results for every θA and θB by assuming that rA is a family of random variables indexed by θA such that Prob(rAA) = +) = prA+A) while Prob(rBB) = +) = prB+B).

If there was some such explanation uniform across all the possible values of (p, θA, θB) then we would have a local model of this part of quantum theory as a probabilistic theory compatible with special relativity theory. Unfortunately, as we shall see in the next investigation, this is not possible.

Hardy’s Choices.

Lucien Hardy (1998, 1993, 1992) has provided a particularly clear illustration of the problem of correlations in quantum mechanics. For each p between ½ and 1, Alice and Bob are each given the choice of just two possible (p-dependent) measurement directions which we shall denote by ζA and ηA for Alice and by ζB and ηB for Bob. For example, when p = 0.5 + sqrt{5}/6 = 0.873 we will have ζA = 26.57, ηA = 116.57, ζB = 333.43, and ηB = 243.43. This is a special case in which the asymptotic probabilities are rational numbers (Mermin 2007, Appendix D). Another special case is p = 0.5 + sqrt{6{sqrt{5}-13}/2 = 0.823 when we will have ζA = 35.11, ηA = 111.46, ζB = 324.89, and ηB = 248.54. This p value gives the maximum value of pr−−(ζA, ζB) which is 0.09. Allowing for minor changes in the form of the initial wavefunction, and noting that 111.46 = 180 - 68.54, both this p and these angles are in line with calculations by Hardy (1993).

Our instruction functions rAA) and rBB) are now functions of only two angles. Assigning a colour as above to each angle the four possible A-instructions can be written as ( + + )A, ( + )A, ( + )A, ( )A. The possible B-instructions can be written similarly, and there are sixteen possible instruction pairs, such as ( + )A ( + )B. For ease of reading, this pairing will be written as ( + A + B).

Set measurement direction for Alice:

ζA = 26.57

ηA = 116.57

Set parameters using this slider:
p = 0.873

Set a pair of directions:

26.57, 333.43
26.57, 243.43
116.57, 333.43
116.57, 243.43

Set measurement direction for Bob:

ζB = 333.43

ηB = 243.43



p θA θB n fA+ fB+ f++ f+− f−+ f−−
0.873 26.57 333.43 0
0.873 26.57 243.43 0
0.873 116.57 333.43 0
0.873 116.57 243.43 0

What instruction pairs can give rise to these results?

As already mentioned, we start with sixteen possibilities. However, after running “all four settings 10000 times”, there are (or, at least for p not ½ or 1 there should be) exactly three “nevers” in the above table and this rules out several of them.

The never in the second row of the table indicates that pr−−(ζA, ηB) = 0 and this rules out four possibilities of the form ( ± A ± B).

From the third row, pr−−(ηA, ζB) = 0 and this rules out three more of the form ( ± A ± B).

From the fourth row, pr++(ηA, ηB) = 0 and this rules out four of the form ( ± + A ± + B).

The only instruction pairs which are left in the set of those which can have positive probability are
( + + A + B), ( + + A B), ( + A + + B), ( + A + B), ( A + + B).

This is a contradiction as we can see from the first row of the table that pr−−(ζA, ζB) > 0 and this means that there needs to be at least one instruction pair of the form ( ± A ± B) which has positive probability.

It follows that it is not possible to set up a system of instruction pairs even just to explain the results of measurements for the sets of values of (p, θA, θB) considered by Hardy, let alone for any larger set.


It is fundamental to human existence to think about what might have happened:

Would I have tripped on the stairs if I had turned the light on?

Well maybe next time I should be more careful.

Physics can be expressed as a theory of counterfactuals to just the same extent as it can be expressed as a theory of prediction: If this had been the state of the world, then this would have be what would have been likely to happen and this is how likely it would have been. If we had changed the state, then we would have changed the outcome, or at least the outcome probabilities. Setting our face against fatalism by learning from our mistakes is a significant driver of science.

Hardy’s analysis can also be discussed in terms either of predictions or of counterfactuals. If Alice chooses ζA and Bob chooses ηB then, after a long run of tests, we see that rA = − and rB = − never happen at the same time and so we can predict that if we were to run the same test again, we would still not see that outcome. But we could also claim that, if the same choices had been made on one additional occasion, and if Bob’s result had been − then Alice’s result would have had to be +. The same holds if Alice chooses ηA and Bob chooses ζB. Finally, if Alice chooses ηA and Bob chooses ηB then the outcome (rA, rB) = (+ +) is ruled out.

Now adopt assumption two and consider a single particle-pair with Alice choosing ζA and Bob choosing ζB. Suppose that Alice gets the result rA = −.

Suppose that counterfactuals make sense for this particle-pair so that we can ask whether there is anything interesting to be said about what would have happened if the directions chosen had been different.

According to assumption two, Alice’s result is unaffected by Bob’s choice. This means that Alice would still have got the result rA = −, even if Bob had chosen ηB. But, in that case, with ζA, ηB and rA = −, Bob would have had to get the result rB = +.

And he would still have got that result even Alice had chosen ηA (to follow this argument, see the table below). But, in that case, with ηA, ηB and rB = +, she would have had to get the result rA = −. And she would still have got the result rA = −, even if Bob had chosen ζB. But, in that case, with ηA, ζB and rA = −, Bob would have had to get the result rB = +. And then we know that Bob must have got the result +, as he has in fact chosen ζB and we know that his result is independent of whether Alice chooses ζA or ηA.

Once again we have ruled out the possibility, which quantum theory tells us can actually happen, that (θA, rAB, rB) = (ζA, −, ζB, −). As well as summarizing the argument, the following table draws attention to the fact that, in its course, we consider three counterfactual situations.

θA θB rA rB argument
ζA ζB premise
ζA ηB rA independent of Bob’s choice
ζA ηB + never
ηA ηB + rB independent of Alice’s choice
ηA ηB + never + +
ηA ζB rA independent of Bob’s choice
ηA ζB + never
ζA ζB + rB independent of Alice’s choice
ζA ζB + premise
ζA ζB + conclusion and contradiction: never − −

This is essentially another version of the previous argument, with instruction functions being interpreted as telling us what would have happened had different angles been chosen. A not uncommon response to these problems (e.g. Mermin 2007, Appendix D) is simply to suggest that, by definition, counterfactuals refer to what does not happen, and so their analysis is irrelevant. This is a mistake, however, because what can be said about counterfactuals can be said to just the same extent about predictions. If we can’t say what might have happened, how can we say what might be going to happen? In other words, how are the actual results caused, if there is no way in which the results for differing measurements directions can be predicted when the particles separate, and yet Alice and Bob are free to choose those directions after that time?

Textbook Quantum Theory.

According to the textbooks, a pair of spin-half particles has a spin state described by a four-component wavefunction of the form a++|++> + a+−|+−> + a−+|−+> + a−−|−−> where the a's are complex numbers satisfying |a++|2 + |a+−|2 + |a−+|2 + |a−−|2 = 1.

When Alice and Bob both set their measurement direction to 0, the probability of them both finding their spins to be in that direction and thus of them both getting the + result is

pr(rA = + & rB = +) = |a++|2.

Similarly, pr(rA = + & rB = −) = |a+−|2, pr(rA = − & rB = +) = |a−+|2, and pr(rA = − & rB = −) = |a−−|2.

A change in θA corresponds to a rotation of the direction in which Alice makes her measurement. This can be expressed by a coordinate change for the wavefunction calculated by applying a 4 × 4 unitary matrix to the a-coefficients. The result is to change (a++, a+−, a−+, a−−) to

(a++ cos θA/2 + a−+ sin θA/2, a+− cos θA/2 + a−− sin θA/2, -a++ sin θA/2 + a−+ cos θA/2, -a+− sin θA/2 + a−− cos θA/2).

A change in θB has a similar effect. Following these rotations, the four equations above are replaced by equations of the form

pr(rA = ± & rB = ±|θA, θB) = |a±±A, θB)|2.

It is through this joint functional dependence of measurement result probabilities that quantum theory violates assumptions two and three. However,

pr(rA = +|θA, θB) = pr(rA = + & rB = +|θA, θB) + pr(rA = + & rB = −|θA, θB) = |a++A, θB)|2 + |a+−A, θB)|2

is independent of θB and similarly pr(rB = +|θA, θB) = |a++A, θB)|2 + |a−+A, θB)|2 is independent of θA.

It is because of this independence that Alice cannot detect Bob’s measurement settings from her results. The independence can be proved, either by explicit calculation, or by using the fact that the quantum operators which define the rotations and the measurement projections can be considered to act locally on the wavefunction in the sense, for example, that Alice’s measurement operator commutes with Bob’s rotation operator.

In the process considered above, the first stage is the choice of the parameter p. This makes a choice of the values for the a-coeffients in the standard coordinates, by taking the spin wavefunction to be

sqrt{p} |++> + sqrt{1 − p} |−−>.

This choice makes p a measure of the entanglement between the two spins, with p = ½ corresponding to maximal entanglement and p = 1 corresponding to no entanglement. Given this choice, the a-coefficients in the coordinates determined by Alice and Bob’s angle choices (dependent on p as well as on the angles), will always remain real under the single-axis rotations we consider here.

This button will , the squared amplitudes (the |a± ±(p, θA, θB)|2), and the quantum probabilities prA+A) = pr(rA = +|θA, θB) and prB+B) = pr(rB = +|θA, θB) at each of the processes considered above. In the tables, the frequencies f± ± should tend, for large n, to these squared amplitudes (so that pr± ± = |a±±|2) while fA+ tends to prA+ and fB+ to prB+. Note the strange but well-known property of spin-half particles that a rotation by 360 degrees on either particle will have the effect of changing the sign of the wavefunction. In order to demonstrate Hardy’s argument, the wavefunctions considered here are all symmetric. Experimental tests of quantum non-locality on identical spin-half particles usually use anti-symmetric spin wavefunctions and Bell’s inequalities rather than Hardy’s theory. This would restrict us to p = ½, but otherwise the changes to the mathematics are minor. Discussions in the literature often involve photon polarization states with the result that angles are halved relative to the angles used here. Non-locality seems to be a ubiquitous problem in quantum theory, and not just in the systems where we can measure it.

The Javascript Program.

This webpage runs this computer program on your browser. This simulates events with the squared amplitude quantum probabilities discussed above. At each simulated experiment, your browser takes a random number Rndm produced by your computer which is supposed to be uniformly distributed on the interval [0, 1]. The program divides the interval [0, 1] into four disjoint subintervals with lengths |a± ±(p, θA, θB)|2 and returns results for Alice and Bob according to which subinterval Rndm happens to be in. Although, at least with the minor changes required to replace symmetric with anti-symmetric wavefunctions and with the restriction to p = ½, this is an accurate simulation of the predicted and observed results of genuine experiments, it does not seem to be a particularly accurate model of the animation at the top of this webpage. Rather, what it seems to be modelling is this:

The information flow suggested here, starts with the setting of the measurement directions by Alice and Bob. Then, before the particles separate, the directions are communicated to them, and the outcomes of the pre-determined measurements are decided and then shared out to the places where the measurements are supposed to occur. If this is at all realistic as a model of reality, then our understanding of causality, of spacetime geometry, and even of the direction of time are seriously flawed.

Bell’s Inequalities.

For each value of p, Hardy’s directions are specially chosen to produce the three “nevers” in the corresponding table of results. These special choices are sufficient in themselves to show that quantum theory is not compatible with assumptions one, two, and three. Such incompatibility problems, however, are much more widespread. Indeed, if we restrict ourselves to the measurements considered above, for any p ≠ 1, there are open intervals of four angles, a pair for Alice and a pair for Bob, as in the Hardy scenario, such that, in each case, the quantum probabilities violate an inequality (a Bell inequality) which must hold for probabilities compatible with the assumptions.

To express this compatibility formally, we may suppose that there is a set Ω of possible particle-pairs together with the information attached to them, that there is a probability distribution q on Ω, and that each actual experiment corresponds to some ω ∈ Ω. Then suppose that, given ω, the results rAA) and rBB) for measurement directions θA and θB have probabilities pr(rAA)|ω) and pr(rBB)|ω) and that any possible correlation between Alice’s result and Bob’s is determined only by the “common cause” ω of the initial particle-pair and its information and not is affected by any later decision. It follows that

pr(rAA) & rBB)|ω) = pr(rAA)|ω) pr(rBB)|ω).

In other words, it follows that, given ω (the “actual” particle-pair), the results of Alice’s measurements are independent of the results of Bob’s measurements.

Quantum theory does not give Alice and Bob any way to know about ω, so it is often referred to as a “hidden variable”. What they can measure is the long-term relative frequencies prA±A), prB±B), and pr± ±A, θB). If the analysis just given is correct, then we should have a set of identities such as

pr+ +A, θB) = ∫ pr(rAA) = + & rBB) = +|ω) q(ω) dω.

These identities together with the previous equation give rise to various inequalities (Bell’s inequalities and their generalizations). These inequalities do not in fact always hold. They fail both for the theoretical quantum probabilities, and for certain empirically measured relative frequencies. This failure is the most powerful way of analysing the non-locality of quantum theory. We shall not go into the derivation of Bell’s inequalities here. Instead, we shall use the scenarios developed above to show how often they fail, and and we shall also give an analysis of a situation in which a local hidden variable theory is possible.

The most widely used version of Bell’s inequality was developed by Clauser, Horne, Shimony, and Holt 1969. They showed, that if Alice and Bob each choose two angles (ζA, ηA, ζB, ηB), then the quantity

SCHSHA, ηA, ζB, ηB) = C(ζA, ζB) + C(ηA, ζB) + C(ζA, ηB) - C(ηA, ηB)

where C(θA, θB) = pr+ +A, θB) - pr+ −A, θB) - pr− +A, θB) + pr− −A, θB)

will always satisfy the inequality |SCHSH| ≤ 2 if Bell’s common cause assumption holds. However, if we use the quantum probabilities pr± ±A, θB) then we can only show that |SCHSH| ≤ 2 √ 2 = 2.828.

SCHSH may appear quite complicated, but in fact it is not difficult to calculate explicitly in the present case. Indeed, noting the dependence on the parameter p, the function C(θA, θB, p) is given by

C(θA, θB, p) = cos θA cos θB + 2 (p(1-p))1/2 sin θA sin θB.

In making our calculation, we shall actually replace SCHSH by its maximum over interchanges between ζA and ηA and between ζB and ηB as this gives a better indication of the impossibility of a theory compatible with assumptions one, two, and three.

We can also use the program driving this webpage to simulate SCHSH using the frequencies f± ±A, θB) in place of the limiting probabilities. We shall use the notation FCHSHA, ηA, ζB, ηB, p, n) for this simulation. Here n denotes the number of times the experiment has been simulated with each of these angle-pairs, and so we expect that as n → ∞, this will converge to SCHSH. Note that frequencies are not subject to the same constraints as their limits. FCHSH has a maximum of 4 and because of the maximisation involved in its calculation, it may often be above SCHSH.

For each value of p < 1, Gisin 1991 proved that there are choices of angles for which the Bell inequality |SCHSH| ≤ 2 is violated. A slider below allows Gisin’s angles to be chosen for each value of p. The inequality violation is maximal for these angles, and for p = ½, SCHSH reaches its absolute maximum of 2 √ 2. We start with these settings. For each p < 1, there are four distinct one-dimensional paths in the four-dimensional angle space on which the maximal Gisin value for |SCHSH| is attained. For each setting of p, except p = 1 where the path degenerates, another slider allows one of these paths to be traced. |SCHSH| is continuous, and so Bell’s inequality is violated throughout a neighbourhood of this path. For ½ < p < 1, the inequality is also violated with Hardy’s choice of settings. Example two above shows that Bell’s inequality must be obeyed for p = 1 while example three below will show that it must be obeyed for all p if we chose ηA = ζA. All this can be investigated by playing with the settings below.

Set measurement directions for Alice using these sliders:
ζA = 0

ηA = 90

Set p using this slider:
p = 0.5

Set p and Gisin angles.

Set p and Hardy angles.

Trace a maximal path.

Set measurement directions for Bob using these sliders:
ζB = 45

ηB = 315



Example Three: Suppose that Alice’s direction θA is fixed and public and that she is not allowed to make any other choice. Bob however is still free to choose any measurement direction. In this circumstance, it turns out that Bell’s inequalities are satisfied and that it is possible to construct a theory compatible with assumptions one, two, and three and with our initial animation.

The quantum probabilities are given as above in the form a± ±A, θB)2. As the a's are real, we do not need to take absolute values. Write

x0B) = a++A, θB)2, noting that the dependence on θA is not significant because θA is assumed to be both fixed and known at the moment when the particles separate,

x1 = a++A, θB)2 + a+−A, θB)2 = prA+, noting that, as discussed above, this sum does not depend on θB,

x2B) = a++A, θB)2 + a+−A, θB)2 + a−+A, θB)2.

Finally, note that a+ +A, θB)2 + a+−A, θB)2 + a−+A, θB)2 + a−−A, θB)2 = 1.

Now we can set Ω = [0, 1] with q being the uniform distribution. Given ω ∈ Ω we can define local probabilities as follows:

pr(rA = +|ω) = 1 if and only if ω ∈ [0, x1],

pr(rA = −|ω) = 1 if and only if ω ∈ [x1, 1],

pr(rBB) = +|ω) = 1 if and only if ω ∈ [0, x0B)] ∪ [x1, x2B)],

pr(rBB) = −|ω) = 1 if and only if ω ∈ [x0B), x1] ∪ [x2B), 1].

We can now define pr(rA & rBB)|ω) = pr(rA|ω) pr(rBB)|ω) and then, for example,

pr(rA = + & rBB) = +|ω) = 1 if and only if ω ∈ [0, x1] = x0B).

This, and similar equations, shows that this provides a local theory in which, for each θB, the probabilities

pr± ±A, θB) = ∫ pr(rAA) & rBB)|ω) dω

agree with the quantum probabilities.

The intuition now is that each actual pair of particles carries a triple consisting of (p, θA, ω). Each particle will then have sufficient information to decide its response to the measuring device that it meets, as the A-particle will be able calculate x1, and the B-particle will be able to calculate both x1 and x0B).

This example may be useful as a demonstration of what might be meant by a local theory, but it depends on restricting the possible measurements available to Alice, and the premise that θA could somehow be available to the B-particle remains absurd.

What Does Alice See?

As our final topic, we shall take the point of view of an individual observer, and very briefly consider where this might lead us.

At the beginning of each experiment, Alice sets or learns the value of p:
p = 0.875

Alice can then work out that, in the initial choice of coordinates, the particle-pair spin wavefunction is

The particles are now released and Alice sets her measurement direction: θA = 0

At this point, Alice would like to work out the particle-pair wavefunction with respect to the new angle coordinates. However, this is impossible as she does not yet know what direction Bob might choose, or might have chosen, for his measurement. She is limited instead to knowledge of the effective spin-state (or “density matrix”) of her own rapidly-approaching particle. This is

As she is going to measure the spin along her chosen direction, the relevant part of this for Alice's present purposes is the coefficient of |+><+|. This equals prA+ and is the probability of her getting the result +. The coefficient of |−><−| is of course prA = 1 - prA+. The other coefficients enable her to calculate outcome probabilities for measurements which she might have made in other directions.

Her result, simulated with the correct probability, is ?

It seems intuitively clear that this result cannot be affected by a direction that Bob has not yet chosen, or which he might have chosen but not yet set on his measuring device. Indeed, this seems clear not only if these events lie in the future of Alice’s measurement, but even if they are merely spacelike separated from Alice’s measurement. If Alice and Bob are sufficiently far apart, there may be no answer to the question “which measurement came first?” and so there may be no way that a causal history can even be drawn, let alone investigated. And yet if we believe that Alice’s result is unaffected by Bob’s choice of direction and that Bob’s result is unaffected by Alice’s choice of direction, then we run smack into the contradiction with quantum probabilities which we have already discussed.

Now suppose that Alice learns what Bob’s measurement direction is going to be, before she learns the result of his measurement.

Bob’s measurement direction is going to be: θB = ?

Alice can now use textbook quantum mechanics to calculate the probability pr(rB = +|rA) with which she expects to see Bob tell her that the result of his measurement is +:

So far, this is entirely uncontroversial. Quite what it means, however, is not so clear. It might be that Bob has already made his measurement in the sense that his measurement lies in Alice’s past, but that Alice has yet find out what it is. In that case, it would be natural to interpret pr(rB = +|rA) as the credence, or degree of belief, that Alice should assign to one of the possible outcomes of an unrevealed event, as if she was betting on a number on a scratch card. On the other hand, if Bob’s measurement lies in Alice’s future, we might interpret pr(rB = +|rA) as the propensity for an outcome of a pending quantum event. However, at spacelike separation, the meaning would seem, somewhat absurdly, to be coordinate dependent.

I cannot myself see any way of avoiding this absurdity and the other problems of quantum non-locality, except by arguing that, for Alice, pr(rB = +|rA) is always a propensity for an outcome of a pending quantum event until she actually learns r_B. That however means that, for Alice, Bob’s result happens not when he learns it, but when she learns it. And similarly, of course, for Bob, Alice’s result happens not when she learns it, but when he learns it. This produces a many-minds interpretation. According to the simplest version of that scenario, there will be two Alices after her measurement, one seeing +A and the other seeing −A, and there will be four after the first two learn Bob’s result, seeing +A+B, +AB, −A+B, and −AB. In this scenario, it is true that the result rA that any Alice herself sees is independent of Bob’s choice, but the result rA that a Bob sees Alice seeing does depend on his choice. The fact that there are no instruction pairs then indicates that the space of posssibilities for quantum theory, on which the fundamental propensities are to be defined, should be a space of possible observers rather than a space of possible physical events.


I am grateful to Yael Loewenstein for making me realise that I needed to try and clarify my explanations of this subject. I am also grateful to the people responsible for WW3 schools from where I have learnt much of the Javascript used here.

References and Further Reading.

Bell, J.S. (1987) Speakable and Unspeakable in Quantum Mechanics. (Cambridge)

Clauser, J.F., Horne, M.A., Shimony, A., and Holt, R.A. (1969) “Proposed experiment to test local hidden-variable theories.” Phys. Rev. Lett. 23, 880–884. DOI:10.1103/PhysRevLett.23.880

Gisin (1991) “Bell’s inequality holds for all non-product states.” Phys. Lett. A 154, 201–202. DOI:10.1016/0375-9601(91)90805-I

Hardy, L. (1998) “Spooky action at a distance in quantum mechanics.” Contemp. Physics 39, 419–429. DOI:10.1080/001075198181757

Hardy, L. (1993) “Nonlocality for two particles without inequalities for almost all entangled states.” Phys. Rev. Lett. 71, 1665–1668. DOI:10.1103/PhysRevLett.71.1665

Hardy, L. (1992) “Quantum mechanics, local realistic theories, and Lorentz-invariant realistic theories.” Phys. Rev. Lett. 68, 2981–2984. DOI:10.1103/PhysRevLett.68.2981

Maudlin, T. (2002) Quantum Non-Locality and Relativity. (Blackwell)

Mermin, N.D. (2007) Quantum Computer Science. (Cambridge)

Redhead, M. (1987) Incompleteness, Nonlocality, and Realism. (Oxford)

October 2019