Nature Physics, Published online: 15 April 2025; doi:10.1038/s41567-025-02866-0
Spin models that can be emulated by quantum simulators are usually restricted to systems with conserved total magnetization. The tuning of photon-mediated interactions between atoms in a cavity enables the implementation of more general models also useful for quantum sensing tasks.