|
35 | 35 | keyRatesEURN9 = matEURN9(:,2); |
36 | 36 | keyRatesEURN10 = matEURN10(:,2); |
37 | 37 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 38 | +%% Results PS |
| 39 | +matPSN5 = readmatrix("PS Data/FiniteQubitBB84Adaptive_PS_1.00e+05.csv"); |
| 40 | +matPSN6 = readmatrix("PS Data/FiniteQubitBB84Adaptive_PS_1.00e+06.csv"); |
| 41 | +matPSN7 = readmatrix("PS Data/FiniteQubitBB84Adaptive_PS_1.00e+07.csv"); |
| 42 | +matPSN8 = readmatrix("PS Data/FiniteQubitBB84Adaptive_PS_1.00e+08.csv"); |
| 43 | +matPSN9 = readmatrix("PS Data/FiniteQubitBB84Adaptive_PS_1.00e+09.csv"); |
| 44 | +matPSN10 = readmatrix("PS Data/FiniteQubitBB84Adaptive_PS_1.00e+10.csv"); |
| 45 | + |
| 46 | +keyRatesPSN5 = matPSN5(:,2); |
| 47 | +keyRatesPSN6 = matPSN6(:,2); |
| 48 | +keyRatesPSN7 = matPSN7(:,2); |
| 49 | +keyRatesPSN8 = matPSN8(:,2); |
| 50 | +keyRatesPSN9 = matPSN9(:,2); |
| 51 | +keyRatesPSN10 = matPSN10(:,2); |
| 52 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
38 | 53 | %% Plot |
39 | 54 | % Loss etc. for plotting |
40 | 55 | tempeta = arrayfun(@(x) x.currentParams.transmittance, matN10.results); |
|
59 | 74 | figure |
60 | 75 | set(gcf,'position',[x0,y0,width,height]) |
61 | 76 |
|
| 77 | +% Renyi rates |
62 | 78 | % semilogy(etadB,keyRatesN4,"-o","Color",colorList(1),"DisplayName", sprintf("N = 10^{%.0f}",log10(Nlist(1)))) |
63 | 79 | semilogy(etadB,keyRatesN5,"-o","Color",colorList(2),"DisplayName", sprintf("N = 10^{%.0f}",log10(Nlist(2)))) |
64 | 80 |
|
|
70 | 86 | semilogy(etadB,keyRatesN9,"-o","Color",colorList(6),"DisplayName", sprintf("N = 10^{%.0f}",log10(Nlist(6)))) |
71 | 87 | semilogy(etadB,keyRatesN10,"-o","Color",colorList(7),"DisplayName", sprintf("N = 10^{%.0f}",log10(Nlist(7)))) |
72 | 88 |
|
| 89 | +% EUR rates (All 0 key rates commented out) |
73 | 90 | semilogy(etadB,keyRatesEURN5,"--x","Color",colorList(2),"DisplayName", sprintf("N = 10^{%.0f} (EUR)",log10(Nlist(2)))) |
74 | 91 | semilogy(etadB,keyRatesEURN6,"--x","Color",colorList(3),"DisplayName", sprintf("N = 10^{%.0f} (EUR)",log10(Nlist(3)))) |
75 | 92 | semilogy(etadB,keyRatesEURN7,"--x","Color",colorList(4),"DisplayName", sprintf("N = 10^{%.0f} (EUR)",log10(Nlist(4)))) |
76 | 93 | semilogy(etadB,keyRatesEURN8,"--x","Color",colorList(5),"DisplayName", sprintf("N = 10^{%.0f} (EUR)",log10(Nlist(5)))) |
77 | 94 | semilogy(etadB,keyRatesEURN9,"--x","Color",colorList(6),"DisplayName", sprintf("N = 10^{%.0f} (EUR)",log10(Nlist(6)))) |
78 | 95 | semilogy(etadB,keyRatesEURN10,"--x","Color",colorList(7),"DisplayName", sprintf("N = 10^{%.0f} (EUR)",log10(Nlist(7)))) |
79 | 96 |
|
80 | | -lgd = legend('NumColumns',2); |
| 97 | +% PS rates (All 0 key rates commented out) |
| 98 | +% semilogy(etadB,keyRatesPSN5,"-.^","Color",colorList(2),"DisplayName", sprintf("N = 10^{%.0f} (PS)",log10(Nlist(2)))) |
| 99 | +semilogy(etadB,keyRatesPSN6,"-.^","Color",colorList(3),"DisplayName", sprintf("N = 10^{%.0f} (PS)",log10(Nlist(3)))) |
| 100 | +semilogy(etadB,keyRatesPSN7,"-.^","Color",colorList(4),"DisplayName", sprintf("N = 10^{%.0f} (PS)",log10(Nlist(4)))) |
| 101 | +semilogy(etadB,keyRatesPSN8,"-.^","Color",colorList(5),"DisplayName", sprintf("N = 10^{%.0f} (PS)",log10(Nlist(5)))) |
| 102 | +semilogy(etadB,keyRatesPSN9,"-.^","Color",colorList(6),"DisplayName", sprintf("N = 10^{%.0f} (PS)",log10(Nlist(6)))) |
| 103 | +semilogy(etadB,keyRatesPSN10,"-.^","Color",colorList(7),"DisplayName", sprintf("N = 10^{%.0f} (PS)",log10(Nlist(7)))) |
| 104 | + |
| 105 | + |
| 106 | +lgd = legend('NumColumns',3); |
81 | 107 | lgd.FontSize = 10; |
82 | 108 | lgd.Location = 'northeast'; |
83 | 109 | xlabel('transmittance in dB',FontSize=14) |
|
0 commit comments