Choose the qubit angle and number of measurements. Grey bars count branches, orange bars weight them by the Born rule, blue dots are simulated observers.
The idea. In the many-worlds (Everett) reading of quantum mechanics a measurement does not pick one outcome: the state branches, and every outcome occurs in some branch. This sim treats the simplest case, repeated measurements of a qubit cos(θ/2)|up> + sin(θ/2)|down>. After N measurements there are 2N branches, C(N,k) of them with k "up" results.
Born weights. Each branch carries weight pk(1−p)N−k with p = cos²(θ/2); summing over branches with k ups gives the binomial law C(N,k)pk(1−p)N−k with mean Np and variance Np(1−p). Simulated observers (green dots, blue histogram markers) are sampled with exactly these weights.
The measure problem. If one simply counted branches, the typical observer would see about N/2 ups whatever the amplitude, contradicting the experimentally confirmed Born rule. Everett-style approaches must explain why branches carry unequal "weight" (via decoherence, symmetry or decision-theory arguments); the sim shows the numerical gap, it does not resolve it. The second plot shows the number of effective branches 2N·h(p) with the binary entropy h(p) = −p log2p − (1−p) log2(1−p): far fewer than 2N unless p = 1/2.
Honest simplifications. Measurements are independent and instantaneous, with no environment model or decoherence calculation, so "branches" are assumed rather than derived. Whether many-worlds is the right interpretation of quantum mechanics is an open philosophical debate; other interpretations make identical predictions for these statistics. No other branch can be observed.
Checks. All 212 histories are enumerated by brute force for the total weight, mean, variance and entropy, then 200 000 simulated observers are compared bin by bin with the Born formula, and the branch-counting prediction is computed separately.