THE UNDERLYING LOGIC OF QUANTUM COMBINATORIAL PROBLEM SOLVING