|
Dist m4ri 0.0.1.alpha
Computing distance of a classical or quantum CSS code
|
Utility functions for use with uthash.h
More...


Go to the source code of this file.
Classes | |
| struct | TWO_VEC_T |
| structure to hold two sparse vectors (syndrome,error) in a hash More... | |
| struct | CW_VEC_T |
| struct | ONE_VEC_T |
Typedefs | |
| typedef struct TWO_VEC_T | two_vec_t |
| structure to hold two sparse vectors (syndrome,error) in a hash | |
| typedef struct ONE_VEC_T | one_vec_t |
Functions | |
| void | one_vec_print (const one_vec_t *const pvec) |
| Print a one_vec_t structure (indices and weight) to stdout. | |
Utility functions for use with uthash.h
Copyright (C) 2022 Leonid Pryadko University of California, Riverside All rights reserved.
Definition in file util_hash.h.
structure to hold two sparse vectors (syndrome,error) in a hash
hash storage helper functions *** use uthash.h <
| void one_vec_print | ( | const one_vec_t *const | pvec | ) |
Print a one_vec_t structure (indices and weight) to stdout.
| pvec | Pointer to the one_vec_t structure. |
Print a one_vec_t structure (indices and weight) to stdout.
The program implements two methods:
A. Dumer, A. A. Kovalev, and L. P. Pryadko "Distance verification..." in IEEE Trans. Inf. Th., vol. 63, p. 4675 (2017). doi: 10.1109/TIT.2017.2690381
author: Leonid Pryadko leoni.nosp@m.d.pr.nosp@m.yadko.nosp@m.@ucr.nosp@m..edu, Weilei Zeng
print entire one_vec_t structure by pointer
Definition at line 32 of file dist_cc.c.
References ONE_VEC_T::vec, and ONE_VEC_T::wei.
Referenced by start_CC_recurs().