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

SAT mapper fix #28

Merged
merged 2 commits into from
Mar 15, 2024
Merged

SAT mapper fix #28

merged 2 commits into from
Mar 15, 2024

Conversation

eggerdj
Copy link
Collaborator

@eggerdj eggerdj commented Mar 9, 2024

Summary

This PR fixes #27 .

Details and comments

The connectivity matrix is now based on zero or greater entries in the distance matrix. Value of -1 (indicating that the swap strategy cannot implement to corresponding edge) are not taken into account. In addition this PR runs black on a few files. The relevant changes are in test_sat_mapping.py and sat_mapper.py. The other files are only black changes.

@eggerdj eggerdj requested a review from ElePT as a code owner March 9, 2024 19:21
Copy link
Collaborator

@ElePT ElePT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to me, but given that this PR modifies the demo_src code, let's hold off the merge until the end of the week.

@a-matsuo
Copy link
Collaborator

LGTM!

@ElePT ElePT merged commit cb29c15 into qiskit-community:main Mar 15, 2024
8 checks passed
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.

Enhance SAT mapper
3 participants