Goto Chapter: Top 1 2 3 4 5 Bib Ind
 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 

1 Introduction

1 Introduction

The GAP package QDistRnd implements a probabilistic algorithm for finding the distance of a q-ary quantum low-density parity-check code linear over a finite field F=\mathop{\rm GF}(q). While there is no guarantee of the performance of the algorithm (the existing bounds in the case of quantum LDPC codes are weak, see 3.2-2), an empirical convergence criterion is given to estimate the probability that a minimum weight codeword has been found. Versions for CSS and regular stabilizer codes are given, see Section 4.1

In addition, a format for storing matrices associated with q-ary quantum codes is introduced and implemented, see Chapter 5 and Sec. 4.2. The format is based on the well establised MaTrix market eXchange (MTX) Coordinate format developed at NIST, and is designed for full backward compatibility with this format. Thus, the files are readable by any software package which supports MTX.

The routines in the package are derived from the code originally written by one of the authors (LPP). A related Covering Set algorithm has a provable performance for generic (non-LDPC) quantum codes based on random matrices [DKP17]. Implemented version is a variant of the random information set (IS) algorithm based on random column permutations and Gauss' elimination [Leo88] [Kru89] [CG90].

The GAP computer algebra system was chosen because of its excellent support for linear algebra over finite fields. Here we give a reference implementation of the algorithm, with a focus on matrix formats and generality, as opposed to performance. Nevertheless, the routines are sufficiently fast when dealing with codes of practically important block lengths n\lesssim 10^3.

 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 
Goto Chapter: Top 1 2 3 4 5 Bib Ind

generated by GAPDoc2HTML