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)

Filter by
Sorted by
Tagged with
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
100 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
148 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
217 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
40 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
  • 626
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
249 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
  • 626
1 vote
1 answer
233 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
  • 626
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
4 votes
0 answers
71 views

Why are all the error cosets $Q.S$ given the erasure chain $\mathcal E$ and a syndrome $\sigma$ equiprobable? (Delfosse-Zémor)

In arXiv 1703.01517 (published here), a maximum likelihood decoding for qubit loss is explained. A quantum erasure channel erases each qubit independently with some probability $p$ and replaces it ...
Sanchayan Dutta's user avatar
-1 votes
1 answer
274 views

Energy and degeneracy of the ground state and excitations of the toric code

Recall the hamiltonian of the toric code: (information mainly extracted from https://arxiv.org/pdf/1610.09260.pdf) Consider Je=Jm=1. I've been trying to get the exact energies and degeneracies of the ...
MarcPN's user avatar
  • 1
2 votes
1 answer
434 views

Why Is This the Ground State of a Toric Code?

I am currently trying to study the ground state of the Toric Code. I am currently reading this paper. The Hamiltonian is given by the following, where $A_s$'s are the star operators made out a tensor ...
Debbie's user avatar
  • 199
2 votes
1 answer
428 views

What is the Stabilizer of a Code?

I am currently reading the beginning of the paper Topological Quantum Memory and I am confused about one part: The check operators generate an Abelian group, the code’s stabilizer. When I learned ...
Debbie's user avatar
  • 199
2 votes
1 answer
59 views

Questions on Definitions and Concepts Regarding Toric Codes

Currently, I reading the toric code section in the beginning of the paper Topological Quantum Memory. Here are a couple of sections that are somewhat confusing to me. (1) This quote below is under a ...
Debbie's user avatar
  • 199
4 votes
2 answers
827 views

is the minimum weight perfect matching decoder optimal

The toric code and other popular codes can be decoded using minimum weight perfect matching. Is this an optimal decoder? Here by optimal, I mean it gives the best logical error rate vs physical error ...
unknown's user avatar
  • 2,217
2 votes
1 answer
958 views

how to simulate toric and surface codes with stim + PyMatching

According to PyMatching's github page the package can be decode toric and surface codes. Stim's example uses stim + PyMatching combination to get logical error rate vs physical error rate curves for ...
unknown's user avatar
  • 2,217
4 votes
0 answers
110 views

Is the quantum Singleton bound compatible with the Toric Code?

Note: Cross-posted on Physics SE. The quantum Singleton bound states that for an error-correcting code with $n$ physical qubits and $k$ encoded qubits, and some subsystem $R$ of $m$ qubits that can '...
Joe's user avatar
  • 141
9 votes
2 answers
599 views

How does the size of a toric code torus affect its ability to protect qubits?

The Toric code Hamiltonian is: $\sum_{x,y}\left( \prod_{i\in p(x,y)} Z_{ixy} + \prod_{i\in v(x,y)} X_{ixy} \right),$ where the $v$ and $p$ are defined according to this picture (courtesy of James ...
user1271772 No more free time's user avatar