Malcolm Low | Practical AI, Computing & Quantum Research

Singapore-based practical guides, tutorials and experiments in AI, computing, modelling, simulation, optimisation and quantum computing, with research notes and hands-on workflows.

, , , ,

CHSH Game Simulator: Beat the Classical 75% Limit Live

No, classical players cannot beat 75%. Local realism strictly limits win rates, but quantum entanglement hits 85.3%. Test our interactive CHSH simulator →

·

Written by

Part of the Quantum Computing: A Complete Learning Path series.
Quick Answer & Key Insight

Can Classical Strategies Beat the 75% Limit in the CHSH Game?

No, classical strategies cannot beat 75%. Relying on classical local hidden variables breaks quantum security assumptions under Bell’s theorem. Quantum players violate this bound to reach ~85.4%. Test our interactive simulator & optimal measurement angles below →

CHSH game simulator comparing classical and quantum entanglement strategies
Figure 1: Interactive CHSH game simulator interface comparing classical deterministic strategies against quantum entanglement measurements.
QUANTUM SERIES 2026
Exploring Quantum Entanglement: CHSH Game Simulator

The CHSH game is a two-player experiment that demonstrates how quantum entanglement produces correlations impossible under classical physics. In this interactive CHSH game simulator, you can compare the classical maximum win rate of 75% with the quantum result of approximately 85.4%, explore all four Bell states, and see Bell’s inequality violated in real time.

🎮 Play the CHSH Game Simulator 📂 View Source on GitHub

1 · How to Play the CHSH Game

The CHSH (Clauser-Horne-Shimony-Holt) game is a cooperative thought experiment that reveals the strange power of quantum entanglement. Two players, Alice and Bob, cannot communicate during the game but may share a pre-agreed strategy or, crucially, a pair of entangled qubits.

  1. The referee gives Alice a random input bit x and Bob a random input bit y.
  2. Without communicating, Alice returns a and Bob returns b.
  3. They win when a ⊕ b = x ∧ y: their answers match unless both input bits are 1.
  4. Repeat many rounds and compare the classical and quantum win rates.
Player Receives from referee Outputs
Alice Random bit x Bit a
Bob Random bit y Bit b

They win if and only if:

(a + b) mod 2 = x × y
With classical strategies, Alice and Bob can win at most 75% of the time. With a quantum strategy using entangled qubits, they can reach approximately 85.4%, violating the classical bound.

Worked example: one CHSH round

Suppose the referee sends x = 1 to Alice and y = 1 to Bob. Their winning condition is a ⊕ b = 1, so their output bits must differ. If Alice answers a = 0 and Bob answers b = 1, then 0 ⊕ 1 = 1 and they win the round.

2 · Classical vs Quantum CHSH Strategies

In 1964, John Bell proved that no local hidden variable theory can reproduce all predictions of quantum mechanics. The CHSH inequality formalises Bell’s theorem as a single testable number S:

Theory CHSH Value (S) Win Rate
Classical (any local strategy) S ≤ 2 75%
Quantum mechanics S = 2√2 ≈ 2.828 ~85.4%

Why is the quantum CHSH win rate 85.4%?

The optimal quantum strategy wins with probability cos²(π/8) = (2 + √2) / 4 ≈ 0.8536. Carefully chosen measurement angles turn entanglement into correlations stronger than any local classical strategy can produce.

This violation is not a loophole or a trick. It proves that the correlations produced by entangled qubits cannot be explained by any shared classical information, even with pre-agreed randomness. Loophole-free Bell test experiments confirm that quantum entanglement is a genuine physical phenomenon with no classical analogue.

3 · Measurement Angles and Quantum Correlation

The quantum advantage arises from choosing measurement bases at specific angles. For the standard |Φ+⟩ Bell state, the optimal angles are:

Player Input bit Measurement basis
Alice x = 0 0°
Alice x = 1 45°
Bob y = 0 22.5°
Bob y = 1 −22.5°

The probability that Alice and Bob produce the same outcome is:

P(same) = cos²(δ)

