Interactive EDCA Pair Toy (Approach B)

Choose measurement settings a and b. Press Run Trial to emit a correlated spot pair. You can also force A (teaching-only) to see how B becomes conditionally correlated.

Station A
Setting a:

Force A outcome (optional):

Outcome A:
Station B
Setting b:

Outcome B:

Conditional expectation ⟨B | A⟩:
CHSH Stats (running)
Trials: 0
E(a0,b0):
E(a0,b1):
E(a1,b0):
E(a1,b1):
S =

Model: hidden spin angle s ~ Uniform[0,360). Pair has sA = s, sB = s+180°. Outcome is sign(cos(s - setting)). This yields a smooth correlation curve. For teaching, forcing A shows conditional correlation.