I try to find my way into quantum computing by a comparison of ocean and qiskit framework. In particular, tests of Linear and Quadratic Programs with Leap and QAOA are the goal.
I also re-implemented the matrix inversion of M. Rogers and R. Singleton from "Floating-Point Calculations on a Quantum Annealer: Division and Matrix Inversion". When running my code I only found the correct solution for Test cases a) and b). 3x3 does not work either.
Therefore, I stumbled through Git and discovered your version. I also ran it and it gives the same wrong results for the other test cases. Do you have any idea why that could be? Using a different offset, etc?
Would be happy to hear back from you, if you ever managed to get it fully running, or have other insights.