Skip to content

Commit

Permalink
Removing python warning in decoder info that prevented tests from pas…
Browse files Browse the repository at this point in the history
…sing
  • Loading branch information
pediejo committed Oct 8, 2024
1 parent 8b266c4 commit 03dff0c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/benchq/decoder_modeling/decoder_resource_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ def get_decoder_info(
n_logical_qubits: int,
) -> Optional[DecoderInfo]:
if not decoder_model:
warnings.warn(
"No decoder model provided, cannot estimate decoder resources.",
RuntimeWarning,
)
return None
else:
speed_limit = get_decoder_distance_limit_due_to_speed(hw_model, decoder_model)
Expand Down

0 comments on commit 03dff0c

Please sign in to comment.