A logic gate is a computer circuit with several inputs but only one output that can be activated by a particular combinations of inputs, a diagram that shows the major gates can be found here. ... A sampling gate, on the other hand is a circuit that produces an output only when first activated by a preliminary pulse.