Skip to content

Commit

Permalink
Merge branch 'avoid-exploring-multiple-minima' of https://github.com/…
Browse files Browse the repository at this point in the history
…Qiskit-Extensions/circuit-knitting-toolbox into avoid-exploring-multiple-minima
  • Loading branch information
ibrahim-shehzad committed May 14, 2024
2 parents d931ec6 + 6ce2d5e commit d774c5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions circuit_knitting/cutting/cut_finding/best_first_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,13 +327,12 @@ def get_stats(self, penultimate: bool = False) -> SearchStats | None:
if penultimate:
return self.penultimate_stats

search_stats = SearchStats(
return SearchStats(
states_visited=self.num_states_visited,
next_states_generated=self.num_next_states,
states_enqueued=self.num_enqueues,
backjumps=self.num_backjumps,
)
return search_stats

def get_upperbound_cost(
self,
Expand Down

0 comments on commit d774c5b

Please sign in to comment.