|
CSS product code
0.1
C++ library to estimate distance of CSS codes. Some particular construction of CSS codes are implemented.
|
Go to the documentation of this file.
11 #include <itpp/itbase.h>
24 std::string
red_text(std::string str);
47 bool is_quantum_code(itpp::GF2mat &Gx,itpp::GF2mat &Gz, itpp::GF2mat &Cx,itpp::GF2mat &Cz);
67 int matPrint(itpp::mat G,
char * name = (
char *)
" ");
74 itpp::GF2mat
kron(itpp::GF2mat A, itpp::GF2mat B);
89 itpp::GF2mat
get_GF2mat(
char * filename_prefix,
char * filename_suffix);
94 itpp::GF2mat
get_GF2mat(
char * parent_folder,
char * folder,
char * filename);
103 int mat2gnudata(itpp::mat data, std::string filename, std::string header);
int matPrint(itpp::mat G, char *name=(char *) " ")
itpp::GF2mat get_GF2mat(char *filename_prefix, char *filename_suffix)
std::string blue_text(std::string str)
std::string red_text(std::string str)
itpp::GF2mat kron(itpp::GF2mat A, itpp::GF2mat B)
int mat2gnudata(itpp::mat data, std::string filename, std::string header)
std::string NumberToString(int pNumber)
itpp::GF2mat make_it_full_rank(itpp::GF2mat fat)
std::string color_text(std::string str)
itpp::GF2mat append_vector(itpp::GF2mat G, itpp::bvec b)
double get_error_density(itpp::GF2mat E)
common function shared by many program
int GF2matPrint(itpp::GF2mat &G, std::string name)
bool is_quantum_code(itpp::GF2mat &G_x, itpp::GF2mat &G_z)