Questions tagged [pymatching]
The pymatching tag has no usage guidance.
30
questions
0
votes
1
answer
33
views
`predictions` and `fault_ids` in Stim and PyMatching for surface code decoding
When I tried to use Stim and PyMatching to decode errors in a Rotated Planar code, I noticed that, Regardedless of the code distance, predictions.shape, as well as ...
0
votes
0
answers
33
views
See error samples in Stim+Pymatching [duplicate]
I have a surface code circuit written in Stim. Following Stim's intro I can use sinter to get logical error rates. I'd like to see what error patterns could lead to ...
0
votes
1
answer
36
views
explain_detector_error_model_errors complains "no single circuit error had these exact symptoms"
I am using the explain_detector_error_model_errors() method, unfortunately I am receiving this: ...
0
votes
1
answer
32
views
Parallelizing decode_to_edges_array (PyMatching)
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:
...
0
votes
1
answer
35
views
Remove edges from PyMatching matching graph / Copy Matching object
I am simulating a surface code where the edges in the syndrome graph change slightly from shot to shot based on erasures that occur in the circuit (i.e. I have a syndrome graph corresponding to the ...
0
votes
1
answer
36
views
Sinter, decode_to_edges_array
Does anyone know if sinter has the capability of decoding to edges array? It's a method in the pymatching.
Thanks.
1
vote
1
answer
74
views
Stim: output decoded/predicted locations of Pauli errors
I created some Stim circuits to do circuit-level noise simulations of some Hyperbolic surface codes, and I was able to recover the thresholds in the literature. The detector error model is good at ...
3
votes
1
answer
167
views
What is the best way to parallelise processes across multiple cores when computing logical error rates with Stim and PyMatching?
I am currently trying to compute logical error rates for the surface code using Stim's detector error models and PyMatching for different distances and noise strengths.
tl;dr : What is the best ...
1
vote
1
answer
110
views
How can we decode non CSS codes like XZZX code with Pymatching?
I am trying to use Pymatching to decode some non CSS codes like the XZZX code. Pymatching is a perfect decoder for CSS codes, which can work effectively even of a large code distance. I have tried to ...
1
vote
1
answer
78
views
How can I use surface code measurement data produced with Qiskit to run matching algorithms (e.g. PyMatching)?
I built a complex time-space dependent error model with Qiskit, and I am simulating surface codes with such error model to test their error correction capabilities. Qiskit supplies measurement data as ...
1
vote
2
answers
176
views
How to force PyMatching into the opposite equivalence class
PyMatching finds the minimum weight matching, which will belong to a particular equivalence class. But sometimes it is useful to know the minimum matching of each equivalence class.
In the olden days, ...
2
votes
1
answer
292
views
What is OBSERVABLE_INCLUDE in Stim and what is usefulness Pymatching
I have a question about the role of OBSERVABLE_INCLUDE within Stim circuits and how Pymatching uses it in order to decode syndromes. As far as I have understood from the documentation, ...
0
votes
1
answer
100
views
Is it possible to adjust the weights of a pymatching graph after it is created?
I'd like to adjust the characteristics of a pymatching graph (specifically the edge weights of individual edges) to explore the effects on the decoding process.
While the ...
0
votes
1
answer
77
views
Pymatching: Will starting with arbitrary weights affect the MWPM decoding process?
I am trying to examine the effect of weights on the performance of MWPM decoder on 5-repetition code as a simple example from Pymatching2. The idea is to vary the input weights by changing the error ...
1
vote
1
answer
123
views
Using Pymatching to decode lattice surgery process
I want to simulate the error correction procedure for a CNOT gate on surface code and RHG cube, made by the lattice surgery process of "merge and split".
In this case, the code has an H-...