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

Keyboard interrupt #51

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Keyboard interrupt #51

wants to merge 11 commits into from

Conversation

bqth29
Copy link
Owner

@bqth29 bqth29 commented Dec 22, 2023

💬 Pull Request Description

This PR allows the user to stop manually the run of the Simulated Bifurcation algorithm from the terminal (ctrl + C). Instead of an error, the optimizer will return the current state of the spins.

✔️ Check list

Before you open the pull request, make sure the following requirements are met.

  • The code matches the styling rules
  • The new code is covered by relevant tests
  • Documentation was added

🚀 New features

Possibility to manually interrupt the SB algorithm.

🐞 Bug fixes

None

📣 Supplementary information

None

Copy link

codecov bot commented Dec 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (6194a9e) to head (681bad5).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #51   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           36        36           
  Lines         1600      1620   +20     
=========================================
+ Hits          1600      1620   +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bqth29 bqth29 marked this pull request as draft December 22, 2023 20:37
@bqth29 bqth29 marked this pull request as ready for review December 23, 2023 10:16
@bqth29 bqth29 mentioned this pull request Apr 20, 2024
3 tasks
@bqth29 bqth29 added enhancement New feature or request feature New feature performance Improvement of the algorithm's performance and removed enhancement New feature or request labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature performance Improvement of the algorithm's performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant