diff --git a/CHANGELOG.md b/CHANGELOG.md index ce6e6a0ee..ccffc7b4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,10 @@ # News -## v0.9.1 - dev +## v0.9.1 - 2024-03-31 - Implemented `iscss` function to identify whether a given code is known to be a CSS (Calderbank-Shor-Steane) code. -- Implemented the classical Reed-Muller code +- Added the classical Reed-Muller code in the ECC module. - Added the surface code to the ECC module. ## v0.9.0 - 2024-03-19 diff --git a/Project.toml b/Project.toml index b2f1c59ff..2f2bade1e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "QuantumClifford" uuid = "0525e862-1e90-11e9-3e4d-1b39d7109de1" authors = ["Stefan Krastanov "] -version = "0.9.0" +version = "0.9.1" [deps] Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" diff --git a/ext/QuantumCliffordPyQDecodersExt/QuantumCliffordPyQDecodersExt.jl b/ext/QuantumCliffordPyQDecodersExt/QuantumCliffordPyQDecodersExt.jl index 950d85cd0..ab81ca8b1 100644 --- a/ext/QuantumCliffordPyQDecodersExt/QuantumCliffordPyQDecodersExt.jl +++ b/ext/QuantumCliffordPyQDecodersExt/QuantumCliffordPyQDecodersExt.jl @@ -59,12 +59,11 @@ parity_checks(d::PyBP) = d.H function decode(d::PyBP, syndrome_sample) row_x = syndrome_sample[1:d.nx] # TODO These copies and indirections might be costly! row_z = syndrome_sample[d.nx+1:end] - guess_x = PythonCall.PyArray(d.pyx.decode(np.array(row_x))) - guess_z = PythonCall.PyArray(d.pyz.decode(np.array(row_z))) - vcat(guess_z, guess_x) + guess_z_errors = PythonCall.PyArray(d.pyx.decode(np.array(row_x))) + guess_x_errors = PythonCall.PyArray(d.pyz.decode(np.array(row_z))) + vcat(guess_x_errors, guess_z_errors) end - struct PyMatchingDecoder <: AbstractSyndromeDecoder code H