Simulated optics experiment/Data analysis: Difference between revisions

→‎{{header|Python}}: Fixed a bug that miscalculated the CHSH contrast.
(→‎{{header|Python}}: Fixed a bug that miscalculated the CHSH contrast.)
Line 411:
dataL2R2)
 
chsh_contrast = -kappaL1R1 + kappaL1R2 + kappaL2R2kappaL2R1 + kappaL2R2
 
# The nominal value of the CHSH contrast for the chosen polarizer
Line 454:
45° 67° +0.718882
 
CHSH contrast +2.850985844480
2*sqrt(2) = nominal +2.828427
difference +0.022558016053
 
CHSH violation +0.850985844480
 
</pre>
1,448

edits