“Solomonic” gate