levisim.multiphysics.utils.shelf

Ready-made parameter sets and MultiTrap fixtures (defaults, the Fortran comparison system, off-node and phase-dependent systems), built on first use

NOTE on linear stability: not every preset has a steady state. With this module’s DEFAULT_gas_kwargs and DEFAULT_cavity_kwargs (MultiTrap.is_stable, max Re λ of the drift matrix; the full table, for the constructor-default cavity too, is in docs/guide/stability.md and is regenerated by docs/guide/scripts/stability_table.py):

  • FORTRAN_toy_params (8×2) and PHASE_EQUAL_toy_params (1×2 to 4×2) are stable.

  • PHASE_DEPENDENT_toy_params is stable for 1×2 and 2×2, and unstable for 3×2 (Re λ = +626 /s at 290.7 kHz) and 4×2 (+8705 /s at 281.3 kHz): unequal tweezer phases make the cavity-mediated coupling non-reciprocal. With the closer-to-resonance Cavity() defaults 2×2 is unstable too.

  • OFF_NODE_toy_params_pairs is unstable with two or more particles (2×2: +574 /s at 301.0 kHz).

  • every OFF_NODE preset with three axes per particle (N×3) is statically unstable: toy_gz = 170 kHz pulls the slow z motion (Ωz = Ωx/10) through zero frequency (a real eigenvalue, Re λ ~ +4e5 /s).

  • the physical defaults with the built-in tweezer phases (0°, 90°, 20°, …) are unstable for 2×2 (+2678 /s at 134.92 kHz) and 3×2; a second-tweezer phase outside 54.4°-125.6° (mod 180°), e.g. φn_dict={2: 30*degrees}, makes the 2×2 system stable.

MultiTrap logs a WARNING when it builds an unstable system; its spectra are then formal.