simulated-bifurcation-algorithm
simulated-bifurcation-algorithm copied to clipboard
Keyboard interrupt
💬 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.
- [x] The code matches the styling rules
- [x] 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
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
68c2541) to head (a06076f). Report is 13 commits behind head on main.
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
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.