Gadgets and Anti-Gadgets Leading to a Complexity Dichotomy
We introduce an idea called anti-gadgets in complexity reductions. These combinatorial gadgets have the effect of erasing the presence of some other graph fragment, as if we had managed to include a negative copy of a graph gadget. We use this idea to prove a complexity dichotomy theorem for the partition function on 3-regular directed graphs , where each edge is given a complex-valued binary function . We show that is either computable in polynomial time or #P-hard, depending explicitly on .