{
  "id": "chsh-inequality",
  "title": "CHSH Inequality",
  "lang": "en",
  "source_lang": "en",
  "summary": "The CHSH inequality bounds correlations permitted by local hidden-variable models; its violation demonstrates Bell nonlocality under specified experimental and statistical assumptions.",
  "category": "science",
  "subcategory": "physics",
  "type": "concept",
  "aliases": [
    "Clauser–Horne–Shimony–Holt inequality",
    "CHSH Bell inequality"
  ],
  "generated_at": "2026-11-05",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/chsh-inequality/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/chsh-inequality/",
      "json": "https://aiwiki.page/zh/chsh-inequality.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "The CHSH inequality is a mathematical constraint on correlations between the outcomes of measurements performed by two separated observers, each choosing between two measurement settings with two possible outcomes. Any local hidden-variable model satisfying independence of the measurement choices obeys the bound \\(|S|\\leq 2\\), where \\(S\\) is a particular combination of four correlations. Quantum mechanics permits values as large as \\(2\\sqrt{2}\\). This difference makes CHSH one of the central tools for experimentally testing Bell’s theorem and for using quantum entanglement in information-processing tasks."
    },
    {
      "heading": "Measurement scenario and definition",
      "text": "Two observers, conventionally called Alice and Bob, receive systems from a common source. Alice chooses a measurement setting \\(x\\in\\{0,1\\}\\), while Bob independently chooses \\(y\\in\\{0,1\\}\\). Each measurement produces an outcome \\(a,b\\in\\{-1,+1\\}\\).\n\nFor each pair of settings, define the correlation as the expected value of the product of the outcomes:\n\n\\[E_{xy}=\\sum_{a,b=\\pm1}ab\\,P(a,b\\mid x,y).\\]\n\nThus, \\(E_{xy}=+1\\) means that the outcomes always agree, \\(E_{xy}=-1\\) means that they always disagree, and \\(E_{xy}=0\\) means that agreement and disagreement are equally likely.\n\nOne standard CHSH expression is\n\n\\[S=E_{00}+E_{01}+E_{10}-E_{11}.\\]\n\nThe inequality is\n\n\\[|S|\\leq 2.\\]\n\nEquivalent forms result from exchanging the observers, interchanging their settings, or reversing outcome labels. These conventions can change the signs in the expression without changing the physical content.\n\nThe four correlations refer to four alternative measurement contexts. A trial supplies outcomes for only one context; the correlations are estimated from many trials using the corresponding setting choices."
    },
    {
      "heading": "Assumptions and derivation",
      "text": "Local hidden-variable models\n\nA hidden variable \\(\\lambda\\) represents information supplied by a common cause, such as the preparation of the two systems. It may include information absent from the quantum description.\n\nThe relevant locality condition is the factorization\n\n\\[P(a,b\\mid x,y,\\lambda) = P_A(a\\mid x,\\lambda)\\, P_B(b\\mid y,\\lambda).\\]\n\nGiven \\(\\lambda\\), Alice’s response depends on her setting but not Bob’s setting or outcome, and conversely for Bob.\n\nA separate assumption, measurement independence, is\n\n\\[\\rho(\\lambda\\mid x,y)=\\rho(\\lambda),\\]\n\nwhere \\(\\rho\\) is the probability distribution of the hidden variable. This states that the variables governing the systems’ responses are statistically independent of the chosen settings. The resulting observable probabilities take the form\n\n\\[P(a,b\\mid x,y) = \\int d\\lambda\\,\\rho(\\lambda) P_A(a\\mid x,\\lambda)P_B(b\\mid y,\\lambda).\\]\n\nThe integral can be replaced by a sum for discrete hidden variables.\n\nDerivation of the bound\n\nFor a deterministic model, write Alice’s possible responses as \\(A_0(\\lambda),A_1(\\lambda)\\in\\{-1,+1\\}\\), and Bob’s as \\(B_0(\\lambda),B_1(\\lambda)\\in\\{-1,+1\\}\\). For each \\(\\lambda\\),\n\n\\[\\begin{aligned} s(\\lambda) &=A_0B_0+A_0B_1+A_1B_0-A_1B_1\\\\ &=A_0(B_0+B_1)+A_1(B_0-B_1). \\end{aligned}\\]\n\nSince \\(B_0\\) and \\(B_1\\) are each \\(+1\\) or \\(-1\\), exactly one bracket is zero and the other is \\(+2\\) or \\(-2\\). Consequently,\n\n\\[s(\\lambda)=\\pm2.\\]\n\nAveraging over \\(\\lambda\\) gives \\(|S|\\leq2\\).\n\nDeterminism is not essential to the result. For stochastic local models, define the conditional mean responses\n\n\\[\\overline A_x(\\lambda)=\\sum_a aP_A(a\\mid x,\\lambda), \\qquad \\overline B_y(\\lambda)=\\sum_b bP_B(b\\mid y,\\lambda).\\]\n\nThese lie in \\([-1,1]\\), and the corresponding CHSH expression remains bounded by 2. Alternatively, local randomness can be incorporated into an enlarged hidden variable.\n\nThe inequality therefore does not require an additional assumption that measurement outcomes must be fundamentally predetermined. It follows from the stated probabilistic locality and independence conditions."
    },
    {
      "heading": "Quantum violation",
      "text": "In quantum mechanics, correlations are calculated from a joint state \\(\\rho\\) and local measurement operators:\n\n\\[E_{xy}=\\operatorname{Tr} \\left[\\rho\\left(A_x\\otimes B_y\\right)\\right].\\]\n\nHere \\(\\rho\\) is a density matrix, and the observables \\(A_x,B_y\\) have outcomes \\(\\pm1\\).\n\nConsider two qubits in the entangled state\n\n\\[|\\Phi^+\\rangle = \\frac{|00\\rangle+|11\\rangle}{\\sqrt2}.\\]\n\nChoose\n\n\\[A_0=\\sigma_z,\\qquad A_1=\\sigma_x,\\]\n\n\\[B_0=\\frac{\\sigma_z+\\sigma_x}{\\sqrt2}, \\qquad B_1=\\frac{\\sigma_z-\\sigma_x}{\\sqrt2},\\]\n\nwhere \\(\\sigma_x\\) and \\(\\sigma_z\\) are Pauli matrices. These settings give\n\n\\[E_{00}=E_{01}=E_{10}=\\frac{1}{\\sqrt2}, \\qquad E_{11}=-\\frac{1}{\\sqrt2},\\]\n\nand therefore\n\n\\[S=2\\sqrt2.\\]\n\nSuch measurements can be implemented using physical degrees of freedom including spin or photon polarization.\n\nTsirelson’s bound\n\nThe largest CHSH value allowed by quantum mechanics is\n\n\\[|S|\\leq2\\sqrt2,\\]\n\nknown as Tsirelson’s bound.\n\nFor observables satisfying \\(A_x^2=B_y^2=I\\), define the CHSH operator\n\n\\[\\mathcal B = A_0\\otimes(B_0+B_1) + A_1\\otimes(B_0-B_1).\\]\n\nIts square is\n\n\\[\\mathcal B^2 = 4I-[A_0,A_1]\\otimes[B_0,B_1],\\]\n\nwhere \\([X,Y]=XY-YX\\). The operator norms of the commutators are at most 2, yielding \\(\\|\\mathcal B\\|\\leq2\\sqrt2\\).\n\nThe identity also shows the importance of incompatible measurements. If either observer’s two observables commute, the CHSH value cannot exceed 2.\n\nNoise and entanglement\n\nEntanglement is necessary for quantum CHSH violation, but not every entangled state violates CHSH. In particular, some mixed entangled states produce no violation for any choice of the two local binary measurements.\n\nFor illustration, consider a maximally entangled state mixed with uniform noise:\n\n\\[\\rho_v = v|\\Phi^+\\rangle\\langle\\Phi^+| + (1-v)\\frac{I_4}{4}, \\qquad 0\\leq v\\leq1.\\]\n\nThe measurement settings above give\n\n\\[S=2\\sqrt2\\,v.\\]\n\nThis exceeds 2 only when \\(v>1/\\sqrt2\\), although this family is entangled already for \\(v>1/3\\). Failure to violate CHSH therefore does not establish that a state is unentangled, nor does it rule out violations in other Bell-test scenarios."
    },
    {
      "heading": "Bell nonlocality and no-signalling",
      "text": "A CHSH violation rules out the local hidden-variable description specified above. This property is called Bell nonlocality.\n\nIt does not imply that an observer can transmit a controllable message faster than the speed of light. Quantum predictions satisfy the no-signalling principle:\n\n\\[\\sum_bP(a,b\\mid x,y)=P(a\\mid x),\\]\n\nindependently of \\(y\\), with the corresponding condition for Bob. Each observer’s local outcome distribution is independent of the other observer’s measurement choice. The correlations become evident when the records are compared.\n\nNo-signalling alone is weaker than the quantum constraints. Hypothetical no-signalling distributions can attain the algebraic maximum \\(|S|=4\\), beyond Tsirelson’s bound.\n\nA violation also does not identify a unique interpretation of quantum mechanics. It excludes a combination of assumptions rather than establishing which assumption every possible theory must abandon. A theory that rejects measurement independence, for example, is not ruled out by the standard CHSH argument alone."
    },
    {
      "heading": "Experimental testing and loopholes",
      "text": "In an experiment, correlations are estimated from recorded outcomes:\n\n\\[\\widehat E_{xy} = \\frac{ N_{++}^{xy}+N_{--}^{xy} -N_{+-}^{xy}-N_{-+}^{xy} }{ N_{++}^{xy}+N_{--}^{xy} +N_{+-}^{xy}+N_{-+}^{xy} },\\]\n\nwhere \\(N_{ab}^{xy}\\) counts trials with settings \\(x,y\\) and outcomes \\(a,b\\). This expression presumes that the analyzed trials have been defined and included in a way consistent with the test’s assumptions.\n\nA convincing Bell test must address several possible loopholes:\n\n- Locality loophole: Communication between the measurement stations could generate correlations exceeding the local bound. Suitable experiments arrange the relevant setting choices and outcome events to be spacelike separated in spacetime.\n- Detection loophole: If only a selected fraction of emitted systems is detected, the retained data may not represent the full ensemble. High detection efficiency, or appropriate treatment of nondetections, avoids relying on a fair-sampling assumption.\n- Setting-independence loophole: Correlations between setting choices and the systems’ hidden variables would invalidate measurement independence. Independent, rapidly generated settings constrain many such explanations, although statistical independence cannot be established without background assumptions.\n- Trial-selection loopholes: Defining pairs or accepted events using setting-dependent or outcome-dependent information can bias the sample.\n- Memory and finite-statistics effects: Devices may behave differently across trials. Statistical analyses must account for the relevant dependencies rather than automatically treating all trials as independent and identically distributed.\n\nAn observed estimate slightly above 2 is not by itself conclusive: finite samples fluctuate. Experimental analyses quantify the probability of obtaining evidence at least as strong under a specified local-model null hypothesis.\n\nThe phrase loophole-free conventionally means that the principal experimental loopholes are closed together under stated assumptions, not that every logically conceivable alternative explanation has been excluded."
    },
    {
      "heading": "Historical development",
      "text": "John Bell established his theorem in 1964, showing that the predictions of quantum mechanics cannot generally be reproduced by local hidden-variable theories satisfying the relevant independence conditions.\n\nJohn F. Clauser, Michael A. Horne, Abner Shimony, and Richard A. Holt introduced the CHSH inequality in 1969. Its two-setting, two-outcome structure made Bell’s argument particularly useful for experiments.\n\nSuccessive experiments improved detector performance, setting selection, separation of measurement stations, and statistical methods. In 2015, experiments closed the major locality and detection loopholes simultaneously; these included an event-ready CHSH test using separated electron spins. Other experiments used related Bell inequalities adapted to their measurement platforms.\n\nThe 2022 Nobel Prize in Physics recognized Alain Aspect, John F. Clauser, and Anton Zeilinger for experiments with entangled photons, establishing violations of Bell inequalities, and pioneering quantum information science."
    },
    {
      "heading": "CHSH game and information applications",
      "text": "The inequality can be recast as a cooperative game. Alice and Bob receive independent, uniformly random bits \\(x,y\\), cannot communicate during a round, and return bits \\(u,v\\). They win when\n\n\\[u\\oplus v=xy,\\]\n\nwhere \\(\\oplus\\) denotes addition modulo two. Relating the outputs by \\(a=(-1)^u\\) and \\(b=(-1)^v\\), the winning probability is\n\n\\[P_{\\mathrm{win}}=\\frac12+\\frac{S}{8}.\\]\n\nLocal strategies, even with shared randomness, satisfy\n\n\\[P_{\\mathrm{win}}\\leq\\frac34.\\]\n\nEntangled systems can achieve\n\n\\[P_{\\mathrm{win}} = \\frac{2+\\sqrt2}{4} \\approx0.8536.\\]\n\nCHSH violations also support device-independent quantum information, in which conclusions are drawn from observed input-output statistics without requiring a complete model of the devices’ internal operation. Applications include certifying randomness, establishing security in suitable quantum key-distribution protocols, and constraining the states and measurements used by uncharacterized devices.\n\nThese conclusions remain conditional on assumptions such as isolation of the devices during a trial, independence of the setting choices, and an appropriate physical model. A CHSH violation is therefore a resource for such protocols, not an unconditional certificate of the security or randomness of an entire implementation."
    }
  ],
  "links": [
    "quantum-mechanics",
    "bells-theorem",
    "quantum-entanglement",
    "expected-value",
    "probability-distribution",
    "density-matrix",
    "qubit",
    "spin-angular-momentum",
    "photon",
    "polarization",
    "speed-of-light",
    "spacetime",
    "nobel-prize-in-physics"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}