![]() |
CSS product code
0.1
C++ library to estimate distance of CSS codes. Some particular construction of CSS codes are implemented.
|
Go to the source code of this file.
Functions | |
int | simulate (string title_str, string note, int mode, int sub_mode_A, int sub_mode_B, int n_low, int n_high, int k_low, int k_high, int debug, SubsystemProductCSSCode code) |
int | main (int args, char **argv) |
Definition in file product.cpp.
int main | ( | int | args, |
char ** | argv | ||
) |
Definition at line 34 of file product.cpp.
int simulate | ( | string | title_str, |
string | note, | ||
int | mode, | ||
int | sub_mode_A, | ||
int | sub_mode_B, | ||
int | n_low, | ||
int | n_high, | ||
int | k_low, | ||
int | k_high, | ||
int | debug, | ||
SubsystemProductCSSCode | code | ||
) |
from given input parameter, generate two CSS codes and check result for subsystem product codes, concatenated codes and higher-dimensional hypergraph product codes.
mode | 1 for random, 2 for check, 3 for two identical code ( or reversed) |
sub_mode_A | random construction or enumerate all cases with give size |
sub_mode_B | random code, identical, or reverse identical generate two codes to make a product code and estimate their distances Now it can run mode=2 enumerate symmetric and reverse symmetric casee and mode=3, enumerate all cases how about case 1? enumerate all cases |
Definition at line 261 of file product.cpp.