Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#ifndef __key_rate_utilsb92_HPP
#define __key_rate_utilsb92_HPP
#include <iostream>
#include "utils.hpp"
#include <vector>
#include <map>
#include <cmath>
//namespace Extb92Finite{
using namespace std;
inline map<string,double> AtoB, AtoAref, AtoAproj, trueEs;
double s_entropy(vector<double> E1s, vector<double> E2s, vector<double> Ls, int CAD_level);
double calc_s_term(double E1, double E2, double Lx, int CAD_level);
inline double calc_lambdax(double E1N, double E2N, double big_Lx, int CAD_level);
double H_AB(vector<double> Pij_key);
double h_entropy(double x);
double safe_log2(double x);
//}
//using namespace key_rate_utils;
//namespace key_rate_utils{};
void generateNoiseStatistics(bool SYM_FLAG, double alpha, double Q=.11);
#endif