Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/lightsout-updates' into lightsou…
Browse files Browse the repository at this point in the history
…t-updates
  • Loading branch information
lucasberent committed Dec 11, 2024
2 parents c830bd2 + b7f7c4b commit 8f9017d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/python/cc_decoder/test_max_sat_sinter_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def detector_error_model() -> stim.DetectorErrorModel:


def test_decode_shots_bit_packed(detector_error_model: stim.DetectorErrorModel) -> None:
""" test bit packed shot decoding """
"""Test bit packed shot decoding."""
bit_packed_shots = np.array([[0, 0]]).astype(np.uint8)
max_sat_stim = MaxSatStim(detector_error_model)
sinter_decoder = SinterCompiledDecoderMaxSat(max_sat_stim)
Expand All @@ -328,7 +328,7 @@ def test_decode_shots_bit_packed(detector_error_model: stim.DetectorErrorModel)


def test_decode_via_files(detector_error_model: stim.DetectorErrorModel) -> None:
""" test via file decoding """
"""Test via file decoding."""
decoder = SinterDecoderMaxSat()
result = decoder.compile_decoder_for_dem(detector_error_model)
assert result.decoder is not None
Expand Down

0 comments on commit 8f9017d

Please sign in to comment.