Bit-flip post-processing can be very long with large QUBOs (size 1000) because it computes a lot of costs $z^\top Q z$
I tried a couple strategies :
1 - Memoization -> doesn't work well as only a slight percentage of bitstrings are seen again (< 5%)
2 - Computing a differential cost instead of a full cost
Solution 2 gives very promising results performance-wise. More testing is necessary to check that its results are correct.
| Qubo Size |
Actual |
Solution 2 |
| 1000 |
40s |
10s |
| 2000 |
550s |
35s |
Bit-flip post-processing can be very long with large QUBOs (size 1000) because it computes a lot of costs$z^\top Q z$
I tried a couple strategies :
1 - Memoization -> doesn't work well as only a slight percentage of bitstrings are seen again (< 5%)
2 - Computing a differential cost instead of a full cost
Solution 2 gives very promising results performance-wise. More testing is necessary to check that its results are correct.