1
$\begingroup$

I created a distance-3 square surface code circuit, and below is the 'timeline-svg' diagram. enter image description here

Since it would be easier to check where the detectors are detecting errors at each time slice, I use the 'detslice-with-ops-svg' diagram, which is shown below. (PS: I also tried to use 'detslice-svg', but it doesn't work.) enter image description here

My questions are as followings:

  1. What does these plots mean?
  2. Why in the second graph there are two blue squares each missing a corner?
  3. What do the big red and blue circles mean?
  4. Do red and blue area mean Z and X stabilizers? And these areas' deformations mean stabilizer group transformation under unitary operations?
  5. There are some curved edges and leaf-shape areas in some plots. What do they mean?
$\endgroup$
2
  • $\begingroup$ Opened github.com/quantumlib/Stim/issues/502 to fix the detslice-svg case not working. $\endgroup$ Commented Feb 22, 2023 at 19:56
  • $\begingroup$ Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. $\endgroup$
    – Community Bot
    Commented Feb 24, 2023 at 6:43

1 Answer 1

2
$\begingroup$
  1. What does these plots mean?

A detector slice diagram shows, at each moment in the circuit, the stabilizers you get by slicing through the detecting regions of the detectors declared in the circuit.

  1. Why in the second graph there are two blue squares each missing a corner?

Those stabilizers are from slicing the detecting regions of detectors that depend on the reset gate working correctly. The reset gate introduced a Z term into the detecting region, and so the four body stabilizer you get from slicing before the reset becomes a five body stabilizer when slicing after the reset, which is shown as a notched square instead of as a square.

  1. What do the big red and blue circles mean?

Those are single-body stabilizers.

  1. Do red and blue area mean Z and X stabilizers? And these areas' deformations mean stabilizer group transformation under unitary operations?

Yes, except red is X and blue is Z. The color convention is RGB=XYZ; red=X green=Y blue=Z.

  1. There are some curved edges and leaf-shape areas in some plots. What do they mean?

When three points in a stabilizer shape are lined up, it's hard to tell whether the middle point is included in the stabilizer or not. To disambiguate this case, the diagram code notices the problem and uses curved lines instead of straight lines when the middle point is included.

The "leaves" are two body stabilizers.


The notion of a detecting region is explained in "Relaxing Hardware Requirements for Surface Code Circuits using Time-dynamics" which includes some example figures.

A rep code example:

enter image description here

A partial surface code example:

enter image description here

A full surface code cycle example with extra details to make it clearer:

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.