Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimum distance failing for certain overcomplete matrices #23

Open
esabo opened this issue Mar 7, 2024 · 0 comments
Open

Minimum distance failing for certain overcomplete matrices #23

esabo opened this issue Mar 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@esabo
Copy link
Owner

esabo commented Mar 7, 2024

julia> Gray_code_minimum_distance(LinearCode(ToricCode(3).X_stabs))
(0, [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])

Either the information sets are reduced to include a zero row, which is then picked out by a weight one element in the enumeration, or the enumeration vector happens to exactly contain the redundancies of the generators. In both cases, the all-zero vector appears to be a codeword.

Can probably be fixed easily by simply always using the standard form or calling _remove_empty(, :rows) for each information set depending on what the problem is. Using standard form should fix it in both cases.

@esabo esabo added the bug Something isn't working label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant