Truth Table to Complex Gates - Search