How to solve an optimization problem using quantum computing, compared to a traditional solution — There are many problems that require finding the maximum or minimum of a function, called the objective function, that depends on several (or many) variables; certain constraints may or may not need to be applied to the variables. The variables could be binary, integer, elements in sets, floating point, etc…