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