where δ is the angle between their chosen measurement bases. This quantum correlation is what enables them to exceed the 75% classical ceiling. Different Bell states exhibit either parallel correlation (|Φ+⟩, |Ψ+⟩: qubits tend to give the same outcome) or orthogonal correlation (|Φ−⟩, |Ψ−⟩: one qubit effectively rotated 90° relative to the other). The simulator adjusts its probability calculations accordingly for each state.

🧪 4 · The Four Bell States

The simulator supports all four maximally entangled Bell states. Each uses optimised measurement angles to achieve the theoretical quantum win rate of ~85%.

State Definition Correlation
|Φ+⟩ (|00⟩ + |11⟩) / √2 Parallel
|Φ−⟩ (|00⟩ − |11⟩) / √2 Orthogonal
|Ψ+⟩ (|01⟩ + |10⟩) / √2 Parallel
|Ψ−⟩ (|01⟩ − |10⟩) / √2 Orthogonal
Circuit Construction & Theory: Want to see how these four Bell states are prepared using Hadamard (H) and CNOT gates in Qiskit, and why their tensor products cannot be factored? Explore our full guide on Two-Qubit Entanglement Explained: The 4 Bell States & Qiskit Implementation.

🎯 5 · CHSH Game Simulator Features

Feature Details
🎯 Interactive Visualization Real-time p5.js visualization showing the entangled state, Alice’s measurement collapse, and Bob’s final measurement. Coloured basis quadrants and correlation indicators included.
🎮 Strategy Comparison Switch between Classical (always outputs 0, max 75%) and Quantum (entangled qubits, ~85.4%) strategies in real time.
🎲 Flexible Input Controls Set Alice’s x and Bob’s y to Random or Fixed (0 or 1) to test specific measurement configurations.
📊 Real-Time Statistics Running totals for rounds played, wins, losses, and win percentage converging toward theoretical predictions.
🔄 Round History Navigation Step through previous rounds to review specific outcomes and trace the quantum measurement process.
Built with: React, p5.js, and Claude Code

6 · Try the Quantum Entanglement Simulator

A suggested sequence to build intuition:

  1. Open the simulator and select the Classical strategy. Run 100 rounds and watch the win rate converge toward 75%.
  2. Switch to the Quantum strategy with the |Φ+⟩ Bell state. Run another 100 rounds and observe the rate climb toward 85%.
  3. Try the other three Bell states. Note how each state’s correlation type (parallel vs orthogonal) affects the outcome distribution.
  4. Set Alice and Bob’s inputs to Fixed values to test individual measurement configurations and trace the correlation manually.
  5. Use Round History to step back through specific rounds and verify the win condition (a + b) mod 2 = x × y by hand.

7 · Quantum Entanglement & Bell Tests in Singapore

Singapore has established itself as an internationally recognized pioneer in experimental quantum nonlocality and foundational tests of Bell’s theorem. Through coordinated investments under Singapore’s National Quantum Strategy (NQS), funded by the National Research Foundation (NRF), local researchers have translated theoretical CHSH violations into orbit-proven hardware, secure communication testbeds, and university curricula.

Experimental Space-Based Bell Violations: SpooQy-1

One of Singapore’s hallmark quantum achievements was the SpooQy-1 CubeSat mission, developed by the Centre for Quantum Technologies (CQT) at the National University of Singapore (NUS). Deployed into low Earth orbit from the International Space Station, SpooQy-1 successfully demonstrated a compact, space-qualified source of polarization-entangled photon pairs. The mission verified that Bell-state entanglement and non-classical correlations survive extreme space and launch environments, demonstrating the feasibility of satellite-to-ground quantum key distribution (QKD) nodes.

Device-Independent Quantum Cryptography (DI-QKD)

In standard cryptography, security is contingent on mathematical complexity. In contrast, researchers at CQT and NUS Physics proved that measuring a CHSH inequality violation (where S > 2, approaching Tsirelson’s bound of 2√2 ≈ 2.828) delivers an unconditional, device-independent guarantee of cryptographic privacy. Because classical local hidden variables cannot exceed S = 2, an eavesdropper cannot tap an entangled photon channel without degrading the measured CHSH correlation value below the quantum threshold, immediately exposing interception.

Quantum Information Education Across Singapore Universities

