Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
67 views

Simulating error correction of multiple commuting logical operators with stim and pymatching

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
0 answers
43 views

Resource Estimation with Stim

To implement the Splitting method in an architecture using Stim and PyMatching for resource estimation at low error rates ( $10^{-6}$ ), where Monte Carlo simulation is ineffective, I recently found a ...
Melisa Ege's user avatar
0 votes
1 answer
97 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
1 answer
76 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: ...
user avatar
0 votes
1 answer
57 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: ...
user avatar
0 votes
1 answer
52 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
44 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.
user avatar
1 vote
1 answer
90 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 ...
user avatar
3 votes
1 answer
188 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
116 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
2 votes
1 answer
464 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
197 views

Using Deterministic Errors in Stim Detector Circuit and decoding with Pymatching: X_ERROR(1) failing in PyMatching

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

Can Stim and PyMatching analyze logical error rate of non-deterministic observable?

In Stim, logical observable has to be deterministic. To calculate the logical error rate, we compare the actual_observables sampled with stim circuit and ...
Jerry's user avatar
  • 49
0 votes
1 answer
420 views

How is the match graph extracted from a stim.circuit.detector_error_model?

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
  • 49
1 vote
1 answer
106 views

Using PyMatching for CSS code with more than two Stabilizers per qubit

I am implementing QEC cycles for CSS codes and using PyMatching for decoding. Since I can quickly obtain the parity-check matrix, PyMatching is convenient. However, when I try to use it for CSS codes ...
Unknown's user avatar
  • 63
2 votes
1 answer
113 views

PyMatching.Matching.decode() returns incorrectly sized array

I have having trouble getting the decode(...) function for a pymatching.Matching object to return an array of an appropriate ...
Ian's user avatar
  • 94