PPolySim OS
For Hobbyists & Makers · Qubit Playground

Qubit Playground for a mass on a spring

Built for hobbyists & makers exploring it for fun. Play with real physics and math, no license and no setup — just open and tinker. Simulate a mass on a spring live below — adjust the inputs and watch it respond, right in your browser.

Bloch SphereLive

Controls

Presets

Every pure state of a single qubit is a point on the Bloch sphere. The north pole is |0⟩, the south |1⟩, and the equator holds equal superpositions differing only in phase φ. Quantum gates rotate this arrow — the geometric picture behind all single-qubit quantum computing.

▶ Run in Python

Data Inspector

P(|0⟩)0.750
P(|1⟩)0.250
Amplitude α0.866
Amplitude β0.50∠45°

Governing equation

Reading this result: Polar angle θ sets the measurement odds: P(|0⟩)=cos²(θ/2)=0.75, so tilting toward a pole biases the qubit while φ only twists its phase.

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

2

Stern Gerlach

open full solver →
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 Qubit Playground

Frequently asked questions

Is this good for hobbyists & makers?
Yes — this version of "Qubit Playground for a mass on a spring" is framed for hobbyists & makers exploring it for fun. Play with real physics and math, no license and no setup — just open and tinker.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.