Simulation of CHSH inequality experiment in Excel

Click For Summary

Discussion Overview

The discussion revolves around a simulation of the CHSH inequality experiment created in Excel. Participants are reviewing the simulation's setup, methodology, and results, focusing on the implications of local hidden variable (LHV) theories and the behavior of photon polarization in the context of quantum mechanics.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant shares a link to their Excel simulation of the CHSH inequality experiment and requests feedback on its accuracy and functionality.
  • Another participant notes that the simulation's assumption of fixed polarization prior to measurement implies it is a local hidden variable simulation, which should not yield S>2 if simulated correctly.
  • Some participants express skepticism about the correctness of the "detector response" function in the simulation, suggesting it may not align with the expected physical model.
  • There are discussions about the use of AI tools like ChatGPT to replicate the simulation, with some participants cautioning against relying on AI for critical evaluation of models.
  • Participants suggest performing basic sanity checks on the simulation data, such as ensuring equal numbers of positive and negative results across detector settings and consistent results when both detectors are aligned.
  • One participant mentions simplifying the Python code used in conjunction with the Excel simulation, proposing to limit simulated photon angles to between 0 and 90 degrees for ease of calculations.

Areas of Agreement / Disagreement

Participants express differing views on the validity of the simulation's results, particularly regarding the detector response function and the implications of the LHV model. There is no consensus on whether the simulation is correct or how to validate it effectively.

Contextual Notes

Participants highlight potential limitations in the simulation's assumptions and the need for careful consideration of the physical meaning behind photon polarization and detection mechanisms. Specific unresolved mathematical steps and dependencies on definitions are noted, but not resolved.

  • #61
DrChinese said:
You don't need any code to see how far off your concept is. And the usage of the CHSH just covers up the issues by making the problems unnecessarily complicated. Some of your key hypotheses are:

i) That there is a predetermined polarization for entangled photons when they are created. (Of course, simply following the Bell argument should be enough to convince you this cannot be correct - that specific scenario is discussed.)
ii) That if a polarizer is set within 45 degrees of that value, the photon will pass through it 100% of the time (you do that to get the perfect correlations, see for example Nugatory's post #14 and your response in #15).

But hey, let's analyze this as it pertains to your specific approach.

a) Your entangled pairs produce 100% correlation at any identical angle. You satisfy this experimental requirement.
b) Photons produced by PDC pass through a polarizer if they within 45 degrees of the orientation value at creation. Oops! That is known to be false!

A single Type I PDC crystal produces pairs of entangled photons at KNOWN angles. And those photons do NOT all go through a polarizer set at any different angle, regardless of whether it is within 45 degrees or not. Instead, they pass through at the usual cos^2(theta) formula. That is completely in opposition to your b).

Note that these photons are entangled, but they are NOT polarization entangled. To get polarization entanglement, you need TWO such crystals oriented 90 degrees apart and placed very close together. By your logic, the output photons must come from one or the other of the two crystals. Either one individually ONLY produces pairs that fail your test. Keep in mind that these photons (from either crystal alone) are entangled, just not polarization entangled. So why would you need two crystals to cause them to become polarization entangled when they were already entangled on all other bases?

The answer is strictly quantum: The polarization entanglement comes from them being indistinguishable as to which of the two is the source crystal. This quantum element cannot properly be represented in any code. Your code will always produce the wrong results when you attempt to model a single Type I crystal output (making it compatible with experiment) and then attempting to model two Type I crystals as I described. Here is a link to a full description of Type I crystals (theory and experiment), which are used in about half of all entanglement experiments. (Note that Type II crystals, while seemingly avoiding this issue, actually exhibit an exactly identical problem. But explaining why is more complicated.)

Ultra-bright source of polarization-entangled photons (Kwiat et al, 1998)

If you cannot model the quantum element of indistinguishability*, which determines whether polarization entanglement occurs, your entire premise fails. Good luck modeling the real world!


*And in fact every single source of quantum entangled particles includes this critical requirement. It is actually possible to intentionally vary the amount of indistinguishability from 100% down to 0%, and the resulting spin/polarization entanglement varies precisely along with it. If your concept were correct, once the photon pair is created (from the mother photon), it already has a specific angle for each of the daughter photons.
Hi. It is important to note, I am suggesting something different to what you understand to be correct. This is the point of the simulation. What if......?

Aren't photons, that are created with entangled polarizations, correlated? So they either have the same or opposite polarization? My simulation is for same polarization.

They are randomly generated photon pairs (angles) and just a copy of each other, 1 sent to each detector for measurement.

In Clauser-Horne-Shimony-Holt (chsh) experiments, isn't polarization entanglement mostly used? And it's it mostly same polarization? This is what I have read thus far and using as a basis for this. The correlation is the important part.

With regards to the version of single photon detection I mentioned, take a look here -

https://demonstrations.wolfram.com/AModelForPhotonPolarizationAndDetection/

This relates to single photon detection with +-45 degrees from a detector polarizer angle.

And so, making the assumptions I have made, for the purpose of the simulation; Why would the simulation produce similar end results as real-world tests? It wasn't necessarily aiming to do, but it has with those two assumptions made earlier.

You raised some other items which are out of scope for my post. Hope you understand.

Thanks for your comment.
 
  • Skeptical
Likes   Reactions: Motore
Physics news on Phys.org
  • #62
lostinmygarden said:
Hi. It is important to note, I am suggesting something different to what you understand to be correct. This is the point of the simulation. What if......?
Perhaps I have misunderstood. When I read the opening post of this thread it seemed that you had a simulation that seemed to show a hidden variable model that violated the CHSH inequality and wanted feedback on it. We all agree that the simulation has to be wrong somehow (compare with someone asking for feedback on their perpetual motion machine - the question isn't whether they've invented a PMM, it's where the mistake is).
Aren't photons, that are created with entangled polarizations, correlated?
Yes, but...
So they either have the same or opposite polarization?
No. The correlation tells us that if we measure one member of the pair on a given axis we know what the result will be if and when we measure the polarization of the other member on the same axis. Bell's Theorem and the CHSH inequality show that this is not the same thing as "them having the same or opposite polarization"; that's the whole point of the observed violations of the inequalities.
They are randomly generated photon pairs (angles) and just a copy of each other, 1 sent to each detector for measurement.
The pairs in your simulation are not randomly distributed, that is obvious from inspection of the source code (both python and excel) and was pointed out in post #47. And the fact that the plus and minus counts are not roughly the same across both detectors at both angles (the sanity test suggested in post #14 that you ignored so that I had to do it for you) shows that there is something bad wrong in the internal logic of your simulation.
In Clauser-Horne-Shimony-Holt (chsh) experiments, isn't polarization entanglement mostly used? And it's it mostly same polarization? This is what I have read thus far and using as a basis for this. The correlation is the important part.
Yes, these experiments are all based on polarization entanglement. The problem is that your simulation does not accurately model the observed behavior.
I have an old CHSH simulation somewhere back in my cyber boneyard and I'll post the code for you in a while if I can find it.

There are several reliable sources that you might want to look into. You're arguing with @DrChinese so you will want to check out his website on Bell's Theorem - read and understand(!) the linked papers. Read this Scientific American article. Try rewriting your simulation to make it accurate and see whether you can find any way of tweaking the state assignments so that the inequality is violated. Until you have done this, the thread is closed.
 
  • Like
Likes   Reactions: berkeman, Doc Al, Motore and 4 others

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
11
Views
2K
  • · Replies 28 ·
Replies
28
Views
8K
  • · Replies 49 ·
2
Replies
49
Views
5K
  • · Replies 58 ·
2
Replies
58
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K