Invertible logic using a probabilistic magnetoresistive device model has been recently presented that can compute functions in bidirectional ways and solve several problems quickly, such as factorization combinational optimization. In this article, we present design framework for invertible circuits. Our approach makes use of linear programming to create Hamiltonian library with the minimum num...