ECF 1.5
Public Member Functions | Public Attributes | List of all members
QKD::Stats Struct Reference

Public Member Functions

double BB84Rate ()
 
double SafeLog (double x)
 
double entropy (double x)
 
double HAB (double key00, double key01, double key10, double key11)
 
void cnot ()
 
void symmetric (double Q)
 
void testChannel1 ()
 
void testChannel2 ()
 
void printChannel (std::ostream &f)
 
double randFloat (double small, double large)
 
void generateRandom (double p01, double p10)
 
void chooseRandomVector (double minScale, double maxScale, std::vector< Complex > &v, int startIndex, int endIndex)
 

Public Attributes

double p00
 
double p01
 
double p10
 
double p11
 
double Qx
 
double Qy
 
double p0a
 
double p1a
 
double pa0
 
double p0b
 
double p1b
 
double pb0
 

Detailed Description

Definition at line 48 of file attack.h.

Member Function Documentation

◆ BB84Rate()

double QKD::Stats::BB84Rate ( )

Definition at line 19 of file attack.cpp.

◆ entropy()

double QKD::Stats::entropy ( double  x)
inline

Definition at line 62 of file attack.h.

◆ HAB()

double QKD::Stats::HAB ( double  key00,
double  key01,
double  key10,
double  key11 
)
inline

Definition at line 72 of file attack.h.

◆ printChannel()

void QKD::Stats::printChannel ( std::ostream &  f)
inline

Definition at line 123 of file attack.h.

◆ randFloat()

double QKD::Stats::randFloat ( double  small,
double  large 
)
inline

Definition at line 143 of file attack.h.

◆ SafeLog()

double QKD::Stats::SafeLog ( double  x)
inline

Definition at line 56 of file attack.h.

◆ symmetric()

void QKD::Stats::symmetric ( double  Q)

Definition at line 57 of file attack.cpp.

◆ testChannel1()

void QKD::Stats::testChannel1 ( )
inline

Definition at line 86 of file attack.h.

◆ testChannel2()

void QKD::Stats::testChannel2 ( )
inline

Definition at line 104 of file attack.h.

Member Data Documentation

◆ p00

double QKD::Stats::p00

Definition at line 50 of file attack.h.

◆ p01

double QKD::Stats::p01

Definition at line 50 of file attack.h.

◆ p0a

double QKD::Stats::p0a

Definition at line 52 of file attack.h.

◆ p0b

double QKD::Stats::p0b

Definition at line 53 of file attack.h.

◆ p10

double QKD::Stats::p10

Definition at line 50 of file attack.h.

◆ p11

double QKD::Stats::p11

Definition at line 50 of file attack.h.

◆ p1a

double QKD::Stats::p1a

Definition at line 52 of file attack.h.

◆ p1b

double QKD::Stats::p1b

Definition at line 53 of file attack.h.

◆ pa0

double QKD::Stats::pa0

Definition at line 52 of file attack.h.

◆ pb0

double QKD::Stats::pb0

Definition at line 53 of file attack.h.

◆ Qx

double QKD::Stats::Qx

Definition at line 51 of file attack.h.

◆ Qy

double QKD::Stats::Qy

Definition at line 51 of file attack.h.


The documentation for this struct was generated from the following files: