- #36
JesseM
Science Advisor
- 8,520
- 16
What do you mean by this? Are you assuming that the wave sent to Alice has the same angle as the wave sent to Bob, rather than the assumption in your earlier experiment that the two waves were offset by 90 degrees? That's what you really should do if you want to satisfy my condition (1) above and ensure that whenever they choose the same angle, then regardless of what angle they both choose, they'll always get the same result (As you say below, I think it also works if the two waves are offset by 90 degrees and the detector threshold is cos^2(45), but it's a lot easier to understand conceptually if we just assume the waves have the same angle).Hydr0matic said:With this setup, but negated result condition (RR or GG), I get:
The reason this works is that if they both choose some angle theta, and the angle of Alice's wave is phi while the angle of Bob's wave is phi + 90 (in degrees rather than radians, of course), then at Alice's detector we have the intensity reduced by cos^2(theta - phi) and at Bob's we have it reduced by cos^2([theta - phi] - 90), which is just equal to sin^2(theta - phi). Since the relation sin^2(omega) + cos^2(omega) = 1 holds for arbitrary values of omega, it must hold for omega = (theta - phi), so it must be true that if cos^2(theta - phi) is larger than 0.5 then sin^2(theta - phi) is smaller than 0.5, and vice versa...and of course, cos^2(45) is exactly 0.5! The only problematic case would be if theta - phi = 45, but you could solve this by saying that Alice's detector goes off if the wave's intensity coming out of the polarizer is greater than or equal to 0.5 its intensity before hitting the polarizer, while Bob's detector goes off if the wave's intensity coming out of the polarizer is greater than 0.5 its intensity before hitting the polarizer. This would ensure that they always got opposite results on every trial where they picked the same detector angle regardless of the angle of the two waves (which must be offset by 90 degrees).Hydr0matic said:With cut-off cos(20):
-------- 1782/10000 (0.1782) (82.18% opposite)
-------- 100% Non-detections in subset (RR)
-------- 59.42% Total Non-detections (RR)
-------- Angles: A:0° B:120° C:240°
With cut-off cos(40):
-------- 336/10000 (0.0336) (96.64% opposite)
-------- 100% Non-detections in subset (RR)
-------- 29.49% Total Non-detections (RR)
-------- Angles: A:0° B:120° C:240°
With cut-off cos(45):
-------- 0/10000 (0) (100% opposite)
-------- NaN% Non-detections in subset (RR)
-------- 21.73% Total Non-detections (RR)
-------- Angles: A:0° B:120° C:240°
Note that, with cut-off > cos(45) all non-opposites are non-detections (RR). With cut-off < cos(45), all non-opposites turn into all-detections (GG). Apparently, cos(45) is the boundry where condition 1 is satisfied.
However, it really is a lot simpler conceptually to assume both waves have the same angle, and Alice and Bob always get the same result on every trial where they pick the same detector angle. Unless you really prefer the idea of a 90-degree offset between the two waves.
2109 out of 10000 what, exactly?Hydr0matic said:I added a count when you choose "Photon polarization:Same". When Alice!=Bob, subset(RR or GG) and cut-off cos(40), I get:
-------- 2109/10000 (0.2109)
Your notation is still confusing to me, I thought RR meant that they both got a red light, i.e. neither detector went off...wouldn't that mean you have 100% non-detections in this subset? What's the difference between the percentage of "Non-detections" and the percentage of "Total Non-detections"? And why are you looking at subsets based on whether the detector went off, rather than subsets based on what angle was chosen by Alice and Bob? What I was asking for earlier was to look at the results both in the subset of trials where they chose the same angle, and the results in the subset of trials where they chose different angles.Hyrd0matic said:-------- 65.58% Non-detections in subset (RR)
-------- 32.41% Total Non-detections (RR)
What do these numbers represent? What is the significance of the numbers 11, 12, 13, 21, 22, 23, 31, 32, and 33, and the significance of the numbers following each one?Hydr0matic said:-------- Angle distribution: 11:1114, 12:1109, 13:1155, 21:1158, 22:1099, 23:1075, 31:1071, 32:1086, 33:1133,
edit: never mind, it just occurred to me that you are probably using 1,2,3 to represent the three possible angles rather than A,B,C, so you're just counting the number of trials with each possible combination of angles.
OK, by my count you have 68 trials here, with 22 of these being ones where Alice and Bob chose the same setting (which is very close to 1/3 of the trials, so that's about what we should expect if they are choosing randomly). If we remove the trials where they chose the same setting and look only at the subset where they chose different settings, we have:Hydr0matic said:(A:R, B:R, C:G) (Alice:B, Bob:A) Result:(RR)Same Wave:55.33394317417163° <-
(A:R, B:G, C:R) (Alice:B, Bob:C) Result:(GR)Diff Wave:280.53612197198504°
(A:R, B:G, C:R) (Alice:A, Bob:C) Result:(RR)Same Wave:124.36775910448999° <-
(A:R, B:G, C:G) (Alice:B, Bob:C) Result:(GG)Same Wave:82.01282839063036° <-
(A:R, B:R, C:G) (Alice:B, Bob:A) Result:(RR)Same Wave:59.82230096148803° <-
(A:G, B:R, C:G) (Alice:B, Bob:A) Result:(RG)Diff Wave:21.064768816942056°
(A:G, B:R, C:R) (Alice:A, Bob:C) Result:(GR)Diff Wave:196.49632211000963°
(A:G, B:R, C:R) (Alice:C, Bob:A) Result:(RG)Diff Wave:353.717587748989°
(A:G, B:R, C:G) (Alice:C, Bob:B) Result:(GR)Diff Wave:204.43728181745195°
(A:G, B:R, C:G) (Alice:C, Bob:A) Result:(GG)Same Wave:20.983012712514256° <-
(A:G, B:G, C:R) (Alice:B, Bob:C) Result:(GR)Diff Wave:142.37439956338943°
(A:G, B:R, C:R) (Alice:B, Bob:C) Result:(RR)Same Wave:178.29335014198526° <-
(A:R, B:R, C:G) (Alice:C, Bob:B) Result:(GR)Diff Wave:259.7604226951664°
(A:R, B:G, C:R) (Alice:C, Bob:C) Result:(RR)Same Wave:118.22104001867596°
(A:R, B:R, C:G) (Alice:A, Bob:A) Result:(RR)Same Wave:243.49446988242934°
(A:R, B:G, C:R) (Alice:A, Bob:B) Result:(RG)Diff Wave:309.191668357614°
(A:G, B:G, C:R) (Alice:C, Bob:A) Result:(RG)Diff Wave:323.8647271988439°
(A:G, B:R, C:R) (Alice:A, Bob:A) Result:(GG)Same Wave:13.946472427685528°
(A:R, B:R, C:G) (Alice:C, Bob:C) Result:(GG)Same Wave:234.72520468634272°
(A:R, B:G, C:R) (Alice:C, Bob:C) Result:(RR)Same Wave:313.4941304009434°
(A:G, B:R, C:G) (Alice:C, Bob:A) Result:(GG)Same Wave:31.851310639507386° <-
(A:R, B:R, C:G) (Alice:B, Bob:A) Result:(RR)Same Wave:220.09222626242854° <-
(A:R, B:R, C:G) (Alice:B, Bob:A) Result:(RR)Same Wave:246.62362276103187° <-
(A:R, B:G, C:R) (Alice:C, Bob:B) Result:(RG)Diff Wave:105.67569489556982°
(A:G, B:R, C:R) (Alice:C, Bob:C) Result:(RR)Same Wave:344.86506464034517°
(A:R, B:G, C:G) (Alice:A, Bob:A) Result:(RR)Same Wave:93.73491259844621°
(A:G, B:R, C:R) (Alice:B, Bob:B) Result:(RR)Same Wave:17.372161662275264°
(A:G, B:G, C:R) (Alice:C, Bob:B) Result:(RG)Diff Wave:330.9473623306877°
(A:G, B:R, C:G) (Alice:B, Bob:B) Result:(RR)Same Wave:33.38294181576445°
(A:G, B:R, C:R) (Alice:B, Bob:B) Result:(RR)Same Wave:162.2677212635943°
(A:G, B:R, C:R) (Alice:C, Bob:B) Result:(RR)Same Wave:14.23186093208101° <-
(A:R, B:G, C:R) (Alice:C, Bob:C) Result:(RR)Same Wave:126.43868673509705°
(A:R, B:G, C:R) (Alice:B, Bob:A) Result:(GR)Diff Wave:104.45137908158726°
(A:R, B:G, C:R) (Alice:C, Bob:B) Result:(RG)Diff Wave:119.13226576630872°
(A:R, B:R, C:G) (Alice:A, Bob:A) Result:(RR)Same Wave:73.66093682638146°
(A:G, B:R, C:G) (Alice:A, Bob:B) Result:(GR)Diff Wave:203.67598891160878°
(A:R, B:R, C:G) (Alice:C, Bob:A) Result:(GR)Diff Wave:236.18228462020627°
(A:R, B:R, C:G) (Alice:A, Bob:C) Result:(RG)Diff Wave:254.44418076225924°
(A:R, B:G, C:R) (Alice:C, Bob:A) Result:(RR)Same Wave:317.2556548792309° <-
(A:G, B:G, C:R) (Alice:C, Bob:C) Result:(RR)Same Wave:159.75730971236067°
(A:R, B:G, C:R) (Alice:B, Bob:C) Result:(GR)Diff Wave:135.19957046552892°
(A:G, B:R, C:G) (Alice:A, Bob:C) Result:(GG)Same Wave:38.16741779834976° <-
(A:G, B:G, C:R) (Alice:B, Bob:C) Result:(GR)Diff Wave:147.42837822243075°
(A:G, B:R, C:R) (Alice:A, Bob:C) Result:(GR)Diff Wave:197.3206120463011°
(A:G, B:G, C:R) (Alice:A, Bob:C) Result:(GR)Diff Wave:143.86133740366955°
(A:G, B:G, C:R) (Alice:C, Bob:C) Result:(RR)Same Wave:335.5625220953304°
(A:R, B:R, C:G) (Alice:C, Bob:B) Result:(GR)Diff Wave:72.24531042336667°
(A:G, B:R, C:R) (Alice:A, Bob:B) Result:(GR)Diff Wave:174.84695084948635°
(A:R, B:G, C:R) (Alice:B, Bob:B) Result:(GG)Same Wave:313.9653741499807°
(A:R, B:R, C:G) (Alice:B, Bob:B) Result:(RR)Same Wave:225.45468768130047°
(A:G, B:G, C:R) (Alice:A, Bob:A) Result:(GG)Same Wave:153.10440542797002°
(A:R, B:R, C:G) (Alice:B, Bob:A) Result:(RR)Same Wave:79.03564053287022° <-
(A:G, B:G, C:R) (Alice:A, Bob:C) Result:(GR)Diff Wave:332.278541241043°
(A:R, B:R, C:G) (Alice:B, Bob:B) Result:(RR)Same Wave:51.437506275376464°
(A:R, B:G, C:R) (Alice:B, Bob:B) Result:(GG)Same Wave:131.94170120248234°
(A:R, B:R, C:G) (Alice:C, Bob:A) Result:(GR)Diff Wave:249.933870179784°
(A:G, B:R, C:R) (Alice:B, Bob:A) Result:(RG)Diff Wave:170.61355527100176°
(A:G, B:G, C:R) (Alice:A, Bob:C) Result:(GR)Diff Wave:324.4486209365025°
(A:G, B:R, C:R) (Alice:B, Bob:C) Result:(RR)Same Wave:176.41203368780063° <-
(A:G, B:R, C:G) (Alice:C, Bob:B) Result:(GR)Diff Wave:37.198388580297745°
(A:G, B:G, C:R) (Alice:C, Bob:A) Result:(RG)Diff Wave:339.3091989363497°
(A:R, B:R, C:G) (Alice:A, Bob:A) Result:(RR)Same Wave:252.22393108586778°
(A:G, B:R, C:R) (Alice:A, Bob:A) Result:(GG)Same Wave:1.9980738584536928°
(A:G, B:R, C:G) (Alice:B, Bob:B) Result:(RR)Same Wave:22.312254673238424°
(A:R, B:R, C:G) (Alice:A, Bob:A) Result:(RR)Same Wave:67.85310289343913°
(A:R, B:G, C:R) (Alice:A, Bob:B) Result:(RG)Diff Wave:316.95728140409244°
(A:R, B:R, C:G) (Alice:C, Bob:B) Result:(GR)Diff Wave:49.25931829314021°
(A:R, B:G, C:R) (Alice:A, Bob:C) Result:(RR)Same Wave:306.7749934488405° <-
(A:R, B:R, C:G) (Alice:B, Bob:A) Result:(RR)Same Wave:55.33394317417163° <-
(A:R, B:G, C:R) (Alice:B, Bob:C) Result:(GR)Diff Wave:280.53612197198504°
(A:R, B:G, C:R) (Alice:A, Bob:C) Result:(RR)Same Wave:124.36775910448999° <-
(A:R, B:G, C:G) (Alice:B, Bob:C) Result:(GG)Same Wave:82.01282839063036° <-
(A:R, B:R, C:G) (Alice:B, Bob:A) Result:(RR)Same Wave:59.82230096148803° <-
(A:G, B:R, C:G) (Alice:B, Bob:A) Result:(RG)Diff Wave:21.064768816942056°
(A:G, B:R, C:R) (Alice:A, Bob:C) Result:(GR)Diff Wave:196.49632211000963°
(A:G, B:R, C:R) (Alice:C, Bob:A) Result:(RG)Diff Wave:353.717587748989°
(A:G, B:R, C:G) (Alice:C, Bob:B) Result:(GR)Diff Wave:204.43728181745195°
(A:G, B:R, C:G) (Alice:C, Bob:A) Result:(GG)Same Wave:20.983012712514256° <-
(A:G, B:G, C:R) (Alice:B, Bob:C) Result:(GR)Diff Wave:142.37439956338943°
(A:G, B:R, C:R) (Alice:B, Bob:C) Result:(RR)Same Wave:178.29335014198526° <-
(A:R, B:R, C:G) (Alice:C, Bob:B) Result:(GR)Diff Wave:259.7604226951664°
(A:R, B:G, C:R) (Alice:A, Bob:B) Result:(RG)Diff Wave:309.191668357614°
(A:G, B:G, C:R) (Alice:C, Bob:A) Result:(RG)Diff Wave:323.8647271988439°
(A:G, B:R, C:G) (Alice:C, Bob:A) Result:(GG)Same Wave:31.851310639507386° <-
(A:R, B:R, C:G) (Alice:B, Bob:A) Result:(RR)Same Wave:220.09222626242854° <-
(A:R, B:R, C:G) (Alice:B, Bob:A) Result:(RR)Same Wave:246.62362276103187° <-
(A:R, B:G, C:R) (Alice:C, Bob:B) Result:(RG)Diff Wave:105.67569489556982°
(A:G, B:G, C:R) (Alice:C, Bob:B) Result:(RG)Diff Wave:330.9473623306877°
(A:G, B:R, C:R) (Alice:C, Bob:B) Result:(RR)Same Wave:14.23186093208101° <-
(A:R, B:G, C:R) (Alice:B, Bob:A) Result:(GR)Diff Wave:104.45137908158726°
(A:R, B:G, C:R) (Alice:C, Bob:B) Result:(RG)Diff Wave:119.13226576630872°
(A:G, B:R, C:G) (Alice:A, Bob:B) Result:(GR)Diff Wave:203.67598891160878°
(A:R, B:R, C:G) (Alice:C, Bob:A) Result:(GR)Diff Wave:236.18228462020627°
(A:R, B:R, C:G) (Alice:A, Bob:C) Result:(RG)Diff Wave:254.44418076225924°
(A:R, B:G, C:R) (Alice:C, Bob:A) Result:(RR)Same Wave:317.2556548792309° <-
(A:R, B:G, C:R) (Alice:B, Bob:C) Result:(GR)Diff Wave:135.19957046552892°
(A:G, B:R, C:G) (Alice:A, Bob:C) Result:(GG)Same Wave:38.16741779834976° <-
(A:G, B:G, C:R) (Alice:B, Bob:C) Result:(GR)Diff Wave:147.42837822243075°
(A:G, B:R, C:R) (Alice:A, Bob:C) Result:(GR)Diff Wave:197.3206120463011°
(A:G, B:G, C:R) (Alice:A, Bob:C) Result:(GR)Diff Wave:143.86133740366955°
(A:R, B:R, C:G) (Alice:C, Bob:B) Result:(GR)Diff Wave:72.24531042336667°
(A:G, B:R, C:R) (Alice:A, Bob:B) Result:(GR)Diff Wave:174.84695084948635°
(A:R, B:R, C:G) (Alice:B, Bob:A) Result:(RR)Same Wave:79.03564053287022° <-
(A:G, B:G, C:R) (Alice:A, Bob:C) Result:(GR)Diff Wave:332.278541241043°
(A:R, B:R, C:G) (Alice:C, Bob:A) Result:(GR)Diff Wave:249.933870179784°
(A:G, B:R, C:R) (Alice:B, Bob:A) Result:(RG)Diff Wave:170.61355527100176°
(A:G, B:G, C:R) (Alice:A, Bob:C) Result:(GR)Diff Wave:324.4486209365025°
(A:G, B:R, C:R) (Alice:B, Bob:C) Result:(RR)Same Wave:176.41203368780063° <-
(A:G, B:R, C:G) (Alice:C, Bob:B) Result:(GR)Diff Wave:37.198388580297745°
(A:G, B:G, C:R) (Alice:C, Bob:A) Result:(RG)Diff Wave:339.3091989363497°
(A:G, B:R, C:G) (Alice:B, Bob:B) Result:(RR)Same Wave:22.312254673238424°
(A:R, B:G, C:R) (Alice:A, Bob:B) Result:(RG)Diff Wave:316.95728140409244°
(A:R, B:R, C:G) (Alice:C, Bob:B) Result:(GR)Diff Wave:49.25931829314021°
(A:R, B:G, C:R) (Alice:A, Bob:C) Result:(RR)Same Wave:306.7749934488405° <-
Of these 46, there were 16 trials where they got the same result--that's about 0.35 of all the trials in this subset, which is greater than 1/3. Of course you can only be confident about whether or not a given data set is violating a Bell inequality when you look at a much larger number of trials, but from the data you've given so far the indication is that it isn't. So what I would suggest is doing something like the above for a larger run, this time having two counters that ignore trials such as (Alice:A, Bob:A) where they both chose the same setting, and on trials where they didn't choose the same setting the counter for "diff detector settings" is increased by one (so you're counting the total number of trials where Alice and Bob chose different settings), and the counter for "diff detector settings, same result" is increased by one only if the result was "Same" rather than "Diff" (counting the total number of trials where Alice and Bob chose different settings AND got the same result). After a large number of trials you can compare the two counters--if your program is working correctly, you should find that the value of the second counter is 1/3 or more the value of the first counter.
Meanwhile, I would really appreciate it if you would look over my proof of the Bell inequality, and tell me if you can see any reason why it shouldn't apply to your program if it's working correctly.
Last edited: