Giter Site home page Giter Site logo

communication's People

Contributors

hippke avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

communication's Issues

Issue with the return values of the holevo_perfect and holevo_thermal functions

I believe there is an error in the holevo_perfect and holevo_thermal functions in PyCom.py. In the latter there is the function

def gx(x, eta, M):
return (((1 + x)) * log2(1 + x) - x * log2(x)) / M * eta

whereas I believe it should be

def gx(x, eta, M):
return (((1 + x)) * log2(1 + x) - x * log2(x)) / (M * eta)

That is, the current function is multiplying by eta, not dividing by eta. I believe the division by (M*eta) is correct, as it would ensure that holevo_thermal returns the bits per detected photon. I think this effects some results in the paper https://doi.org/10.1017/S1473550417000507
For example, the value for C_th quoted in Figure 9 would then become 4 bits per (detected) photon (instead of 1) at N_M=0.13, M=1e-5, eta=0.5 (and the plotted curve is then also offset). With eta=0.5, some other results for the capacity (bits per detected photon) may be too low by a factor of 4 (and bits per incident photon by a factor of 2).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.