---
title: "Quantum entanglement, Bell tests and dephasing | Sandbox Physics"
description: "Use joint probabilities to distinguish a Bell pair from a shared classical response, and see which correlations dephasing weakens."
canonical_url: "https://sandboxphysics.com/learn/quantum-physics/entanglement-and-correlations/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/learn/quantum-physics/entanglement-and-correlations/"
last_modified: "2026-11-24"
---

[Volume 6 · Quantum Physics](https://sandboxphysics.com/learn/quantum-physics/)

# How do two systems produce quantum correlations?

Use joint probabilities to distinguish a Bell pair from a shared classical response, and see which correlations dephasing weakens.

Before you start: [Chapter 5](https://sandboxphysics.com/learn/quantum-physics/two-level-systems-and-measurement/) on measurement bases and [Volume 5 Chapter 2](https://sandboxphysics.com/learn/heat-and-statistics/molecular-motion-and-pressure/) on probability distributions.

After this chapter you can: Calculate a Bell correlation from four setting pairs and explain how dephasing affects the result.

A pair can give a random result at either detector while its joint outcomes depend strongly on both detector settings. A Bell test combines correlations at four settings to ask whether a local response model could account for them. An entangled state can exceed that model's limit. Which correlations survive depends on how the pair interacts with its surroundings.

Chapter 5 calculated probabilities in different measurement bases. Volume 5, Chapter 2, separated joint and conditional probabilities. Here we use both ideas for a pair of polarization measurements.

## 7.1 Local probabilities hide some of the information in a pair

Use horizontal and vertical polarization as the basis states $\lvert H\rangle$ and $\lvert V\rangle$. For a pair, write $\lvert HH\rangle$ when both components are horizontal and similarly for the other combinations. A Bell pair can be prepared in the pure state

$$
\lvert\Phi^+\rangle=
\frac{\lvert HH\rangle+\lvert VV\rangle}{\sqrt 2}.
$$

Measuring both photons in the horizontal and vertical basis gives two joint outcomes, horizontal–horizontal and vertical–vertical, with probability one half each. Either photon alone looks equally likely to be horizontal or vertical. A source that randomly sends one of those two product states has the same statistics in that basis.

Now rotate both detectors by $45^\circ$. In the coherent pair, amplitudes for opposite outcomes cancel. The two outcomes still match every time. The random mixture gives four equally likely outcomes in this basis. A joint pure state that cannot factor into two individual states is entangled. Changing the measurement basis exposes the relative phase between its two terms. [MIT 8.06, Entanglement, Density Matrices, and Decoherence](https://www.ocw.mit.edu/courses/8-06-quantum-physics-iii-spring-2016/fc8347d83390a876ee665fbbfd9b2d7f_MIT8_06S16_chap3.pdf).

## 7.2 Four correlations test the limit of a local response

Let the two detectors use settings $i$ and $j$, each zero or one. Give each detector outcome a sign, $+1$ or $-1$. The correlation $E_{ij}$ is the mean product of the two signs at that setting pair. The CHSH combination is

$$
S=E_{00}+E_{01}+E_{10}-E_{11}.
$$

In a local response model, each trial can carry a common random variable. For a fixed value of that variable, write the two possible local responses as $A_0,A_1$ and $B_0,B_1$. Each is a sign and each detector's response depends only on its own setting. Independent local randomness can be averaged over as part of the response table. The expression for one deterministic table is

$$
A_0(B_0+B_1)+A_1(B_0-B_1).
$$

If the two B signs agree, the first parenthesis is twice a sign and the second is zero. If they disagree, the roles reverse. Every table gives either plus or minus two. If the setting choices are independent of the source, all four correlations average over the same distribution of tables, so $|S|\le2$. [Clauser, Horne, Shimony and Holt, 1969](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.23.880).

For the Bell state in Section 7.1, linear polarizers at angles $a$ and $b$ give agreement probability $\cos^2(a-b)$. For example, the amplitude for both positive outcomes projects the two horizontal components and the two vertical components, then adds them. The negative–negative amplitude gives the same probability. The correlation is

$$
E(a,b)=2\cos^2(a-b)-1=\cos\bigl(2(a-b)\bigr).
$$

Choose $a_0=0^\circ$, $a_1=45^\circ$, $b_0=22.5^\circ$ and $b_1=-22.5^\circ$. The first three correlations are $+1/\sqrt2$, the last is $-1/\sqrt2$, and the result is $S=2\sqrt2$.

Each detector still has equal probabilities for its two outcomes whichever setting the other detector uses. The Bell sum requires both parties' records. Hensen and colleagues tested a CHSH inequality with entangled electron spins at separated sites and reported $S=2.42\pm0.20$ in 245 trials. A two-photon detection signaled a successfully prepared spin pair, and fast random settings chose the readout bases. [Hensen et al., 2015](https://arxiv.org/abs/1508.05949).

## 7.3 Pair counts give a correlation for each setting

Open [Bell Correlations & CHSH](https://sandboxphysics.com/labs/bell-chsh/), choose **Entangled pair**, leave the angles and efficiencies at their defaults, and select **Acquire all four settings** once. Each simulated trial has randomly chosen settings. For a setting with both detectors responding, count same-sign pairs as positive and opposite-sign pairs as negative. Subtract the two counts and divide by their sum. Repeat with **Local response model** and a fresh acquisition.

- Entangled source
- Local comparison
- Model prediction

**Figure 7.1** The four analyzer setting pairs. The last correlation is subtracted in the CHSH sum, so a negative value in that group increases the sum.

**Table 7.1** Correlations from two simulated acquisitions with seed 1969 and 3200 trials each. All trials have two outcomes at these settings. Each correlation uses its own setting group's trial count.

| Source | E00 | E01 | E10 | E11 | CHSH sum |
| --- | --- | --- | --- | --- | --- |
| Entangled | +0.7143 | +0.6951 | +0.6830 | −0.6769 | 2.7692 |
| Local response | +0.4856 | +0.4708 | +0.5314 | −0.4590 | 1.9467 |

The ideal local response in the Lab gives $S=2$. The finite local count estimate lies near two and its interval spans the bound. For the entangled run the Lab's fixed-sample 95% interval is about $[2.318,3.220]$. These intervals describe variation in the simulated counts under the chosen protocol. If you lower detector efficiency, the Lab records misses and can assign each miss a fixed positive result for an all-trial comparison. Dropping missed trials instead changes the population being compared and requires a fair-sampling assumption.

## 7.4 Phase loss can leave the level populations unchanged

A density matrix records both outcome weights and coherence. Its diagonal entries in a chosen basis are the probabilities in that basis. Its off-diagonal entries connect different basis components. For example, when the environment loses the phase between the horizontal–horizontal and vertical–vertical terms, their two populations can stay fixed while the coherence between them shrinks. The matching outcomes in the original basis can survive even while correlations in another basis weaken. [MIT 8.06, Entanglement, Density Matrices, and Decoherence](https://www.ocw.mit.edu/courses/8-06-quantum-physics-iii-spring-2016/fc8347d83390a876ee665fbbfd9b2d7f_MIT8_06S16_chap3.pdf).

Open [Decoherence Channels & Information Loss](https://sandboxphysics.com/labs/decoherence-channels/) and choose **Lose phase**. This Lab models a single two-level system, starting with equal level populations and a definite relative phase. The model reduces transverse coherence by $\mathrm e^{-\Gamma_\varphi t}$ while keeping the population difference fixed. At the default end time $2.00\,\mathrm{ms}$, with rate $\Gamma_\varphi=1.00\,\mathrm{ms^{-1}}$, the model positive probability along $x$ is about $0.568$, and the probability along $z$ remains $0.500$. Select **Count three bases**. The seeded run gives 217, 199 and 200 positives in 400 trials per basis along $x$, $y$ and $z$, respectively. The separate **Relax to ground** setting gives 373 positives along $z$ in its seeded 400 trials. This comparison separates phase damping from a change in energy populations.

The joint-state description extends to many particles. For quantum statistics, combine the thermal weights from Volume 5, Chapter 6, with the exchange symmetry of identical particles and count the allowed occupation states. To study a solid, first specify the lattice and the interactions between its sites. A joint spin measurement can then show which neighbors align even when the mean spin of each site is zero.

## 7.5 Exercises

1. In state $\lvert\Phi^+\rangle$, both detectors measure horizontal or vertical. Find the joint probability of two horizontal outcomes and the probability for the left detector alone to report horizontal.
2. Compare the pair in Exercise 1 with an equal mixture of two product states, both horizontal or both vertical. What happens if both detectors rotate by $45^\circ$?
3. Suppose a local response table has $A_0=+1$, $A_1=-1$, $B_0=-1$ and $B_1=+1$. Calculate its contribution to the CHSH sum.
4. A setting group has 90 same-sign and 30 opposite-sign pairs. Calculate its correlation.
5. Use the four ideal angle choices in Section 7.2. What happens to the CHSH sum if all the ideal correlations are multiplied by $0.60$?
6. In four groups a finite simulated experiment estimates a CHSH sum slightly above two. What else must you look at before concluding the result exceeds the local limit?
7. In a qubit model, phase damping erases off-diagonal terms in the energy basis. What happens to the energy populations, and which measurement can reveal the change?
8. Can the left detector learn the right detector's setting from its own results alone for the ideal Bell pair? Explain using conditional measurement settings and the marginal distribution.

## 7.6 Answers and explanations

Exercise 1

The both-horizontal outcome has probability $1/2$. The left detector reports horizontal only in that outcome in this basis, so its own horizontal probability is also $1/2$.

Exercise 2

The coherent pair still gives matching outcomes after the equal rotations. In the mixture, either original product state gives independent half probabilities at each rotated detector. The mixture gives all four outcomes with equal probabilities.

Exercise 3

The first parenthesis is zero and the second is $-2$. Multiplying the second by $A_1=-1$ gives $S=2$ for that table.

Exercise 4

The mean sign product is $(90-30)/(90+30)=0.50$. Same-sign products count positively and opposite-sign products count negatively.

Exercise 5

The sum is linear in the correlations, so it becomes $0.60(2\sqrt2)\approx1.697$. It lies below two for these angles.

Exercise 6

Check the uncertainty from finite trials and whether the trial selection, detector misses and setting choices support the comparison with the local bound. A point estimate alone can be above two because of count fluctuations.

Exercise 7

The energy populations stay fixed because they are the diagonal terms in that basis. A measurement in a basis that combines the two energy components can respond to the loss of relative phase.

Exercise 8

For either choice at the right, the left outcome probabilities are one half and one half. Summing the joint probabilities over the right result gives the same marginal. The right setting matters when the two records are compared.

## Test it in the Lab

Change one setting at a time, then compare what you see with the tables and answers in this chapter.

[Bell Correlations & CHSH → Turn two polarization analyzers, collect all four setting combinations, and compare entangled photons with a local model while keeping missed detections. Then check an ideal event-ready test against its source, switching and detection timestamps; the check never drops trials from the Bell data.](https://sandboxphysics.com/labs/bell-chsh/) [Decoherence Channels & Information Loss → Watch the level populations and the phase alignment as two separate things. Predict what phase damping changes, then compare it with relaxation into a cold bath. Check the final state with three independent sets of simulated counts, and move on to state reconstruction and decay fits when you are ready.](https://sandboxphysics.com/labs/decoherence-channels/)

## Sources and reading scope

1. [MIT 8.06 Quantum Physics III, Chapter 3 Entanglement, Density Matrices, and Decoherence](https://www.ocw.mit.edu/courses/8-06-quantum-physics-iii-spring-2016/fc8347d83390a876ee665fbbfd9b2d7f_MIT8_06S16_chap3.pdf)

   The chapter describes joint quantum states, reduced states and the effect of decoherence on phase-dependent correlations.

2. [John F. Clauser et al., Proposed Experiment to Test Local Hidden-Variable Theories](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.23.880)

   The proposal combines correlations from four measurement settings into an inequality that can test local hidden-variable theories.

3. [Bas Hensen et al., Experimental Loophole-free Violation of a Bell Inequality Using Entangled Electron Spins Separated by 1.3 km](https://arxiv.org/abs/1508.05949)

   The experiment measures spin correlations with separated stations and reports the statistical evidence for violation of a Bell inequality.

[← Chapter 6 · How do atoms turn energy gaps into frequency measurements?](https://sandboxphysics.com/learn/quantum-physics/atomic-spectra-and-ramsey/)

Chapters in this volume

- [1. How do single detections build up an interference pattern?](https://sandboxphysics.com/learn/quantum-physics/single-event-interference/)
- [2. How does a wave function predict position and momentum?](https://sandboxphysics.com/learn/quantum-physics/wave-functions-and-uncertainty/)
- [3. How does a prepared quantum state evolve?](https://sandboxphysics.com/learn/quantum-physics/quantum-state-evolution/)
- [4. Why does a quantum particle cross a barrier it cannot climb?](https://sandboxphysics.com/learn/quantum-physics/quantum-tunneling/)
- [5. How do we read out a two-state quantum system?](https://sandboxphysics.com/learn/quantum-physics/two-level-systems-and-measurement/)
- [6. How do atoms turn energy gaps into frequency measurements?](https://sandboxphysics.com/learn/quantum-physics/atomic-spectra-and-ramsey/)
- [7. How do two systems produce quantum correlations?](https://sandboxphysics.com/learn/quantum-physics/entanglement-and-correlations/)

## Keep reading

Interactive Physics Textbook · Reading path

### Quantum Physics

1. [Article **How do single detections build up an interference pattern?**](https://sandboxphysics.com/learn/quantum-physics/single-event-interference/)
2. [Article **How does a wave function predict position and momentum?**](https://sandboxphysics.com/learn/quantum-physics/wave-functions-and-uncertainty/)
3. [Article **How does a prepared quantum state evolve?**](https://sandboxphysics.com/learn/quantum-physics/quantum-state-evolution/)
4. [Article **Why does a quantum particle cross a barrier it cannot climb?**](https://sandboxphysics.com/learn/quantum-physics/quantum-tunneling/)
5. [Article **How do we read out a two-state quantum system?**](https://sandboxphysics.com/learn/quantum-physics/two-level-systems-and-measurement/)
6. [Article **How do atoms turn energy gaps into frequency measurements?**](https://sandboxphysics.com/learn/quantum-physics/atomic-spectra-and-ramsey/)
7. [You are here **How do two systems produce quantum correlations?**](https://sandboxphysics.com/learn/quantum-physics/entanglement-and-correlations/)

1 more group

### Other articles that use the same experiments

Each experiment from this article that another series also uses, followed by the articles there.

1. [Lab **Bell Correlations & CHSH**](https://sandboxphysics.com/labs/bell-chsh/)
2. [Article **How Bell tests distinguish quantum correlations**](https://sandboxphysics.com/stories/quantum-evidence/bell-tests-correlations-loopholes/)
3. [Article **Freedman and Clauser test Bell’s inequality with calcium light**](https://sandboxphysics.com/stories/quantum-evidence/freedman-clauser-coincidence-normalization/)
4. [Article **Aspect changes the analyzers while photons are in flight**](https://sandboxphysics.com/stories/quantum-evidence/aspect-switching-spacetime-records/)
5. [Article **A readiness signal makes the Bell trial countable**](https://sandboxphysics.com/stories/quantum-evidence/event-ready-bell-trials-finite-statistics/)
6. [Article **Photon Bell tests keep the trials where detectors stay silent**](https://sandboxphysics.com/stories/quantum-evidence/photon-bell-losses-optical-trials/)
7. [Article **Three-photon GHZ correlations defeat a shared answer sheet**](https://sandboxphysics.com/stories/quantum-evidence/ghz-parity-three-photon-records/)
8. [Article **How the 1997 photon experiment transferred a quantum state**](https://sandboxphysics.com/stories/quantum-evidence/quantum-teleportation-conditional-records/)
9. [Article **The later measurement sorts earlier photon detections**](https://sandboxphysics.com/stories/quantum-evidence/delayed-choice-swapping-sorted-records/)
10. [Article **Reconstructing a photon state from calibrated counts**](https://sandboxphysics.com/stories/quantum-evidence/photon-tomography-counts-physical-states/)
11. [Lab **Decoherence Channels & Information Loss**](https://sandboxphysics.com/labs/decoherence-channels/)
12. [Article **How to measure one quantum system and keep it available**](https://sandboxphysics.com/stories/quantum-evidence/single-quantum-measurement-backaction/)
13. [Article **A cavity cat loses coherence before it loses its energy**](https://sandboxphysics.com/stories/quantum-evidence/cavity-cat-coherence-energy-decay/)
14. [Article **Counting stored photons one atom at a time**](https://sandboxphysics.com/stories/quantum-evidence/qnd-photon-counting-atomic-records/)
15. [Article **Keeping a chosen number of photons in a cavity**](https://sandboxphysics.com/stories/quantum-evidence/quantum-feedback-photon-number-verification/)
