PPolySim OS

Stern-Gerlach Experiment

Measure a spin along a new axis and it snaps to up or down — never in between. The experiment that revealed quantum measurement and spin.

Stern-Gerlach ExperimentLive

Controls

Presets

Atoms prepared spin-up are measured along an axis tilted by θ. Quantum mechanics says each atom randomly comes out up or down, with probability cos²(θ/2) for up — never a fraction. At 90° it is a perfect coin flip; at 180° it always flips. The running tally converges to the Born-rule probability.

▶ Run in Python

Data Inspector

P(up) theory0.750
Measured up0.0%
Atoms1

Governing equation

Reading this result: Tilted by 60°, the analyzer still favors up: theory predicts P(up) = cos²(θ/2) ≈ 0.75, and the tally converges there.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →
★ Sign in to save this setup
Save your tuned setup, or drop this simulation into your own site, docs, or course page.

How it works

Atoms prepared spin-up are sent through an analyzer tilted by an angle θ. Each atom emerges up with probability cos²(θ/2) and down otherwise — a discrete, random outcome, not a smooth fraction. At 90° it is a fair coin flip; at 180° every atom flips. Running many atoms, the tally converges to the Born rule, the core of quantum measurement.

✦

Ask the AI about this model

The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.

More Quantum simulations

Frequently asked questions

Is this Stern-Gerlach spin experiment tool really free?▾
Yes. Stern-Gerlach Experiment runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?▾
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?▾
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?▾
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.