Impact of atmospheric turbulence on secret key rate in QKD

In summary, the conversation discusses a calculation on secret key rate over a turbulence channel using Python code. The code includes functions for log-normal and rate calculations and plots the results for different values of sigma. The discussion also raises a question about the accuracy of the results and a possible problem in the calculation. After further analysis, it is discovered that the issue may lie in the exponential function used in the log-normal calculation, which can result in a very small value for small values of sigma.
  • #1
Nur Ziadah
35
3
TL;DR Summary
Clarification on the calculation of SKR over turbulence channel.
I have the calculation on secret key rate over the turbulence channel using Python code. The calculation is as below:
Python:
import numpy as np
import math
import re
import random
import cmath 
#import itertools
from math import pi,e,log
import time
#import xlwt
import matplotlib.pyplot as plt
from scipy.interpolate import splinex=np.linspace(0,1,1000)

def log_normal(x,sigma):
    y=1/(x*sigma*np.sqrt(2*np.pi))*np.exp(-(np.log(x/0.3)+(1/2*sigma*sigma))**2/(2*sigma*sigma))

    return ydef R(x,nd,Y0,ed):
    nsys = x*nd
    QBER=((1/2*Y0)+(ed*nsys))/(Y0+nsys)
    H2=-QBER*np.log2(QBER)-(1-QBER)*np.log2(1-QBER)
    out = (Y0+nsys)*(1-(2*H2))
    return outdef out(x,nd,Y0,ed,sigma):

    term1 = log_normal(x,sigma)
    term2 = R(x,nd,Y0,ed)

    return term1*term2

hyp = (0.25,1*(10**-5), 0.03,0.9) #nd,Y0,ed,sigmalg = log_normal(x[1:],hyp[3])

r = R(x[1:],hyp[0],hyp[1],hyp[2])
plt.plot(np.log10 ( out(x,hyp[0],hyp[1],hyp[2],0.9) ),label = "sigma = 0.9" )
plt.plot(np.log10 ( out(x,hyp[0],hyp[1],hyp[2],0.3) ) ,label = "sigma = 0.3")
plt.plot(np.log10 ( out(x,hyp[0],hyp[1],hyp[2],0.6) ) ,label = "sigma = 0.6")

plt.title("Rate")
plt.legend()
plt.show()

Theoretically, the SKR is low in high turbulence (sigma=0.9) and the SKR is high in low turbulence (sigma=0.3). However, after I ran this code, I get the wrong plot:

245757


245759

From the graphs, it can be seen at y-axis that the SKR under strong turbulence is higher compared to weak turbulence and vice versa. What is the problem in my calculation? Anyone, please help me. Thank you.
 

Attachments

  • 1561622976705.png
    1561622976705.png
    3.8 KB · Views: 144
Physics news on Phys.org
  • #2
I have no idea about the underlying physics but the result fits to the code you wrote.

R is the same in both cases, let's focus on log_normal(x,sigma), especially the exponential function there:

exp(-(np.log(x/0.3)+(1/2*sigma*sigma))**2/(2*sigma*sigma))
Formatted:
$$\exp\left(\frac{-(\log(x/0.3)+1/2 \,\sigma^2)^2}{2\sigma^2}\right)$$
Your x range is from 1 to 1000, let's look at 300 for example: 300/0.3 = 1000, log(1000)=3. Plug it in and simplify a bit:
$$\exp\left(\frac{-(6+\sigma^2)^2}{8\sigma^2}\right)$$ As ##\sigma<1## we can neglect the right term and get approximately $$\exp\left(\frac{-36}{8\sigma^2}\right)$$
For small ##\sigma## the exponent is very large (here is a plot) and the expression is very small.
 
  • Like
Likes Nur Ziadah
  • #3
mfb said:
I have no idea about the underlying physics but the result fits to the code you wrote.

R is the same in both cases, let's focus on log_normal(x,sigma), especially the exponential function there:

exp(-(np.log(x/0.3)+(1/2*sigma*sigma))**2/(2*sigma*sigma))
Formatted:
$$\exp\left(\frac{-(\log(x/0.3)+1/2 \,\sigma^2)^2}{2\sigma^2}\right)$$
Your x range is from 1 to 1000, let's look at 300 for example: 300/0.3 = 1000, log(1000)=3. Plug it in and simplify a bit:
$$\exp\left(\frac{-(6+\sigma^2)^2}{8\sigma^2}\right)$$ As ##\sigma<1## we can neglect the right term and get approximately $$\exp\left(\frac{-36}{8\sigma^2}\right)$$
For small ##\sigma## the exponent is very large (here is a plot) and the expression is very small.
Thank you for your explanation. ;)
 
  • Like
Likes berkeman

1. What is atmospheric turbulence and how does it affect secret key rate in QKD?

Atmospheric turbulence refers to the random fluctuations in air density and temperature that occur in the Earth's atmosphere. These fluctuations can cause changes in the polarization and phase of light, which can negatively impact the transmission of quantum states in QKD systems. This can result in a decrease in the secret key rate, as errors and losses in the transmission of quantum states can lead to a lower quality of the shared key.

2. How does the strength of atmospheric turbulence affect the secret key rate in QKD?

The strength of atmospheric turbulence, which is measured by the refractive index structure constant, directly impacts the secret key rate in QKD. Higher levels of turbulence lead to a higher degree of distortion in the transmitted quantum states, resulting in a lower secret key rate. This is because the more distorted the quantum states are, the more errors and losses occur in the transmission, reducing the quality of the shared key.

3. Can atmospheric turbulence be mitigated in QKD systems?

Yes, there are various techniques that can be used to mitigate the effects of atmospheric turbulence in QKD systems. These include adaptive optics, which use real-time measurements to correct for the distortions caused by turbulence, and spatial mode multiplexing, which allows for multiple quantum states to be transmitted simultaneously to increase the chances of successful transmission. However, these techniques may come with additional costs and complexity.

4. Are there certain weather conditions that make atmospheric turbulence worse for QKD?

Yes, atmospheric turbulence is typically worse in certain weather conditions, such as high wind speeds, temperature inversions, and high levels of humidity. These conditions can lead to stronger and more frequent fluctuations in air density and temperature, which can significantly impact the transmission of quantum states in QKD systems.

5. How can the impact of atmospheric turbulence be measured in QKD systems?

The impact of atmospheric turbulence on QKD systems can be measured using various metrics, such as the bit error rate (BER), the quantum bit error rate (QBER), and the secret key rate. These metrics can be used to evaluate the quality of the shared key and determine the level of atmospheric turbulence present in the system. Additionally, specialized instruments such as scintillometers and wavefront sensors can be used to directly measure the strength of turbulence in the atmosphere.

Similar threads

  • Programming and Computer Science
Replies
1
Views
1K
  • Other Physics Topics
Replies
1
Views
2K
  • Programming and Computer Science
Replies
3
Views
2K
  • Advanced Physics Homework Help
Replies
7
Views
1K
  • Programming and Computer Science
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
Back
Top