Original: In general the truth table does not lead to an efficient implementation ; a minimization procedure , using Karnaugh maps , the Quine -- McCluskey algorithm or an heuristic algorithm is required for reducing the circuit complexity .
Simplified: Using the image at the right , if A and B are both in an On state , the output ( out ) will be an On state .