I am trying to parallelise the function: matching.decode_to_edges_array() to somewhat batch decode, but I am consistently running into the same problem:
TypeError: cannot pickle 'pymatching._cpp_pymatching.MatchingGraph' object .
Any help will be much appreciated! I also want to ask if anyone knows why the batch decode equivalent is not available for this function, it would have been very useful for any sort of correlated decoder. What is the technical reason for not being able to batch decode to edges?
Thanks!