CSS product code  0.1
C++ library to estimate distance of CSS codes. Some particular construction of CSS codes are implemented.
product.cpp File Reference
#include "weilei_lib/weilei_lib.h"
#include <itpp/itbase.h>
#include <ctime>

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)
 

Detailed Description

Author
Weilei Zeng This code produce two random quantum codes and construct concatenated codes and reduced code. Then check their distance.

Definition in file product.cpp.

Function Documentation

◆ main()

int main ( int  args,
char **  argv 
)

Definition at line 34 of file product.cpp.

◆ simulate()

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.

Parameters
mode1 for random, 2 for check, 3 for two identical code ( or reversed)
sub_mode_Arandom construction or enumerate all cases with give size
sub_mode_Brandom 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.