Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Default simplify to False in qubo_to_ising #67

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

Jacomichi
Copy link
Collaborator

This PR changes the default value of simplify to False in the qubo_to_ising to prevent index mismatches between QUBO and Ising models caused by simplification.

Changes

Modified the default value of simplify parameter in qubo_to_ising from True to False.

This change helps avoid index mismatches that occur when simplifying the Ising model, which can lead to incorrect results when using var_map.

Note

This is a quick fix.
A more comprehensive solution is needed to ensure correct indexing even when simplify=True. This will be addressed in a future update.

Related Issue

#66

@yuyamashiro yuyamashiro merged commit ba44c5f into main Sep 3, 2024
6 checks passed
@yuyamashiro yuyamashiro deleted the hotfix/ising_simplify branch September 3, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants