• Create Account

# Bell's theorem: simulating spooky action at distance of Quantum Mechanics

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

43 replies to this topic

### #1humbleteleskop  Members   -  Reputation: 19

Like
-3Likes
Like

Posted 11 June 2014 - 09:47 PM

Malus's law simulation and spooky action at distance

L1= (rand()%100 < ((cos(P1) * cos(P1)) * 100)) ? 1:0
L2= (rand()%100 < ((cos(P2) * cos(P2)) * 100)) ? 1:0

Using Malus's law calculate probability of photon L1 passing through polarizer P1, and L2 through P2. If random number between 0 and 100 is less than photon's probability percentage the photon goes through (= 1), otherwise it gets blocked (= 0).

if (L1 == L2) MATCH++ else MISMATCH++
RESULT= (MATCH - MISMATCH)/(N_MEASURE/100))

If both L1 and L2 passed through (1 = 1) or both got stopped (0 = 0) increase matching pairs counter, otherwise increase opposite pairs counter. That's all, just like in the experiment. Here is roughly what's happening with 100 photon pairs sequences:

P1= -25 -> Malus's law -> 82% ~ 82 out of 100
P2= 25 -> Malus's law -> 82% ~ 82 out of 100

0111110011 1111111011 1111100111 1111111111 1111111110 1101111011 0111101110 1111111111 1111111111 1111101111
1111111111 1110111011 1111001111 1111111101 0111111101 0011011111 1011111011 1111110001 1110001111 1101110111

match= 71
mismatch= 29
num_data= 100
Result: (71-29)/(100/100) = 42%

QM prediction: cos^2(50) * 100 = 41.32%

Ooops, this was supposed to be impossible. So Quantum Mechanics is just misunderstood classical physics. Awwww.

### #2Álvaro  Crossbones+   -  Reputation: 18609

Like
0Likes
Like

Posted 11 June 2014 - 09:51 PM

This is a forum for game developers. There are better places on the net to bother physicists with your theories.

### #3humbleteleskop  Members   -  Reputation: 19

Like
0Likes
Like

Posted 11 June 2014 - 10:03 PM

This is a forum for game developers. There are better places on the net to bother physicists with your theories.

I tried physics forums, they don't understand it, plus they do not want to believe it. They do not see Malus's law in those first two lines of code, they think I "programmed" the result. Then I tell them it works for any setup with whatever polarizers, light beams, photons and photon pairs, and that they only need to try it out and see for themselves. Then they get mad and I get banned.

In any case, can you suggest some of those better places, hopefuly where people would understand the code at least that much so they don't accuse me of "cheating"?

Edited by humbleteleskop, 11 June 2014 - 10:05 PM.

### #4Hodgman  Moderators   -  Reputation: 47680

Like
5Likes
Like

Posted 11 June 2014 - 10:08 PM

Ignoring how you've come to set up your code above, the "game" that the code represents is:

Pick a number from 0 to 99. Is the number less than 82?

Repeat.

How often does the answer to that question match the previous answer?

There's 100 numbers, 18 result in yes, 82 result in no.

Two 'no's in a row is 0.822, or 67.24%.

Two 'yes's in a row is 0.182, or 3.24%

A 'no' and a 'yes' is 0.18*0.82 + 0.82*0.18, or 29.52%

Two 'yes's or two 'no's is 67.24% + 3.24%, which is 70.48%

So given 100 samples, a result of 70 or 71 matches and 29 or 30 mismatches is completely expected... The code produces the numbers that you've told it to produce... Which doesn't prove anything...

So far, this seems the same as saying: If you flip a coin, you will get heads 50% of the time... therefore aliens!

What is your simulation supposed to prove? You should probably try explaining it with math instead.

Is it that you've arrived at the same answer using two techniques, one of which is QM and the other is Malus' law?

Edited by Hodgman, 11 June 2014 - 10:20 PM.

### #5humbleteleskop  Members   -  Reputation: 19

Like
0Likes
Like

Posted 11 June 2014 - 10:52 PM

Ignoring how you've come to set up your code above, the "game" that the code represents is:

Pick a number from 0 to 99. Is the number less than 82?

Repeat.

How often does the answer to that question match the previous answer?

Exactly. There is no setup, you just plug in P1 and P2 angles for the two polarizer and let it ride. The more loops there are, the more result converges to "correct" answer, just like in the actual experiments.

So given 100 samples, a result of 70 or 71 matches and 29 or 30 mismatches is completely expected... The code produces the numbers that you've told it to produce... Which doesn't prove anything...

So far, this seems the same as saying: If you flip a coin, you will get heads 50% of the time... therefore aliens!

