01 · What is a Paul trap?
An electric charge responds to an electric field through F = QE. A purely static electric field cannot trap a charged particle in all three spatial dimensions in charge-free space: this is a consequence of Laplace's equation and Earnshaw's theorem. A radiofrequency (RF) quadrupole trap escapes the static-field restriction by reversing the radial field many times per second. The ion makes a rapid, small micromotion on top of a much slower secular oscillation. For suitable electrical settings, the combined motion remains bounded.
QUADRA uses four long opposing rods arranged around the trap's axial z direction. The positive-x pair and positive-y pair are connected with opposite polarities, approximating an ideal quadrupole near the centre. Separate idealised DC end confinement provides axial restoration without violating Laplace's equation.
02 · Exact equations represented
The modelled potential is Φ = [U + V cos(Ωt)](x² − y²)/(2r₀²) + mωz²[z² − (x²+y²)/2]/(2Q) − Edx cos(ωdt). Here U is DC bias (volts), V the RF peak voltage (volts), Ω the RF angular frequency (radians per second), r₀ electrode distance (metres), Q the ion charge (coulombs), and m its mass (kilograms). A damping term −mγv may be added phenomenologically.
The simulator calculates E = −∇Φ and integrates m d²r/dt² = QE − mγv using fourth-order Runge–Kutta steps at a fixed fraction of one RF cycle. Changing the visual frame rate never changes the physics time step. The chamber rods and translucent vessel are an apparatus illustration; the field itself is the ideal mathematical quadrupole above, not a solution of the finite-rod boundary-value problem.
03 · Mathieu and Floquet stability
With dimensionless time τ = Ωt/2, the radial equations become Mathieu equations. The control panel reports a = 4QU/(mr₀²Ω²) and q = 2QV/(mr₀²Ω²). The axial restoring field changes the effective Mathieu parameters to ax = a − 2ωz²/Ω² and ay = −a − 2ωz²/Ω²; the sign of q differs between the radial axes. In the Stability atlas, a numerical fundamental solution is carried over one period π to form the monodromy matrix. Both directions are stably bounded when each Floquet trace satisfies |trace| < 2. Close to |trace| = 2, neutral boundary cases need special care.
04 · Field atelier
Begin with Stable trap. Orbit the copper and blue rods; their potential changes sign every half RF period. The translucent horizontal sheet shows instantaneous quadrupole potential, while small arrows indicate the live calculated electric field. Drag a visible ion to change its starting position. Drag the golden probe to measure local |E|. Try increasing V while keeping frequency fixed: micromotion grows and the secular restoring effect can strengthen, until the trap crosses a Mathieu instability.
05 · Stability atlas
Open the stability experiment and inspect the coloured (a,q) chart. Click a point to set a combination of DC and RF voltage at the currently selected mass, frequency and rod spacing. A dark region means both axes are unstable under the ideal model; a light region means both fundamental solutions are bounded. Try the Stability edge preset and notice that changing ion mass or RF frequency shifts the operating point. The chart is solved numerically rather than sketched from a textbook boundary.
06 · Mass separation
Inject a mixed ion cloud. Each ion carries one elementary positive charge, but its mass is different. Since both a and q scale with Q/m, the same trap settings act differently on different species. At sufficiently strong voltage, light Be⁺ ions leave the finite chamber while heavier species may remain. This is a stability-based demonstration, not a calibrated mass-spectrometer ion-count prediction: collisions, space charge and detailed injection optics are omitted. The histogram counts genuine surviving numerical trajectories for each mass.
07 · Resonance and cooling
In Resonance lab, apply a weak sinusoidal x-directed field using the excitation controls. Set nonzero damping to obtain finite response, vary the tone frequency and click Run sweep. Every plotted point comes from a separately integrated, driven trajectory; it is not a fabricated Lorentzian. Compare the strongest response with the low-q secular-frequency estimate fr ≈ Ω√(a+q²/2−2ωz²/Ω²)/(4π). At high q, this estimate loses accuracy.
In Cooling chamber, a drag force −mγv removes kinetic energy. This is a transparent simplified cooling model, not a full laser-cooling calculation with photon recoil or internal atomic levels. Watch the trajectory contract and compare accumulated energy measurements. Because the RF power supply exchanges energy with the ion, instantaneous ion mechanical energy is not conserved even with zero damping.
08 · Experiments to try
Hypothesis A: if you double V at fixed mass and frequency, q doubles. Test with the readout and note where the first stable region ends. Hypothesis B: ions of higher mass at equal charge have smaller q. Compare Be⁺ and Yb⁺. Hypothesis C: the resonant response moves when Ω changes. Record several drive-frequency sweeps. Hypothesis D: a larger γ reduces the visible amplitude after the same number of RF cycles. Run otherwise identical cooling trials and record the measured energies.
09 · Notebook and accuracy
Click Record measurement to save the current calculated coordinates, energy, field and settings; export as CSV for spreadsheet analysis. Graphs are time histories or derived data from the integrator. On parameter changes, the solver retains the present ion positions until Reset; this allows real-time field switching. The visible aperture absorbs ions that pass beyond the ideal chamber radius, a numerical loss boundary rather than a wall-collision model.
Known limits: one-dimensional linear drag, no Coulomb interactions between ions, no residual-gas collisions, no electrode fringing, no stochastic photon recoils, no quantum wavepackets, and one charge state per species. For high-amplitude trajectories, real finite electrodes differ from the analytic quadrupole. Stability is assessed for the homogeneous undamped equations; an applied resonant force can still drive large motion in a nominally stable trap.
10 · Glossary & beyond
Micromotion: rapid oscillation at the RF drive frequency. Secular motion: slower, approximately harmonic motion of the ion envelope. Monodromy matrix: maps two independent solutions forward one forcing period. Floquet stability: bounded behaviour inferred from the eigenvalues of that period map. Pseudopotential: low-q time-averaged approximation to RF confinement. Mass-to-charge ratio: the quantity a quadrupole device effectively separates.
Real applications include trapped-ion quantum computing, precision atomic clocks, mass spectrometry and tests of fundamental symmetry. For further exploration: Why must static end confinement slightly weaken radial confinement? What happens if ions collide, have multiple charge states or interact through Coulomb forces? How would electrode machining error modify the stability atlas?