PPolySim OS
For Educators · Stern-Gerlach

Stern-Gerlach for a Rabi oscillation

Built for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs. Simulate a Rabi oscillation live below — adjust the inputs and watch it respond, right in your browser.

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 →

More with Stern-Gerlach

Frequently asked questions

Is this good for educators?
Yes — this version of "Stern-Gerlach for a Rabi oscillation" is framed for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.