what are the kinds of gates in physics