Motivation
Request to add 2d color codes like the Steane code [7, 1, 3] code and 3d color code like the tetrahedral code [15,1,3] code to the code library.
These codes have interesting sets of transversal operations, particularly the [15, 1, 3] code which has transversal T gate.
Proposed solution
Similar to
rep_code = RepetitionCode(distance=3, stabiliser_type=PauliBasis.Z)
We can do
steane_code = SteaneCode(...)
or
qRM = qRMCode(...)
And more generally
color_2d = ColorCode(dim = 2, distance = 3, ...)
and for 3d
color_3d = ColorCode(dim = 3, distance = 3, ...)
Potential alternatives
No response
Additional context
No response
Motivation
Request to add 2d color codes like the Steane code [7, 1, 3] code and 3d color code like the tetrahedral code [15,1,3] code to the code library.
These codes have interesting sets of transversal operations, particularly the [15, 1, 3] code which has transversal T gate.
Proposed solution
Similar to
rep_code = RepetitionCode(distance=3, stabiliser_type=PauliBasis.Z)We can do
steane_code = SteaneCode(...)or
qRM = qRMCode(...)And more generally
color_2d = ColorCode(dim = 2, distance = 3, ...)and for 3d
color_3d = ColorCode(dim = 3, distance = 3, ...)Potential alternatives
No response
Additional context
No response