6

The surface code comes in both odd-distance and even-distance forms. Color codes always seem to come in odd-distance. Presumably this is due to the fact that the X and Z observables overlap at the boundary of a color code, and they must anticommute, forcing an odd boundary length. But is this actually a constraint, or are there ways to get nice even-distance color codes? What if implicit assumptions are dropped, like planar vs toric topology or the usage of two-color-type boundaries instead of pauli-type boundaries?

enter image description here

Craig Gidney
  • 44,299
  • 1
  • 41
  • 116

4 Answers4

4

Color codes on a torus or with boundaries of two colors (as you suspected) that encode 4 and 2 logical qubits respectively can have even distance. For a general view on that, see for example

To my knowledge, there hasn't been done much work on concrete examples, but e.g.

shows a distance 6 planer color code.

Craig Gidney
  • 44,299
  • 1
  • 41
  • 116
jold
  • 68
  • 6
3

I think toric color codes always have even distance, e.g. enter image description here

from https://arxiv.org/abs/quant-ph/0703272.

squiggles
  • 1,200
  • 5
  • 11
3

This is more of a train of thoughts than a full answer, but I think it makes a case for the need to relax some assumptions.

You are probably aware of color codes layed on a torus that have an even distance. The question is then: can we find an even distance color code that encodes only one qubit?

In a typical color code, I would argue that any set of qubits that is the support of a $Z$ logical operator is also the support of an $X$ logical operator. Indeed, any $X$ stabilizer can be paired with a $Z$ stabilizer acting on the same qubits, so a $Z$ Pauli operator that commute with all the $X$ stabilizers will naturally be paired with a $X$ Pauli operator commuting with all the $Z$ stabilizers.

Moreover, either both or none of them are the product of some stabilizers thanks to the correspondence between stabilizers, so either both or none of them act non-trivially on the logical state. If the color code encodes only one logical qubit, then each non-trivial $Z$ (or $X$) logical operator must anticommute with its same support $X$ (or $Z$) counterpart. In particular, this is true for the logical operator with the lowest weight, so the distance of the code should be odd.

I am not familiar with more complex boundaries, but I think you would need to have some $Z$ stabilizers that are not paired with same support $X$ stabilizers to break the symmetry between logical operators.

I wonder if anything can be deduced from the unfoldability property of color codes...

AG47
  • 1,575
  • 3
  • 16
2

One way to get an even distance color code is by making a square patch that alternates between GB and RG boundaries on its sides. This has two logical qubits instead of one. For example, here is an [[18, 2, 4]] color code:

enter image description here

Craig Gidney
  • 44,299
  • 1
  • 41
  • 116