A computer program product with
computer program mechanism embedded therein is provided. The mechanism has instructions for initializing a
quantum system, which includes a plurality of qubits, to an initialization Hamiltonian HO. The
system is capable of being in one of at least two configurations at any give time including HO and a problem Hamiltonian HP. Each respective first
qubit in the plurality of qubits is arranged with respect to a respective second
qubit in the plurality of qubits such that the first respective
qubit and the second respective qubit define a predetermined
coupling strength. The predetermined
coupling strengths between the qubits in the plurality of qubit collectively define a
computational problem to be solved. The mechanism further comprises instructions for adiabatically changing the
system until it is described by the
ground state of the problem Hamiltonian HP and instructions for reading out the state of the system.