CSS product code  0.1
C++ library to estimate distance of CSS codes. Some particular construction of CSS codes are implemented.
ProductCSSCode Class Reference

#include <product_lib.h>

+ Inheritance diagram for ProductCSSCode:

Public Member Functions

 ProductCSSCode ()
 
 ProductCSSCode (CSSCode codeA_temp, CSSCode codeB_temp)
 
- Public Member Functions inherited from CSSCode
 CSSCode ()
 
 CSSCode (int na, int Gax_row, int id_Gax, int Gaz_row, int id_Gaz)
 
int generate_by_id (int debug)
 
int getRandomCode ()
 
int getGoodCode (int debug)
 
bool is_valid ()
 
void dist ()
 
int min_weight_dist_x ()
 
int min_weight_dist_z ()
 
int rand_dist_x ()
 
int rand_dist_z ()
 
void get_713_code ()
 

Public Attributes

CSSCode codeA
 
CSSCode codeB
 
- Public Attributes inherited from CSSCode
itpp::GF2mat Gx
 
itpp::GF2mat Gz
 
itpp::GF2mat Cx
 
itpp::GF2mat Cz
 
itpp::bvec min_weight_codeword
 
int n
 
int Gx_row
 
int Gz_row
 
int id_Gx
 
int id_Gz
 
int dx
 
int dz
 
int is_defined =0
 
int is_C_defined =0
 

Detailed Description

Definition at line 99 of file product_lib.h.

Constructor & Destructor Documentation

◆ ProductCSSCode() [1/2]

ProductCSSCode::ProductCSSCode ( )
inline

Definition at line 102 of file product_lib.h.

◆ ProductCSSCode() [2/2]

ProductCSSCode::ProductCSSCode ( CSSCode  codeA_temp,
CSSCode  codeB_temp 
)

Member Data Documentation

◆ codeA

CSSCode ProductCSSCode::codeA

Definition at line 101 of file product_lib.h.

◆ codeB

CSSCode ProductCSSCode::codeB

Definition at line 101 of file product_lib.h.


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