Skip to main content

Questions tagged [pymatching]

The tag has no usage guidance.

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 ...
Yuhang Gu's user avatar
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 ...
Pei-Kai Tsai's user avatar
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: ...
edp23's user avatar
  • 11
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: ...
edp23's user avatar
  • 11
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 ...
J Watty's user avatar
  • 13
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.
edp23's user avatar
  • 11
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 ...
edp23's user avatar
  • 11
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 ...
Ezequiel Rodriguez Chiacchio's user avatar
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 ...
Qingwei Wang's user avatar
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 ...
Marzio Vallero's user avatar
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, ...
James Wootton's user avatar
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, ...
Antoni de Marti 's user avatar
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 ...
Ian's user avatar
  • 94
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 ...
Quantally's user avatar
  • 123
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-...
Yaron Jarach's user avatar

15 30 50 per page