In my world, magic is a gaseous element. Similar to how when particles in water condense to form ice, magic condenses to form or manipulate the world. Likewise how particles expand in water to evaporate, magic particles can expand to become largely unusable by mages.
Now for my world, outside of manipulation by mages I want a technological anti-magic and was wanting it to be electricity. Electricity will cause magical particles to expand and condense along the edges of its effected radius. Also magic can be put into its own form of circuits to do complex tasks.
So my question is what could I do with electricity to counter magic as well as work together with it? Could I combine an electric circuit with a magic one?