Dist m4ri 0.0.1.alpha
Computing distance of a classical or quantum CSS code
Loading...
Searching...
No Matches
Public Attributes | List of all members
TWO_VEC_T Struct Reference

structure to hold two sparse vectors (syndrome,error) in a hash More...

#include <util_hash.h>

Collaboration diagram for TWO_VEC_T:
Collaboration graph
[legend]

Public Attributes

UT_hash_handle hh
 
int * err
 
int w_e
 
int w_s
 
int syn [0]
 

Detailed Description

structure to hold two sparse vectors (syndrome,error) in a hash

hash storage helper functions *** use uthash.h <

Definition at line 25 of file util_hash.h.

Member Data Documentation

◆ err

int* TWO_VEC_T::err

Definition at line 27 of file util_hash.h.

◆ hh

UT_hash_handle TWO_VEC_T::hh

Definition at line 26 of file util_hash.h.

◆ syn

int TWO_VEC_T::syn[0]

Definition at line 33 of file util_hash.h.

◆ w_e

int TWO_VEC_T::w_e

error vector, pointer to arr+w_s weight of error (non-negative)

Definition at line 29 of file util_hash.h.

◆ w_s

int TWO_VEC_T::w_s

weight of syndrome (non-negative)

Definition at line 30 of file util_hash.h.


The documentation for this struct was generated from the following file: