An Algorithm for Computing Generalized Hamming Weights and the Sage Package <tt>GHWs</tt>

We generalize the Brouwer-Zimmermann algorithm, which is the most efficient general algorithm for computing the minimum distance of a random linear code, to the case of generalized Hamming weights. We also adapt this algorithm to compute the relative generalized Hamming weights of a nested pair of linear codes. In the package GHWs , we provide an implementation of this algorithm in Sage, as well as several other utilities for working with generalized Hamming weights. With this implementation, we show that the proposed algorithm is faster than the naive approach of computing the generalized Hamming weights using the definition.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Mathematical Software
Published
2025-10-27
DOI
https://doi.org/10.1145/3773284
Primary Topic
Coding theory and cryptography
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Algorithm for Computing Generalized Hamming Weights and the Sage Package <tt>GHWs</tt>

Rodrigo San–José
ACM Transactions on Mathematical Software
Coding theory and cryptography
article

An Algorithm for Computing Generalized Hamming Weights and the Sage Package <tt>GHWs</tt>

Rodrigo San–José
article en

Abstract

We generalize the Brouwer-Zimmermann algorithm, which is the most efficient general algorithm for computing the minimum distance of a random linear code, to the case of generalized Hamming weights. We also adapt this algorithm to compute the relative generalized Hamming weights of a nested pair of linear codes. In the package GHWs , we provide an implementation of this algorithm in Sage, as well as several other utilities for working with generalized Hamming weights. With this implementation, we show that the proposed algorithm is faster than the naive approach of computing the generalized Hamming weights using the definition.

ACM Transactions on Mathematical SoftwareVol. 51(4)
Universidad de Valladolid (ES)
Openalex Percentile: Top 84%
Coding theory and cryptography
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.