Skip to content

Fixing examples #32

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

Merged
merged 4 commits into from
Jun 17, 2025
Merged

Conversation

sannesg
Copy link
Contributor

@sannesg sannesg commented Jun 16, 2025

I have just fixed one example that is the ToyExample.ipynb so that it uses one of the new max k-cut classes instead of the MaxCut class that no longer exists.

@@ -31,7 +31,7 @@ def __init__(
else:
self.infeasible = ["101", "110", "111"]
elif self.k_cuts == 6:
if self.color_encoding in ["Dicke1_2", "max_balanced"]:
if self.color_encoding in ["Dicke1_2", "max_balanced"]:
Copy link
Member

Choose a reason for hiding this comment

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

remove white space change

@sannesg sannesg force-pushed the fixing_examples branch 2 times, most recently from c9ac05b to 7742ab9 Compare June 17, 2025 12:17
@fgfuchs fgfuchs merged commit 7497ae6 into OpenQuantumComputing:main Jun 17, 2025
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