Skip to main content

Questions tagged [pymatching]

Filter by
Sorted by
Tagged with
1 vote
0 answers
48 views

Based on the paper “Sparse Blossom: Correcting a Million Errors per Core Second with Minimum-Weight Matching,” my understanding is that the MWPM decoder performs minimum-weight matching between the ...
Jayb's user avatar
  • 15
1 vote
1 answer
148 views

TLDR: I'm aware of how to generate a Stim circuit and sample detection events though am unable to more than 'observe' without using automated tools to decode which is not what I am looking to use. I'd ...
Augusta Lina's user avatar
0 votes
1 answer
141 views

From this answer, I understand that stim can not be used to simulate non-stabilizer circuit. However, one can still have non-deterministic observables with 50-50 probability. Suppose for example ...
Himanshu's user avatar
  • 247
0 votes
1 answer
88 views

I am trying to test heavy-hex quantum error correction code and its decoding using mwpm (pymatching). However, I am not able to figure out how can I create a heavy-hex code in stim and deploy detector ...
F1_light's user avatar
1 vote
1 answer
139 views

Suppose I am preparing a logical $|+\rangle_L$ state in surface code. This requires resetting all qubits to $|+\rangle^{\otimes N}$ and then measure $Z$-stablizers. This process creates a bunch of $X$-...
Himanshu's user avatar
  • 247
1 vote
1 answer
117 views

I am running some experiments on the surface code where I need the correction that satisfies $H.e=s$ and not the prediction of whether the observable has flipped or not from pymatching. I am trying to ...
control freak's user avatar
0 votes
1 answer
93 views

In surface code, the weight connecting two nodes is determined using the Manhattan distance. However, in arXiv:2303.15933, the expansion of a region is illustrated using circles based on the radius ...
Jayb's user avatar
  • 15
1 vote
1 answer
122 views

Consider the decoding of noisy syndrome using pymatching (as shown here) for the repetition code. The logical operator in this case is simply identity matrix. One could write the python code as ...
Himanshu's user avatar
  • 247
1 vote
1 answer
165 views

I am trying to do decoding in presence of measurement error and bit-flip error for the repetition code. In the PyMatching version 0.2.2 https://pypi.org/project/PyMatching/0.2.3/ it mentions that To ...
Himanshu's user avatar
  • 247
0 votes
0 answers
150 views

I'm trying to simulate error correction with the Floquet Color Code. On the torus, this code has two logical qubits. For efficiency, I'm want to simulate two commuting logical operators at the same ...
Gilad Kishony's user avatar
0 votes
1 answer
284 views

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
1 answer
109 views

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: ...
user avatar
0 votes
1 answer
84 views

Does anyone know if sinter has the capability of decoding to edges array? It's a method in the pymatching. Thanks.
user avatar
4 votes
1 answer
352 views

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 ...
LiminalQubit's user avatar
2 votes
1 answer
318 views

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
2 votes
1 answer
966 views

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
174 views

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
2 votes
1 answer
315 views

I'm going through pymatching tutorial on constructing a toric code using hypergraph product of two repetition codes. The hypergraph product code construction $H G P\left(H_1, H_2\right)$ takes as ...
tomek's user avatar
  • 321
1 vote
0 answers
100 views

I run the surface code for distance-3 with 3 round. I am now trying to decode and find the number of failures. My error probability of 0.08. Here are my syndrome results: ...
quest's user avatar
  • 704
1 vote
1 answer
325 views

the Question Is there a standard way to use deterministic errors (so, for instance, X_ERROR(1)) in Stim with PyMatching? Currently, sometimes if I use ...
bumble13's user avatar
1 vote
1 answer
651 views

Let's say we have an error mechanism error(0.1) D7 D8 ^ D9 D10 ^ D13 D15. I understand that Stim is trying to decompose the complex errors into graphlike errors. It ...
Jerry's user avatar
  • 79
5 votes
3 answers
704 views

To detect and correct for errors in a topological quantum memory (toric code for example) one needs a quantum error correction algorithm also known as decoder. The minimum weight perfect matching (...
francois-marie's user avatar
3 votes
1 answer
146 views

I am interested in looking into histogram distributions of decoder timing for different syndrome inputs (sourced from stim) into pymatching. Unfortunately, it seems the histograms I product are more a ...
Ian's user avatar
  • 94
0 votes
1 answer
360 views

In the simplest case, let's assume we have distance 2 surface code. The X stabilizers will be: X1X2X3 and X3X4X5 which is shown by the red lines. So the parity check matrix will be: $$ \begin{bmatrix}...
quest's user avatar
  • 704
1 vote
1 answer
342 views

I am looking the example of toric code in Pymatching. Here is the code: ...
quest's user avatar
  • 704