-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to interpret the matching into a correction as which data qubits are producing errors. #56
Comments
There are a few approaches:
Hope this helps! |
Hi Oscar, Thank you so much for the reply. It's really helpful, particularly the third point. |
Ah I see, so you're interested in inspecting which specific error mechanisms have occurred. I agree that you can't get that information from |
I can roughly capture the idea. But could you shed more lights on "priors"? I don't what the meaning of the word in the context. |
By priors I just mean the probabilities of the error mechanisms given knowledge of the error model, but not the syndrome. E.g. for this detector error model (DEM):
by a prior for an error mechanism I'm referring to the error probability assigned to it in the DEM. If you assign an index to each error mechanism in the DEM (e.g. its row number), you can store the priors as a numpy array, and have a check matrix H representing detectors (e.g. each column is an error mechanism, each row is a detector, H[i,j]=1 iff error mechanism j flips detector i). Likewise, you can construct a logical observables matrix L (where L[i,j]=1 iff error mechanism j flips observable i). You should use
You can construct a |
(But I'm not sure what you're trying to do precisely, so if you don't care about speed then maybe decode_to_edges_array already does all you need) |
Yah, |
Ok great, I'll close the issue in that case, since I already have an open issue to add more documentation |
Hi,
I am using the package to decode an unrotated SC. I used the function of "decode_to_matched_dets_dict" to get the minimum weight perfect match, which shows the pairs of detectors. However, if I wanted to know what is the shortest path between a pair of detectors to get the data qubits that the path passing through, what would be the function suggested? I have searched the document and found nothing related though. I am presuming maybe I should write it on my own?
Thanks!
The text was updated successfully, but these errors were encountered: