You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,11 @@
5
5
6
6
# News
7
7
8
+
## v0.9.18 - 2025-02-19
9
+
10
+
- Fixes for rare crashes in the python BP decoders.
11
+
- Less repetitive error messages.
12
+
8
13
## v0.9.17 - 2025-02-18
9
14
10
15
- New memory structure and matrix inversion function for `random_destabilizer`, to reduce allocations and speed up repeated generation of many random destabilizers.
isnothing(osdmethod) || osdmethod ∈ (:zeroorder, :exhaustive, :combinationsweep) ||error(lazy"PyBeliefPropOSDecoder got an unknown OSD method argument. `osdmethod` must be one of :zeroorder, :exhaustive, :combinationsweep.")
0≥osdorder ||error(lazy"PyBeliefPropOSDecoder got an invalid OSD order argument. `osdorder` must be ≥0.")
62
+
osdorder≥0||error(lazy"PyBeliefPropOSDecoder got an invalid OSD order argument. `osdorder` must be ≥0.")
63
63
osd_order = osdorder
64
64
pyx = ldpc.BpOsdDecoder(np.array(Hx); max_iter, bp_method, error_rate, osd_method, osd_order) #TODO should be sparse
65
65
pyz = ldpc.BpOsdDecoder(np.array(Hz); max_iter, bp_method, error_rate, osd_method, osd_order) #TODO should be sparse
@@ -69,11 +69,13 @@ end
69
69
parity_checks(d::PyBP) = d.H
70
70
71
71
functiondecode(d::PyBP, syndrome_sample)
72
-
row_x =@view syndrome_sample[1:d.nx]
72
+
row_x =@view syndrome_sample[1:d.nx]#TODO figure out a lower-overhead way to move data to python (and make sure the ecc wiki still works after that change -- a lot of the cruft here is because of rare crashes when running the wiki evaluator)
Copy file name to clipboardExpand all lines: src/ecc/ECC.jl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -314,7 +314,7 @@ function faults_matrix(c::Stabilizer)
314
314
s, n =size(c)
315
315
r =rank(md)
316
316
k = n - r
317
-
k == n-s ||@warn"`faults_matrix` was called on an ECC that has redundant rows (is rank-deficient). `faults_matrix` corrected for that, however this is a frequent source of mistakes and inefficiencies. We advise you remove redundant rows from your ECC."
317
+
k == n-s ||@warn"`faults_matrix` was called on an ECC that has redundant rows (is rank-deficient). `faults_matrix` corrected for that, however this is a frequent source of mistakes and inefficiencies. We advise you remove redundant rows from your ECC." maxlog=1
0 commit comments