Skip to content

Optimize Bit-flip post-processing #129

Description

@abussy-pasqal

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions