Quantum Entanglement and Bell Test Simulator: Spooky Action at a Distance

A free quantum entanglement simulator: make entangled pairs, set Alice's and Bob's detectors, and run a Bell (CHSH) test against a local hidden-variable model. See the correlations break the classical limit of 2, why no message can travel faster than light, and Stern-Gerlach magnets in a row.

Quantum entanglement and the Bell test, explained

Two particles are entangled when they share one quantum state, so that neither has a definite answer of its own but their answers are linked. This simulator lets you run the experiment that tells entanglement apart from ordinary, pre-arranged correlation: the Bell test, in the CHSH form used in real laboratories.

How to use the simulator

  • Pick photon pairs (polarization) or electron pairs (spin). Alice and Bob each have a dial: a polarizer for photons, a Stern-Gerlach magnet for electrons. Drag a dial to turn it.
  • In CHSH mode each side picks one of two angles at random for every pair. The scoreboard counts the results for the four combinations and works out S with its error bar.
  • Switch the source to a local hidden-variable model, where each pair carries its answers from the start. However many pairs you run, S stays at or below 2. The quantum source goes to about 2.83.
  • The correlation plot shows how strongly the results agree as the angle between the dials changes, for quantum mechanics and for both hidden-variable models, with your own measured points on top.
  • The Stern-Gerlach tab lines up to four magnets: Z then Z, Z then X, Z then X then Z, recombined beams and spin-1 particles.

What is the CHSH inequality?

It is a version of Bell’s theorem by Clauser, Horne, Shimony and Holt (1969). Measure correlations E for two settings on each side and combine them: S = |E(a,b) − E(a,b′) + E(a′,b) + E(a′,b′)|. If the results are fixed in advance by local hidden variables, S can never exceed 2. Quantum mechanics predicts up to 2√2 (Tsirelson’s bound), reached at angles 22.5° apart for photons.

Does entanglement send signals faster than light?

No. Each side on its own sees perfectly random +1 and −1 results, 50/50 at every setting, whatever the other side does; the simulator shows Bob’s results split by Alice’s choice so you can check. The correlation only appears when the two lists are compared, and that needs an ordinary signal.

Is this a real quantum computer?

No. The page draws each pair’s results from the exact quantum probabilities with a random number generator, which reproduces what the experiments measure. It is a teaching model with perfect detectors; real tests have to deal with losses and timing, which is what the 2015 “loophole-free” experiments in Delft, Vienna and at NIST did.

Who won the Nobel Prize for this?

Alain Aspect, John Clauser and Anton Zeilinger shared the 2022 Nobel Prize in Physics for experiments with entangled photons that established the violation of Bell inequalities.

What does the Stern-Gerlach experiment show?

In 1922 Otto Stern and Walther Gerlach sent silver atoms through an uneven magnetic field and found two separate spots instead of a continuous smear: the atoms’ magnetism comes in two values only. Chains of magnets show the other quantum rules: a repeated measurement gives the same answer, a turned magnet gives cos²(θ/2) odds, and measuring X erases what was known about Z.

Comments
Advertisement