Beyond specialized physics labs, the CHSH game serves as an indispensable practical milestone across Singapore’s university landscape:

  • Singapore Institute of Technology (SIT): In applied computing and software engineering coursework, interactive simulators and cloud-based quantum SDKs (such as IBM Qiskit) allow students to contrast classical 75% coordination ceilings against quantum advantage.
  • NUS & Nanyang Technological University (NTU): Undergraduates and graduate students in physics, mathematics, and electrical engineering implement CHSH circuits directly on cloud quantum hardware to observe quantum state tomography and verify nonlocality empirically.
  • Pedagogical Benchmark: Before tackling high-register multi-qubit algorithms (such as Shor’s factoring or Grover’s amplitude amplification), mastering the 2-qubit CHSH inequality provides intuitive visual proof that quantum mechanics departs radically from classical physics.

8 · Open Source Code on GitHub

The complete source code is on GitHub. Contributions welcome: explore the code, report issues, suggest improvements, or fork it to build your own quantum visualisations.

Planned enhancements include a 3D Bloch sphere visualisation (Three.js), step-by-step animated transitions, an in-app educational tutorial, a mathematical deep-dive panel, and improved mobile layout.

The CHSH game demonstrates that quantum entanglement is not a mathematical abstraction but a measurable, observable phenomenon with no classical analogue. This simulator makes that phenomenon interactive and accessible to anyone curious about quantum mechanics.

Further reading


QUANTUM SERIES 2026 · Quantum Entanglement and Bell Inequalities

✦ This article was generated with the assistance of Claude by Anthropic ✦

About the author

Malcolm Low is an Associate Professor at the Singapore Institute of Technology, writing on quantum computing, programming, and applied computing from Singapore.

Website: malcolmlow.com  ·  Singapore

Frequently Asked Questions

What is the CHSH game?

The CHSH game is a thought experiment used to test Bell’s inequality — two players, unable to communicate during the round, try to win a coordination game more often than classical physics allows, using entangled qubits shared in advance.

What is Bell’s inequality?

Bell’s inequality sets an upper limit — 75% — on how often two players can win the CHSH game using any classical (non-quantum) strategy, no matter how cleverly they coordinate beforehand.

Can quantum entanglement really beat 75% in the CHSH game?

Yes — using entangled qubits and the right measurement angles, quantum strategies can win roughly 85% of rounds, provably exceeding the classical limit set by Bell’s inequality.

Why does the CHSH game matter for quantum computing?

It’s one of the clearest experimental demonstrations that quantum mechanics behaves fundamentally differently from classical physics, and the same entanglement principles underpin many practical quantum algorithms.

Continue the Quantum Series

Where entanglement goes next: See how shared entanglement enables quantum teleportation without cloning a qubit.

Quantum Series Recommended Next Reading in Quantum Computing

Deepen your quantum intuition with our step-by-step mathematical and circuit guides:

FAQ Frequently Asked Questions

What is the maximum classical win probability in the CHSH game?

Under classical local hidden variable theories, the maximum win rate is strictly 75% (3/4), which is the Bell-CHSH inequality limit.

Where is CHSH and quantum entanglement researched in Singapore?

In Singapore, research into CHSH inequality violations, Bell nonlocality, and quantum entanglement is spearheaded by the Centre for Quantum Technologies (CQT) at the National University of Singapore (NUS), alongside Nanyang Technological University (NTU), SUTD, A*STAR, and the Singapore Institute of Technology (SIT), supported under Singapore’s National Quantum Strategy (NQS).

How does quantum entanglement beat the classical CHSH limit?

By measuring entangled Bell state qubits at optimal relative angles of 22.5 degrees (π/8), quantum mechanics achieves Tsirelson’s bound of cos2(π/8) or approximately 85.36%.

