The Quine-McCluskey method is a systematic technique for minimizing Boolean functions expressed in sum-of-products form. It involves (1) finding all prime implicants of the function, (2) constructing a prime implicant table with prime implicants as columns and minterms as rows, and (3) selecting the minimum set of prime implicants that cover all minterms to obtain the minimal SOP expression. The method can be applied to Boolean functions with any number of inputs to derive optimized logic circuit designs.