1. A method of solving a problem, the method comprising: generating a logic circuit representation of the problem using a computer processor; encoding the logic circuit representation as a discrete optimization problem using the computer processor; and solving the discrete optimization problem using a quantum processor, wherein solving the discrete optimization problem using a quantum processor includes configuring the quantum processor to clamp at least one output of the logic circuit representation and operating the quantum processor to determine at least one input to the logic circuit representation that corresponds to the at least one clamped output.