{ “@context”: “https://schema.org”, “@graph”: [ { “@type”: “TechArticle”, “@id”: “https://malcolmlow.com/2025/10/20/exploring-quantum-entanglement-chsh-game-simulator/#article”, “isPartOf”: { “@type”: “WebSite”, “@id”: “https://malcolmlow.com/#website”, “name”: “Malcolm Low”, “url”: “https://malcolmlow.com” }, “headline”: “CHSH Game in Quantum Computing: Bell Inequality Simulator”, “description”: “No, classical players cannot beat 75%. Local realism strictly limits win rates, but quantum entanglement hits 85.4%. Test our interactive CHSH simulator →”, “url”: “https://malcolmlow.com/2025/10/20/exploring-quantum-entanglement-chsh-game-simulator/”, “datePublished”: “2025-10-20T10:00:00+08:00”, “dateModified”: “2026-10-16T17:30:00+08:00”, “inLanguage”: “en-US”, “mainEntityOfPage”: “https://malcolmlow.com/2025/10/20/exploring-quantum-entanglement-chsh-game-simulator/”, “author”: { “@type”: “Person”, “name”: “Malcolm Low”, “jobTitle”: “Associate Professor”, “url”: “https://malcolmlow.com”, “worksFor”: { “@type”: “CollegeOrUniversity”, “name”: “Singapore Institute of Technology”, “sameAs”: “https://www.singaporetech.edu.sg”, “location”: { “@type”: “Place”, “name”: “Singapore”, “address”: { “@type”: “PostalAddress”, “addressCountry”: “Singapore” } } } }, “publisher”: { “@type”: “Person”, “name”: “Malcolm Low” }, “spatialCoverage”: { “@type”: “Place”, “name”: “Singapore” }, “about”: [ { “@type”: “Thing”, “name”: “CHSH inequality”, “sameAs”: “https://en.wikipedia.org/wiki/Clauser%E2%80%93Horne%E2%80%93Shimony%E2%80%93Holt_inequality” }, { “@type”: “Thing”, “name”: “Bell’s theorem”, “sameAs”: “https://en.wikipedia.org/wiki/Bell%27s_theorem” }, { “@type”: “Thing”, “name”: “Quantum entanglement”, “sameAs”: “https://en.wikipedia.org/wiki/Quantum_entanglement” } ], “mentions”: [ { “@type”: “ResearchOrganization”, “name”: “Centre for Quantum Technologies”, “alternateName”: “CQT”, “sameAs”: “https://en.wikipedia.org/wiki/Centre_for_Quantum_Technologies” }, { “@type”: “EducationalOrganization”, “name”: “National University of Singapore”, “alternateName”: “NUS”, “sameAs”: “https://www.nus.edu.sg” }, { “@type”: “EducationalOrganization”, “name”: “Nanyang Technological University”, “alternateName”: “NTU”, “sameAs”: “https://www.ntu.edu.sg” }, { “@type”: “EducationalOrganization”, “name”: “Singapore Institute of Technology”, “alternateName”: “SIT”, “sameAs”: “https://www.singaporetech.edu.sg” }, { “@type”: “GovernmentOrganization”, “name”: “National Quantum Strategy Singapore”, “sameAs”: “https://www.nrf.gov.sg” } ] }, { “@type”: “FAQPage”, “@id”: “https://malcolmlow.com/2025/10/20/exploring-quantum-entanglement-chsh-game-simulator/#faq”, “mainEntity”: [ { “@type”: “Question”, “name”: “What is the maximum classical win probability in the CHSH game?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “Under classical local hidden variable theories, the maximum win rate is strictly 75% (3/4), which is the Bell-CHSH inequality limit.” } }, { “@type”: “Question”, “name”: “Where is CHSH and quantum entanglement researched in Singapore?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “In Singapore, research into CHSH inequality violations, Bell nonlocality, and quantum entanglement is spearheaded by the Centre for Quantum Technologies (CQT) at the National University of Singapore (NUS), alongside Nanyang Technological University (NTU), SUTD, A*STAR, and the Singapore Institute of Technology (SIT), supported under Singapore’s National Quantum Strategy (NQS).” } }, { “@type”: “Question”, “name”: “How does quantum entanglement beat the classical CHSH limit?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “By measuring entangled Bell state qubits at optimal relative angles of 22.5 degrees (π/8), quantum mechanics achieves Tsirelson’s bound of cos²(π/8) or approximately 85.36%.” } }, { “@type”: “Question”, “name”: “What is the CHSH game?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “The CHSH game is a thought experiment used to test Bell’s inequality — two players, unable to communicate during the round, try to win a coordination game more often than classical physics allows, using entangled qubits shared in advance.” } } ] } ] }

Comments

Leave a Reply