Exactly. The problems is the scientific world looks at that data and concludes... therefore photons must be magically correlated and communicating faster than light, which they call "spooky action at distance". It's nice to see how people not indoctrinated with the QM theory can see right through this superstitios quantum nonsense.

What is your simulation supposed to prove? You should probably try explaining it with math instead.

Is it that you've arrived at the same answer using two techniques, one of which is QM and the other is Malus' law?

It's a long story to explain. Try this, post #18:

In short, yes. According to Bell's theorem it is impossible for deterministic or classical methods to ever predict that result. It is the proof of what they call "non-locality" of Quantum Mechanics. It's a pretty big deal for QM, it has to do with entagled particles and quantum computing, uncertainity principle, double-slit experiment, and all that stuff.

There's 100 numbers, 18 result in yes, 82 result in no.

Two 'no's in a row is 0.822, or 67.24%.

Two 'yes's in a row is 0.182, or 3.24%

A 'no' and a 'yes' is 0.18*0.82 + 0.82*0.18, or 29.52%

Two 'yes's or two 'no's is 67.24% + 3.24%, which is 70.48%

That's beyond me. Could you express that as some probability function I could use in Wolfram Alpha online?

### #6humbleteleskop  Members   -  Reputation: 19

Like
0Likes
Like

Posted 11 June 2014 - 11:01 PM

http://en.wikipedia.org/wiki/Quantum_nonlocality

- "Rigorously, quantum nonlocality refers to quantum mechanical predictions of many-system measurement correlations that cannot be simulated by any local hidden variable theory."

### #7humbleteleskop  Members   -  Reputation: 19

Like
0Likes
Like

Posted 11 June 2014 - 11:15 PM

#include <math.h>
#include <time.h>
#include <stdio.h>

void main()
{
int         N_REPEAT= 10000;
float       P1=                  30;        // <--- polarizer-1
float       P2=                  30;        // <--- polarizer-2

//    printf("Number of measuremnts: "); scanf("%d", &N_REPEAT);
printf("\nAngle polarizer P1: "); scanf("%f", &P1);
printf("Angle polarizer P2: "); scanf("%f", &P2);

Init_Setup:;
system("cls");
srand(time(NULL));
int         N_MEASURE= 0;
int         MATCH= 0;
int         MISMATCH= 0;

// relative angle & radian conversion
float       REL_P1= 0.0174533* (P1-P2)/2;
float       REL_P2= 0.0174533* (P2-P1)/2;

BEGIN:;
int L1= (rand()%100 < ((cos(REL_P1)*cos(REL_P1))*100)) ? 1:0;
int L2= (rand()%100 < ((cos(REL_P2)*cos(REL_P2))*100)) ? 1:0;

printf("\n %d%d", L1, L2);
if (L1 == L2) MATCH++; else MISMATCH++;
if (++N_MEASURE < N_REPEAT) goto BEGIN;

printf("\n\nMATCH: %d\nMISMATCH: %d", MATCH, MISMATCH);
printf("\nMalus(%d): %.0f%%", abs((int)((P1-P2)/2)), ((cos(REL_P1)*cos(REL_P1))*100));
printf("\n\n>>> RESULT: %.2f%%", (float)(MATCH-MISMATCH)/(N_MEASURE/100));

printf("\n\nPress a key to repeat.");
getch(); goto Init_Setup;
}



### #8Hodgman  Moderators   -  Reputation: 47680

Like
0Likes
Like

Posted 12 June 2014 - 12:26 AM

There's 100 numbers, 18 result in yes, 82 result in no.
Two 'no's in a row is 0.822, or 67.24%.
Two 'yes's in a row is 0.182, or 3.24%

A 'no' and a 'yes' is 0.18*0.82 + 0.82*0.18, or 29.52%
Two 'yes's or two 'no's is 67.24% + 3.24%, which is 70.48%

That's beyond me. Could you express that as some probability function I could use in Wolfram Alpha online?

It's just basic probability... here's the working:

