Dist m4ri
0.0.1.alpha
Computing distance of a classical or quantum CSS code
Loading...
Searching...
No Matches
src
dist_m4ri.h
Go to the documentation of this file.
1
#ifndef DIST_M4RI
2
/************************************************************************
3
* qLDPC code input utility routines for distance/decoder package
4
*
5
* currently: CSS only
6
*
7
* author: Leonid Pryadko <leonid.pryadko@ucr.edu>
8
************************************************************************/
9
#define DIST_M4RI
10
11
12
16
static
inline
int
cmp_rci_t(
const
void
*a,
const
void
*b){
17
const
int
va= *((
int
*) a);
18
const
int
vb= *((
int
*) b);
19
return
va-vb;
20
}
21
22
23
#endif
/* DIST_M4RI */
Generated by
1.9.8