Anomaly inflow, dualities, and quantum simulation of abelian lattice gauge theories induced by measurements | Synapse