Looking at one interaction:
* Chance of Y = 0.18
* Chance of N = 0.82
Total of above = 0.18 + 0.82 = 1.0 (making sure we've covered all possibilities)

Looking at two interaction, there's 4 possibilities: N and N, N and Y, Y and N, Y and Y.
* Chance of NN = N*N = 0.82 * 0.82 = 0.822 = 0.6724
* Chance of NY = N*Y = 0.82 * 0.18 = 0.1476
* Chance of YN = Y*N = 0.18 * 0.82 = 0.1476
* Chance of YY = Y*Y = 0.18 * 0.18 = 0.182 = 0.0324
Total of above = 0.6724 + 0.1476 + 0.1476 + 0.0324 = 1.0 (still making sure we've covered all possibilities)

If we then classify Match is NN or YY, and Nonmatch is NY or YN, we get
* Chance of Match = NN+YY = 0.822 + 0.182 = 0.6724 + 0.0324 = 0.7048 = 70.48%
* Chance of Nonmatch = NY+YN = 0.82*0.18 + 0.18*0.82 =  0.1476 + 0.1476 = 0.2952 = 29.52%
Total of still above = 0.7048 + 0.2952 = 1.0 (still making sure we've covered all possibilities)

### #9Bacterius  Crossbones+   -  Reputation: 12837

Like
2Likes
Like

Posted 12 June 2014 - 12:45 AM

You're obviously misinterpreting Bell's theorem, because it's obvious you can write a program that approximates any probability distribution (and I don't know anything about quantum mechanics, but even that is clear to me). You do sound like a crank, though, especially reading through that physicsforums thread, so I'll pass.

“If I understand the standard right it is legal and safe to do this but the resulting value could be anything.”

### #10humbleteleskop  Members   -  Reputation: 19

Like
0Likes
Like

Posted 12 June 2014 - 01:01 AM

There's 100 numbers, 18 result in yes, 82 result in no.
Two 'no's in a row is 0.822, or 67.24%.
Two 'yes's in a row is 0.182, or 3.24%

A 'no' and a 'yes' is 0.18*0.82 + 0.82*0.18, or 29.52%
Two 'yes's or two 'no's is 67.24% + 3.24%, which is 70.48%

That's beyond me. Could you express that as some probability function I could use in Wolfram Alpha online?

It's just basic probability... here's the working:

Looking at one interaction:
* Chance of Y = 0.18
* Chance of N = 0.82
Total of above = 0.18 + 0.82 = 1.0 (making sure we've covered all possibilities)

Looking at two interaction, there's 4 possibilities: N and N, N and Y, Y and N, Y and Y.
* Chance of NN = N*N = 0.82 * 0.82 = 0.822 = 0.6724
* Chance of NY = N*Y = 0.82 * 0.18 = 0.1476
* Chance of YN = Y*N = 0.18 * 0.82 = 0.1476
* Chance of YY = Y*Y = 0.18 * 0.18 = 0.182 = 0.0324
Total of above = 0.6724 + 0.1476 + 0.1476 + 0.0324 = 1.0 (still making sure we've covered all possibilities)

If we then classify Match is NN or YY, and Nonmatch is NY or YN, we get
* Chance of Match = NN+YY = 0.822 + 0.182 = 0.6724 + 0.0324 = 0.7048 = 70.48%
* Chance of Nonmatch = NY+YN = 0.82*0.18 + 0.18*0.82 =  0.1476 + 0.1476 = 0.2952 = 29.52%
Total of still above = 0.7048 + 0.2952 = 1.0 (still making sure we've covered all possibilities)

I see, but how to get 42% out of that, the "correct" answer?

### #11Hodgman  Moderators   -  Reputation: 47680

Like
0Likes
Like

Posted 12 June 2014 - 01:05 AM

I see, but how to get 42% out of that, the "correct" answer?

You tell me, what's the logic behind this step below?
What does result = matches - mismatches mean?

match= 71
mismatch= 29
num_data= 100
Result: (71-29)/(100/100) = 42%

Inserting the numbers from the probability above, that gives result = 40.96%... but what is result?

### #12humbleteleskop  Members   -  Reputation: 19

Like
2Likes
Like

Posted 12 June 2014 - 01:17 AM

You're obviously misinterpreting Bell's theorem, because it's obvious you can write a program that approximates any probability distribution (and I don't know anything about quantum mechanics, but even that is clear to me). You do sound like a crank, though, especially reading through that physicsforums thread, so I'll pass.

You are forgetting that if they thought it's just some "normal" probability function, they wouldn't be saying photon pairs are entangled with some mysterios bond and are communicating faster than ligh. They would not call it "spooky", they would not be proving their theories and "non-locality" with it.

http://en.wikipedia.org/wiki/Quantum_nonlocality

http://en.wikipedia.org/wiki/Local_hidden_variable_theory

Rigorously, quantum nonlocality refers to QM predictions of many-system measurement correlations that cannot be simulated by any classical physics.

### #13humbleteleskop  Members   -  Reputation: 19

Like
-1Likes
Like

Posted 12 June 2014 - 01:28 AM

I see, but how to get 42% out of that, the "correct" answer?

You tell me, what's the logic behind this step below?
What does result = matches - mismatches mean?

match= 71
mismatch= 29
num_data= 100
Result: (71-29)/(100/100) = 42%

Inserting the numbers from the probability above, that gives result = 40.96%... but what is result?

Uh, I missed that, somehow. So, if that is so simple, what about it could possibly posses QM white-coats to interpret those results as a proof of non-locality and spooky action at distance?

### #14Hodgman  Moderators   -  Reputation: 47680

Like
0Likes
Like

Posted 12 June 2014 - 02:04 AM

What does result = matches - mismatches mean anyway?

### #15humbleteleskop  Members   -  Reputation: 19

Like
-1Likes
Like

Posted 12 June 2014 - 03:00 AM

What does result = matches - mismatches mean anyway?

We are asking the same question. They call it "correlation", but it can be inverted so that 30% correlation is the same thing as what they sometimes call 70% discordance.  Apperantly it is discribing some instantenous magical entanglement between pothon pairs regardless of distnace. You do something to one photon in Amsterdam, and its twin brother photon in Tokyo instantly does soemthing in response. How is that number supposed to contain or represent such information is beyond me. I wish we could unswer that question here.

### #16humbleteleskop  Members   -  Reputation: 19

Like
0Likes
Like

Posted 12 June 2014 - 03:59 AM

What does result = matches - mismatches mean anyway?

http://en.wikipedia.org/wiki/Quantum_nonlocality

http://en.wikipedia.org/wiki/Local_hidden_variable_theory

- "Imagine two experimentalists, Alice and Bob, situated in separate laboratories. They conduct a simple experiment in which Alice chooses and pushes one of two buttons, A0 and A1, on her apparatus, and Bob observes on his apparatus one of two indicating lamps, b0 and b1, lighting. In this case there are four possible events that could occur in the experiment: (A0,b0), (A0,b1), (A1,b0) and (A1,b1). Suppose that after many runs of the experiment, only the events (A0,b0) and (A1,b1) occur; this is good evidence that A has an influence on b."

Here is how the experiment goes:

N= number of discordance (mismatches)

N(+30°, -30°) ≤ N(+30°, 0°) + N(0°, -30°) <- "Bell's inequality"

25%+25% = 50% ??

But, according to QM and physical experiments we will now get 75% discordance!

25%+25% = 75% !!

QM prediction: sin^2(60º) = 75%

------------------ END -------------------

Apperantly only that last "discordance" of 75% is "paranormal", for some reason.

The mistake they are making must be this assumption: 25%+25% = 50%

Those percentages simply don't add up like that.

Edited by humbleteleskop, 12 June 2014 - 11:27 AM.

### #17WiredCat  Crossbones+   -  Reputation: 1178

Like
0Likes
Like

Posted 12 June 2014 - 07:16 AM

i think simulating a photon would be much more reailable than this pseudo code of yours/

### #18humbleteleskop  Members   -  Reputation: 19

Like
0Likes
Like

Posted 12 June 2014 - 09:23 AM

i think simulating a photon would be much more reailable than this pseudo code of yours/

All the known variables are taken into equation exactly replicating experimental setup as well as the results. What is more reliable and correct than already correct and reliable result? How do you "simulate" a photon, what is it you are actually suggesting?

edit: my spell-checker doesn't work on this form.

Edited by humbleteleskop, 12 June 2014 - 11:19 AM.

### #19humbleteleskop  Members   -  Reputation: 19

Like
-1Likes
Like

Posted 12 June 2014 - 12:33 PM

If we then classify Match is NN or YY, and Nonmatch is NY or YN, we get
* Chance of Match = NN+YY = 0.822 + 0.182 = 0.6724 + 0.0324 = 0.7048 = 70.48%
* Chance of Nonmatch = NY+YN = 0.82*0.18 + 0.18*0.82 =  0.1476 + 0.1476 = 0.2952 = 29.52%
Total of still above = 0.7048 + 0.2952 = 1.0 (still making sure we've covered all possibilities)

// Hodgman's exact probabilty equation
float T= cos(REL_P1)*cos(REL_P1);
float F= 1.0 - T;

float MCH= (T*T)+(F*F);
float MSM= (T*F)+(F*T);
printf("\n\n>>> EXACT RESULT: %.2f%%", (MCH-MSM)*100);


Hope you don't mind, we'll share Nobel Price money for debunking QM's paranormal mysteries. Thanks!

Marge:
- Homer, is this the way you pictured married life?

Homer:
- Yeah, pretty much. Except we drove around in a van solving mysteries.

### #20Mats1  Members   -  Reputation: 938

Like
2Likes
Like

Posted 13 June 2014 - 02:59 PM

Is it apparent the OP here has absolutely no idea of quantum mechanics what-so-ever. I'm very much unsurprised that people on physics forums ignored your arguments Humbleteleskop!

I suggest you read up on quantum field theory until you realize how wrong you were, and only then start thinking of ideas of how to disprove quantum entanglement (which will be tough, as it's theoretically and experimentally well established). A good start might be to follow these lectures on QM:

Edited by Mats1, 13 June 2014 - 02:59 PM.

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

PARTNERS