Figure 3

(a) The truth table and the position of the spin units involved in each term of H B , which governs the minimization of the traveling distance. (b) The physical realization of each term in H B to mimic the truth table. (c) Bottom panel: linear dependence of the values of the voltage sources, V u,v with the distance matrix, W u,v \(({V}_{u,v}={V}_{high}-\frac{{V}_{high}-{V}_{low}}{{W}_{max}-{W}_{min}}({W}_{u,v}-{W}_{min}))\). Top panel: The switching probability curve with applied voltage. The polarity of this external voltage, V u,v tends to switch x u,i from ‘0’ to ‘1’ (opposite of V neighbor ). (d) The physical connection for a 4-city (A,B,C,D) problem with sample Hamiltonian, H B  = W A,B x A,1 x B,2 + W A,C x A,1 x C,2 + W A,D x A,1 x D,2. City A is predetermined to be visited first. (e) The results from a coupled LLG simulation of x B,2, x C,2 and x D,2, keeping x A,1 fixed to ‘1’. ‘100’ is observed to have the highest probability of occurrence, implying that AB is the favorable path. (f) The Hamiltonian, H B vs time, with W AB , W AC and W AD plotted in the same graph. H B is concentrated near the minimum distance (W AB ), as expected.