Skip to main content

Questions tagged [toric-code]

The toric code is a topological quantum error correcting code, and an example of a stabilizer code defined on a two-dimensional spin-lattice. It is the simplest and most well studied of the quantum double models (first studied in the context of Z2 spin liquid in 1991). It is also the simplest example of topological order—Z2 topological order. The toric code can also be considered to be a Z2 lattice gauge theory in a particular limit. (Wikipedia)

0 votes
0 answers
19 views

Toric Code with stim?

Is there any way to encode toric code with stim with desired error such as erasure error and z error? I have seen their documentation on surface code but that is already encoded. Is there any good ...
Rayhan's user avatar
  • 1
0 votes
0 answers
28 views

What is the role of color in color code? ( theoritically and exprimentally)

We know that the color code has an extra element relative toric code . It is color . I want to know what is the role of color ?
Mohsen's user avatar
  • 1
1 vote
1 answer
39 views

ValueError: non-deterministic detectors while using Stim to simulate Toric code

I am trying to simulate Toric code using Stim. Below is my simple circuit specification in Stim: ...
Mohammad Alam's user avatar
1 vote
1 answer
60 views

3D toric code (2D + measurement errors) has higher threshold error rate $p_{\text{th}}$ than 2D?

I am doing simulations of the toric code using the statistical mapping worked out by Preskill et al., Topological Quantum Memory, [arXiv:quant-ph/0110143], where we find the phase boundary of an Ising ...
JoJo P's user avatar
  • 348
4 votes
1 answer
95 views

Construction of 3D Toric Code

I am currently trying to find a mathematically elegant way to describe the construction of a 3D toric code. Since most literature is on 2D toric codes I was looking there for potential clues on how to ...
Oli's user avatar
  • 41
3 votes
0 answers
61 views

How to address the 2 logical qubits on the toric code individually? In general, how to address $k$ logical qubits in a $[[n,k,d]]$ code independently?

Suppose I have a $[[n,k,d]]$-quantum error correction code. Let us take the toric code $(T^2=S^1 \times S^1)$ as an example. We have 2 logical qubits whose logical operators lie along the different ...
JoJo P's user avatar
  • 348
0 votes
0 answers
101 views

Why does Stim/PyMatching evaluate the threshold error rate differently for even and odd distances?

For the toric code, the threshold error rate value for no measurement errors should be around $p_{th}\approx 0.109$. If simulated with even distances, one finds that this is true. However, when I ...
JoJo P's user avatar
  • 348
1 vote
1 answer
151 views

How to compute Z logical operators of a toric code using Kunneth theorem?

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
  • 137
1 vote
1 answer
219 views

Simulating a small distance surface code with individual qubit addressing

I want to simulate a small-distance surface code with either STIM or Qiskit. I want individual control over all the qubits (including the ancillas) to induce controlled errors in my circuit. I want to ...
Aubrey Sharansky's user avatar
0 votes
1 answer
42 views

Pymatching: 'Matching' object has no attribute 'decode_batch'

I am trying to run the example from documentation: pymatching docs Here is my code: ...
quest's user avatar
  • 624
1 vote
1 answer
77 views

How horizontal loops on the toric code are all undetectable?

I understand that if we have, for example, the blue path doesn't make any check operator detect any error, but what about the red path? We have the check operator detecting since there is just one ...
LittleBlue's user avatar
2 votes
1 answer
253 views

Is there a way to perform a defect-free logical CNOT on the toric code?

I was curious to whether the two logical qubits on the toric code can be entangled through, for instance, a logical CNOT operation. However, I cannot find any information on this, only how you can do ...
JoJo's user avatar
  • 99
1 vote
2 answers
127 views

How to Switch Toric Code to Surface Code (no using STIM!)

Here is the toric code example which I found from :https://pymatching.readthedocs.io/en/latest/toric-code-example.html ...
quest's user avatar
  • 624
1 vote
1 answer
245 views

Pymatching Toric Code vs Surface Code

I am looking the example of toric code in Pymatching. Here is the code: ...
quest's user avatar
  • 624
2 votes
1 answer
177 views

How to get the matched nodes using Matching.decode() in PyMatching?

In the module matching.py of PyMatching, it is possible to construct Matching objects to decode matching graphs using the minimum-weight perfect matching decoder. The ...
francois-marie's user avatar

15 30 50 per page