CSS product code  0.1
C++ library to estimate distance of CSS codes. Some particular construction of CSS codes are implemented.
lib.h File Reference

lib for general functions, defined within namespace common More...

#include <string>
#include <itpp/itbase.h>

Go to the source code of this file.

Namespaces

 common
 common function shared by many program
 

Functions

std::string common::color_text (std::string str)
 
std::string common::red_text (std::string str)
 
std::string common::blue_text (std::string str)
 
int common::get_time (int mode=1)
 
bool common::is_quantum_code (itpp::GF2mat &G_x, itpp::GF2mat &G_z)
 
bool common::is_quantum_code (itpp::GF2mat &Gx, itpp::GF2mat &Gz, itpp::GF2mat &Cx, itpp::GF2mat &Cz)
 
itpp::GF2mat common::make_it_full_rank (itpp::GF2mat fat)
 
int common::GF2matPrint (itpp::GF2mat &G, std::string name)
 
int common::matPrint (itpp::mat G, char *name=(char *) " ")
 
itpp::GF2mat common::kron (itpp::GF2mat A, itpp::GF2mat B)
 
std::string common::NumberToString (int pNumber)
 
itpp::GF2mat common::append_vector (itpp::GF2mat G, itpp::bvec b)
 
itpp::GF2mat common::get_GF2mat (char *filename_prefix, char *filename_suffix)
 
itpp::GF2mat common::get_GF2mat (char *parent_folder, char *folder, char *filename)
 
double common::get_error_density (itpp::GF2mat E)
 
int common::mat2gnudata (itpp::mat data, std::string filename, std::string header)
 

Detailed Description

lib for general functions, defined within namespace common

Definition in file lib.h.