Closed royess closed 4 weeks ago
After some checking, I found this is related to the new changes in numpy 2.0.0 (https://pypi.org/project/numpy/2.0.0/#history).
I have reported this bug to Python ldpc
in quantumgizmos/ldpc/issues/40.
To get things temporarily fixed, we may consider degrading numpy version.
a temporary compat bound on numpy would indeed be helpful, probably to be added here https://github.com/QuantumSavory/PyQDecoders.jl/blob/master/CondaPkg.toml as described here https://github.com/JuliaPy/CondaPkg.jl?tab=readme-ov-file#condapkgtoml
The dependency
ldpc
raises an initialization error due to the numpy data type.This is actually an error of the
ldpc
package, which I have exactly reproduced in Python.It seems strange because this is a very new bug to me but the
ldpc
package does not have a new release recently (https://pypi.org/project/ldpc/#history).To be mentioned, this error also makes the decoder tests of
QuantumClifford.jl
fail.The error reads: