Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions _0.helpers_and_metadata/code_metadata.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module CodeMetadata

using QuantumClifford
using QuantumClifford.ECC
import Hecke
import PyQDecoders
import LDPCDecoders

Expand Down Expand Up @@ -86,6 +87,14 @@ const code_metadata = Dict(
:description => "My friend Nithin made this one. It is here as an example placeholder as we built out the page for this code family.",
:redundantrows => true,
),
haah_cubic_codes => Dict(
:family => [([0, 15, 20, 28, 66], [0, 58, 59, 100, 121], 6)],
:decoders => [TableDecoder],
:setups => [CommutationCheckECCSetup],
:ecczoo => "https://errorcorrectionzoo.org/c/haah_cubic",
:errrange => (eᵐⁱⁿ, eᵐᵃˣ, steps),
:description => "The Haah cubic code to protect against simultaneous independent Pauli errors on different sites."
),
)

end
2 changes: 2 additions & 0 deletions _0.helpers_and_metadata/helpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ function instancenameof(x)
end
end
end
# Bad fix to prevent ENAMETOOLONG on LPCodes
str = first(str,20)
str *= ")"
return str
end
Expand Down
Loading