Questions tagged [surface-code]
The surfaces codes are a family of quantum error correcting codes defined on a 2D lattice of qubits. Each code within this family has stabilizers that are defined equivalently in the bulk, but they differ in their boundary conditions.
190 questions
0
votes
2
answers
40
views
How can contantenated codes help qubits be robust to ionizing radiation?
In Quantum error correction below the surface code threshold, it was discovered that correlated errors set a noise floor of $10^{-10}$ for Willow. In Beyond NISQ: The Megaquop Machine, Preskill's ...
1
vote
0
answers
44
views
Compiling logical operators from joint measurements
Lattice surgery on surface codes, and recent generalisations to QLDPC codes, perform computation via sequences of joint logical measurements.
A lot of work has gone into reducing the space-time ...
3
votes
1
answer
85
views
Does the syndrome extraction circuit determine the threshold for the surface code?
The examples of the surface code threshold in Stim all use an optimal syndrome extraction circuit. These measure the CNOT gates in an N or Z pattern and this is known to be fault tolerant.
Suppose I ...
2
votes
1
answer
63
views
Question regarding the vanishing of syndromes(excitations) in the boundaries of the symmetric rotated surface code
I've begun looking at Logical blocks for fault-tolerant topological quantum computation, and I've come across something in their diagrams of the XZZX code that is confusing me, in Fig 4.
They state ...
2
votes
1
answer
59
views
Propogation of errors on syndrome qubits to data qubits in the surface code
This might be a simple thing, but I couldn't find much on it in the usual sources, like Surface codes: Towards practical large-scale quantum computation. They talk about erros on syndrome qubits, but ...
3
votes
0
answers
67
views
How does the surface code have four twist defects, one at each corner?
In Craig Gidney’s Y Basis paper he states “Recall that a surface code patch has four twist defects, one at each corner” and cites Ben Brown et al.’s ‘Poking’ paper. I do not understand how to ...
2
votes
1
answer
131
views
Stablizer expression(parity check matrix) to system Hamitonian for a quantum error correction code
Given a stablizer expression (parity check matrix) of a quantum error correction code, how to obtain its system Hamitonian? I am not sure whether this is correct: for toric code, its Hamitonian is ...
0
votes
1
answer
74
views
Why are the outputs of a CCZ factory so high?
In https://arxiv.org/abs/1905.08916, the CCZ factory looks like this (minus the lower-distance T factories):
Why are the outputs so high? It seems like they could be "used", i.e., directly ...
2
votes
0
answers
73
views
How does the expansion step for state injection in surface code lattice surgery work?
Looking at the oringal paper on lattice surgery on the surface code, the expansion step of the state injection process is meant to take $$\alpha|0\rangle_{L}+\beta|1\rangle_{L}$$ to a larger surface ...
1
vote
1
answer
74
views
Measurement of a surface code patch - how many detectors in Stim after the final round?
I am looking at the Stim code for a surface code patch after the final measurement. This usually has a detector that looks at multiple elements. I am struggling to understand which elements should be ...
1
vote
1
answer
54
views
Why does this pair measurement scheme for surface code works?
I found this measurement scheme for surface code, from some paper, and it goes like this: Suppose we want to measure a weight 4 X stabilizer from the surface code:
The initial stabilizers are X1X2X3X4,...
1
vote
0
answers
37
views
Magic T gates need Real-time Error Correction integrated to the QPU Stack or only Pauli-frame Update?
I am aware of the initial paper by Barbara Terhal- Quantum Error Correction for Quantum Memories, where it is stated that
Let $r_{proc}$ be the rate (in bauds) at which syndrome bits are processed ...
3
votes
1
answer
56
views
Are toric codes (surface codes) doubly even, therefore have transversal $S$?
From this site and this post, doubly even codes have transversal $S$.
Based on this post, surface codes don't have transversal $S$ gates. We can check the boundary stabilizers of surface codes are not ...
1
vote
1
answer
70
views
Why does measuring the $X$ stabilisers at the boundary for rough merging give $X_{L}X_{L}$
In the paper Surface code quantum computing by lattice surgery, for rough merging, they state that measuring the $X$ stabilisers at the boundary is equivalent to $X_{L}X_{L}$.
What I don't understand ...
0
votes
1
answer
44
views
Are rough and smooth boundaries (or primal and dual) always Z stabilisers and X stabilisers?
I've been going through a lot of literature on surface codes and lattice surgery, and I keep running into the issue of different papers, at least to me, changing their definition of rough and smooth (...
1
vote
1
answer
158
views
Are the preparations of a logical state in a surface code random and do we need to update the stabilizers after preparation?
Reading Fowler et al, there is something in regards to the intialisation of the surface code in a logical state (ie a state of a logical operator) that is confusing me.
I can think of two examples ...
3
votes
1
answer
140
views
Measurement of a logical operator in a Foliated Surface Code
I am reading Universal Fault Tolerant Measurement Based Quantum Computing. On page 6, under the section Measurement-based qubit transmission, it states that measurement of the logical operators is ...
0
votes
1
answer
119
views
What are existing ways to do logical CZ gates on the surface code?
The surface code is a CSS code, so assuming all-to-all connectivity (unrealistic on most physical platforms), the logical CNOT can be implemented transversally. In a biplanar architecture, the setup ...
1
vote
1
answer
80
views
What is the physical operation behind "moving edges" and "moving corners" in Litinski's game of surface codes paper?
I was reading Litinski's A game of surface codes (https://quantum-journal.org/papers/q-2019-03-05-128/pdf/). In the introduction (page 2), the paper talks about operations like "moving edges"...
0
votes
0
answers
35
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 ...
2
votes
1
answer
140
views
Advantages and disadvantages of rotated surface code
I think one of the advantages of rotated surface code is that it can express surface code with fewer physical bits. Are there any other advantages?
Also, are there any disadvantages compared to ...
0
votes
1
answer
42
views
Realization of Surface code, can an eigenvalue of -1 be taken?
I have a question about the implementation of Surface Code. I understand that Surface Code is a stabilizer state defined by plaquette operators and vertex operators, meaning it is a state where the ...
1
vote
1
answer
94
views
Why can Pauli errors $E$ be decomposed as $E=T(S)LG$ with $T(S)$ "pure errors"?
I have a question about the decomposition of Pauli errors.
Pauli error $E \in \{I,X,Y,Z\}^{{\bigotimes}n}$ that satisfies the syndrome $S$ can be decomposed into a product of pure error $T(S)$, ...
2
votes
1
answer
118
views
Fault-tolerant Bell measurement in the surface code
How do you do a fault tolerant Bell measurement in the surface code?
Experimentally how do you do a Bell state measurement? Is it just a CNOT and a Hadamard and then a measurement in the computational ...
0
votes
1
answer
71
views
Obtaining and Applying XX and ZZ Parity in Stim for Controlled Paulis
I am attempting to perform a CNOT between two surface code qubits in Stim, based on this paper by Daniel Litinski and Felix von Oppen.
The CNOT they perform is shown in the figure below (Figure 3 from ...
0
votes
3
answers
138
views
Does the threshold estimation of the surface code not need a fault-tolerant setup?
The threshold estimation of the $[[9,1,3]]$ surface code in stim's getting started tutorial extracts the syndromes by having a single ancilla for each stabilizer generator. It is the same setup as in ...
0
votes
1
answer
59
views
Why do Surface codes generate so much measurement data?
I read in the Sparse Blossom paper: "A surface code superconducting quantum computer with a million physical qubits will generate
measurement data at a rate of around 1 terabit per second".
...
2
votes
1
answer
99
views
Locally transforming a color code into two surface codes
I've heard before that there are 2d-local unitary operations that transform color code stabilizers into two sets of surface code stabilizers. Globally this would presumably do things like transform a ...
1
vote
1
answer
238
views
Is there a proof in the literature of magic state injection for surface codes?
Proofs of correctness for fault-tolerance schemes rarely give tight constants for error correction performance. However, they do provide formal reasoning that a scheme is correct and all the pieces ...
1
vote
1
answer
40
views
Simulating an ideal circuit with surface code
In a seminal paper AGP, the authors proved the threshold theorem and obtained a threshold for concatenated Steane code $[[7^k,1,3^k]]$. One thing to note is that, to ensure fault-tolerance, error ...
0
votes
1
answer
68
views
Is there a relation between number of non-equivalent logical operators and number of logical qubits?
I've been reading this blog post about surface code and it says
There are four non-equivalent types of loops: the trivial ones (stabilizers), the horizontal ones ($X_1$ operator), the vertical ones ($...
0
votes
1
answer
70
views
error correction after lattice surgery for merging
Imagine you have merged two surface codes with lattice surgery by measuring all the stabilizers and treating both surface codes as one surface code, then are we doing error correction before or after ...
0
votes
1
answer
188
views
Confusion about lattice-surgery operation
According to https://arxiv.org/abs/1111.4022, to perform a logical CNOT using lattice surgery, three patches of surface codes are needed and nearest neighbour operations are performed. However, I ...
4
votes
1
answer
91
views
How does the surface code satisfy constraints of relativity?
Consider a surface code in the shape of a rectangle that has very very long horizontal edges and very short vertical edges. I initialize the surface code into the logical state $\vert 0\rangle$.
Let's ...
1
vote
1
answer
218
views
State injection in a surface code
I am reading this paper on lattice surgery by Dominic Horsman
et al, and am struggling to understand a simple method they put forward in their Figure 8(a)(b)(c) to inject an arbitrary state into a ...
0
votes
1
answer
33
views
Fault tolerance of turning off a stabilizer measurement for later rounds of error correction?
Suppose during a smooth lattice merge operation, I perform one round of error correction, treating the two code patches as one single lattice that stretches across the intermediate qubits. Then, one ...
0
votes
1
answer
137
views
Surface code with measurement errors
I am trying to implement error correction to a surface code with circuit-based noise model. In this model, there is a probability $p$ for an error in: initialization, Hadamard, CZ (or CNOT) and ...
1
vote
1
answer
110
views
How is Magic State Distillation (MSD) compatible with Stabiliser Measurement?
Suppose I have the rotated surface code in which I want to inject a $T$-state. What I don't get it is: suppose we do end up with the logical state $|0_L\rangle+e^{i\pi/4}|1_L\rangle$, then we must ...
3
votes
1
answer
130
views
How is a surface code state measured?
What is the exact operation required to measure the logical state of a surface code? Does one need to measure every data qubit, or only some subset of them to perform the measurement?
For simplicity, ...
3
votes
1
answer
83
views
Can you produce Non-Clifford gates via Lattice Surgery?
Is there any theorem stating that lattice merge/split operations (or perhaps more generally, so-called gauge-fixing) cannot produce a non-Clifford gate that can complete the universal gateset for the ...
2
votes
0
answers
70
views
How can I obtain the rotated surface code from the original unrotated one?
I am trying to understand the equivalence between the original planar surface code and the rotated version.
Looking at Tomita and Svore's paper (2014), they say
"The number of qubits [from ...
2
votes
3
answers
417
views
Rotated surface code vs unrotated surface code - Boundary stabilizers
I use these image for the questions below:
When we look at the surface code, we can define it in two slightly different ways.
The first figure shows a way where we keep all the data qubits and ...
0
votes
1
answer
337
views
Initialization of surface code into a logical state
I read this nice answer about how to initialize a surface code into a logical state but have a basic question about it.
If I take a surface code patch with all physical qubits in the $\vert 0\rangle$ ...
1
vote
1
answer
69
views
What is the reason for qubit indexing in Stim's surface code skipping some indices?
A very silly question perhaps but why does Stim skip certain numbers when it initializes the surface code? For example, a distance 2 surface code has 4 data qubits and 3 ancilla qubits. The Stim ...
1
vote
1
answer
66
views
Relating different surface code diagrams
How do I relate the surface code plaquette and vertex stabilisers of this depiction of the surface code (where the qubits are the edges):
to this depiction (measurement qubits are the black dots, ...
8
votes
1
answer
879
views
What exactly is a subsystem code?
I'm sure I'm just tripping up on terminology here. I'm new to the wonderful field of QEC, and so far am familiar with the stabiliser formalism and basic codes such as the generic surface code. I keep ...
3
votes
0
answers
81
views
How many $ [[9,1,3]] $ surface codes are there?
Two codes are said to be equivalent if their code spaces are related by a non-entangling gate, i.e., a gate from $U(2)^{\otimes n} \rtimes S_n$, the local unitaries together with permutations.
The ...
3
votes
1
answer
189
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 ...
1
vote
1
answer
145
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 ...
1
vote
1
answer
147
views
Lattice surgery and real-time decoding
This question pertains to the real-time classical processing required while running the surface code.
Consider two logical patches $P$, $P'$. Let's assume that after $d$ rounds, a ...