Introduction

Unlike public-key cryptography, whose security relies on unproven mathematical assumptions, quantum key distribution (QKD)1,2 can information-theoretically distribute secret key bits between distant peers (such as Alice and Bob). According to quantum mechanics, any eavesdropping on a quantum channel will inevitably introduce signal disturbance, which implies that Alice and Bob can bound the information leakage for the eavesdropper (Eve) by collecting the error rate of their raw key bits or some other parameters reflecting the signal disturbance. For the well-known BB841 and measurement-device-independent (MDI)3 QKD with decoy states4,5,6, the error rate and counting yields are used to evaluate Eve’s information. In coherent-one-way (COW)7,8 and differential-phase-shift (DPS)9,10 protocols, the visibility of interference plays an essential role in monitoring information leakage. Device-independent (DI)11,12,13 QKD relies on monitoring the violation of Bell inequalities. MDI-QKD and DI-QKD feature a high security level in practice, while COW and DPS have compact and simple implementation. There has been great progress on experimental QKD, such as long-distance QKD implementations8,14,15, high key rate systems16,17,18,19 and demonstrations of QKD networks20,21,22,23. Nevertheless, signal disturbance monitoring is indispensable for almost all these QKD protocols and implementations.

Surprisingly, the recently proposed round-robin-differential-phase-shift (RRDPS)24 protocol is an exception. In the RRDPS protocol, Alice prepares a series of pulse trains, each consisting of L weak coherent pulses. The pulses are individually modulated to random phases out of 0 and π, and every L-pulse train can be handled as a packet. Upon receiving these packets, Bob measures the phase shift between the m-th pulse and the (m + r)-th pulse of each packet, where r is randomly chosen from [1, L − 1] for each packet and m + rL. Through a simple and comprehensive security proof24, it has been noted that Eve’s information on raw key bits IAE is no larger than h2(N/(L − 1)), where N is the photon-number of a packet. The main merit of the RRDPS protocol is that the estimation of IAE does not depend on the error rate of key bits, and thus can be treated as a constant experimentally, which implies that signal disturbance monitoring can be removed during the RRDPS protocol.

There are several reasons for the strong interest in RRDPS. In theory, the result sheds new light on how intrinsic randomness of quantum mechanics can be related to secure key distribution. In practice, the removal of signal disturbance monitoring means that we do not need to consider the statistical fluctuations in the monitoring error rate and some other parameters, so a better tolerance of finite-sized-key effects is expected24. In particular, the finite-sized-key effects must be carefully considered in practice, since the fluctuations induced by environmental disturbance will lead to inaccurate statistical results or much more consumption for sampling. From the point of view of QKD engineering, the post-processing of QKD can be simplified too, since the random sampling and classical authenticated communications necessary in monitoring signal disturbance are not needed. Furthermore, according to the formula \(I_{{\mathrm{A}}E}\leqslant h_2\left( {N{\mathrm{/}}(L - 1)} \right)\), it is obvious that the information leakage will be deeply suppressed, and a positive key rate under a higher error rate is expected when L becomes larger, which is the reason why, at the present stage, large L is important. It is worth noting that multi-dimensional QKD protocols25 usually have higher tolerance of error rate; in particular, the recently proposed Chau15 protocol26 can tolerate an error rate of up to 50% in principle, but these protocols must run with signal disturbance monitoring.

There have been several successful demonstrations of RRDPS with passive interferometers27,28 and actively selectable components29,30. The longest achieved distance is ~90 km30. Despite these experimental successes, it is still a great challenge to realize a practical measurement system with a large L value. In addition, it should be noted that large L values result in lower secret key rates per pulse. Therefore, an improved estimate of IAE would be very useful, especially if it could allow operation with few pulses. In addition, although the upper bound of IAE given in ref. 24 does not depend on the error rate, it is still not fully clear how Eve’s attack introduces error bits and if it is possible to use the error rate in RRDPS to improve its performance. To address these issues, we report an improved theoretical bound on IAE. Interestingly, error rate can also be considered in our method to estimate IAE in an even tighter way. Through numerical simulation, we show that with our theory, the performance of the real-life RRDPS implementation can be improved. Even the RRDPS with relatively small L, e.g., L = 8, can outperform commonly used BB84 with decoy states when interferometer misalignment is severe. It is also remarkable that the RRDPS protocol with L = 3, which is not permitted in the original RRDPS protocol, can generate secret keys according to our analysis. Finally, we verify our theory through a proof-of-principle experiment with L = 3, which can run at a distance of 30 km without signal disturbance monitoring and decoy states. In addition, a demonstration at 140 km is also realized with monitoring signal disturbance and decoy states.

Results

New bound for Eve’s information

The original security proof given in ref. 24 is simple and elegant but does not consider Eve’s optimal attack and corresponding information leakage. Our basic idea is to directly construct Eve’s collective attack to each packet and calculate the maximal information acquired by Eve. Considering that the quantum de Finetti theorem31,32,33 holds when the pulses are grouped by packets in RRDPS, the results also then cover general coherent attacks. However, even in case of collective attack, it is not easy to perform theoretical analysis, since the dimension of Alice’s encoding state depends on L and may be very large. For simplicity, we first consider the case in which each packet contains only one photon. Alice randomly prepares the single-photon state \(\left| \psi \right\rangle = \mathop {\sum}\nolimits_{m = 1}^L ( - 1)^{k_m}\left| m \right\rangle\), where k m  {0, 1} is Alice’s raw key bit and \(\left| m \right\rangle\) (m {1, .., L}) indicates that this single-photon is in the m-th time-bin. Eve’s general collective attack can be given by \(U_{{\mathrm{Eve}}}{\kern 1pt} \left| m \right\rangle \left| {e_{{\mathrm{initial}}}} \right\rangle = \mathop {\sum}\nolimits_{n = 1}^L c_{mn}\left| n \right\rangle \left| {e_{mn}} \right\rangle\), where the quantum state of Eve’s ancilla \(\left| {e_{mn}} \right\rangle\) corresponds to Eve transforming \(\left| m \right\rangle\) to \(\left| n \right\rangle\) and sending \(\left| n \right\rangle\) to Bob. In principle, Eve’s ancilla has L2 different states and thus is difficult to work with. We develop a method to simplify Eve’s quantum state and bound her information effectively. The essence of our method is to introduce phase randomization, which was not considered in previous works. Concretely, consider the case in which Bob has measured the incoming single-photon with basis \(\left| a \right\rangle \pm \left| b \right\rangle\) successfully and announced (a, b) publicly. Eve then aims to guess k a  + k b . For any m ≠ a, b the phase \(\left( { - 1} \right)^{k_m}\) is completely random to Eve, which implies that some mixed components \(\left| {c_{ma}} \right|^2\left| {e_{ma}} \right\rangle \left\langle {e_{ma}} \right| + \left| {c_{mb}} \right|^2\left| {e_{mb}} \right\rangle \left\langle {e_{mb}} \right|\) (m ≠ a, b) will emerge in the density matrix of Eve. These mixed components do not give Eve any information and can thus be ignored to simplify the proof. Accordingly, we find that \(I_{{\mathrm{A}}E}\leqslant {\mathrm max}_{0\leqslant x\leqslant 1}\varphi \left( {(L - 1)x,1 - x} \right){\mathrm{/}}(L - 1)\), where \(\varphi (x,y) = - x\,{\mathrm{log}}_2\,x - y\,{\mathrm{log}}_2\,y + (x + y){\mathrm{log}}_2(x + y)\). In addition, x can be related to the error rate E, so this bound works for implementations both with and without monitoring signal disturbance. One can refer to Supplementary Note 1 for the detailed security proof.

It would be very useful to extend the security proof from the single-photon to the N-photon case. Nevertheless, due to the complexity of the N-photon quantum state, it is difficult to depict and estimate the upper bound of Eve’s information for the general N-photon case. Our technique is based on grouping the N-photon state into different summations with different numbers of phases and introduce phase randomization between them. Here, we sketch our method for the odd-N photon-numbers case. Such an odd-N (NL − 1) photons quantum state must have the form \(\left| \psi \right\rangle = \mathop {\sum}\nolimits_{t = 1}^{N/2 + 1/2} ( - 1)^{k_{m_1} + ... + k_{m_{2t - 1}}}\left| {m_1m_2...m_{2t - 1}} \right\rangle _{{\mathrm{odd}}}\), in which \(\left| {m_1m_2...m_{2t - 1}} \right\rangle _{{\mathrm{odd}}}\) means a superposition of quantum states in which the photon-numbers in time-bins m1m2...m2t−1 must be odd, while the photon-numbers in all other time-bins must be even. The form of \(\left| {m_1m_2...m_{2t - 1}} \right\rangle _{{\mathrm{odd}}}\) depends on the values of N and L. For example, assuming N = 3 and L = 5, nonnormalized state \(\left| 1 \right\rangle _{{\mathrm{odd}}} \buildrel \Delta \over = \sqrt 3 \left| 1 \right\rangle \left( {\left| 2 \right\rangle \left| 2 \right\rangle + \left| 3 \right\rangle \left| 3 \right\rangle + \left| 4 \right\rangle \left| 4 \right\rangle + \left| 5 \right\rangle \left| 5 \right\rangle } \right)\) + \(\left| 1 \right\rangle \left| 1 \right\rangle \left| 1 \right\rangle\), where \(\left| 1 \right\rangle \left| 2 \right\rangle \left| 2 \right\rangle\) means that there is one photon in the first time-bin and two photons in the second time-bin, while \(\left| 1 \right\rangle \left| 1 \right\rangle \left| 1 \right\rangle\) indicates that all three photons occupy the first time-bin (see Supplementary Note 3 for the three-photon case). It is then straightforward to redefine the collective attack with the new basis \(\left| {m_1m_2...m_{2t - 1}} \right\rangle _{{\mathrm{odd}}}\): \(U_{{\mathrm{Eve}}}{\kern 1pt} \left| {m_1m_2...m_{2t - 1}} \right\rangle _{{\mathrm{odd}}}\left| {e_{{\mathrm{initial}}}} \right\rangle\) = \(\mathop {\sum}\nolimits_{n = 1}^L c_{m_1m_2...m_{2t - 1}n}\left| n \right\rangle \left| {e_{m_1m_2...m_{2t - 1}n}} \right\rangle\), where the quantum state of Eve’s ancilla \(\left| {e_{m_1m_2...m_{2t - 1}n}} \right\rangle\) corresponds to Eve transforming \(\left| {m_1m_2...m_{2t - 1}} \right\rangle _{{\mathrm{odd}}}\) to single-photon state \(\left| n \right\rangle\) and sending \(\left| n \right\rangle\) to Bob. After Bob measures the incoming single-photon with basis \(\left| a \right\rangle \pm \left| b \right\rangle\) and announces (a, b) publicly, Eve will try to guess k a  + k b . Due to the potential phase randomization between different summations, Eve can acquire some information only from two types of “two-dimensional” terms such as \(U_{\mathrm{Eve}}( - 1)^{k_{m_1} + k_{m_2} + ... + k_{m_{2t - 1}}}\left(\right. ( - 1)^{k_a}| {m_1m_2..m_{2t - 1}a} \rangle _{\mathrm{odd}}\) + \({( - 1)^{k_b}| {m_1m_2...m_{2t - 1}b} \rangle _{{\mathrm{odd}}}} \left.\right)| {e_{{\mathrm{initial}}}} \rangle\) and \(U_{{\mathrm{Eve}}}(\! -\! 1)^{k_{m_1} + k_{m_2} + ... + k_{m_{2t - 1}}}\left( {\left| {m_1m_2...m_{2t - 1}} \right\rangle _{{\mathrm{odd}}}} \right.\) + \({( - 1)^{k_a + k_b}\left| \right.{m_1m_2...m_{2t - 1}ab} \rangle _{{\mathrm{odd}}}} \left.\right)\left|\right. {e_{{\mathrm{initial}}}} \rangle\) (m1, m2, ..., m2t−1 ≠ a, b). Summing over the upper bounds of Eve’s information on all these “two-dimensional” terms, we obtain the final formula to estimate Eve’s information. The examples for two-photon and four-photon cases are given in Supplementary Notes 2 and 4, respectively. The detailed proof for general cases can be found in Supplementary Notes 57. The results are summarized by the following theorem and its corollary.

Theorem. For the RRDPS protocol with L-pulse packet, where each packet contains N photons (LN + 1), Eve’s information can be bounded by

$$I_{{\mathrm{AE}}}\leqslant I_{{\mathrm{AE}}}^{\mathrm{U}} \buildrel \Delta \over = {\mathrm {Max}}_{x_1,x_2,...,x_{N + 1}}\left\{ {\frac{{\mathop {\sum}\limits_{n = 1}^N \varphi \left( {(L - n)x_n,nx_{n + 1}} \right)}}{{L - 1}}} \right\},$$
(1)

where \(\varphi (x,y) = - x\,{\mathrm{log}}_2\,x - y\,{\mathrm{log}}_2\,y + (x + y){\mathrm{log}}_2(x + y)\), non-negative real parameters xi satisfying \(\mathop {\sum}\nolimits_{i = 1}^{N + 1} x_i = 1\). Moreover, if the error rate of raw key bits is E, these parameters x i (i {1, 2, ..., N + 1}) must satisfy the constraint

$$E\geqslant \frac{{\mathop {\sum}\limits_{n\geqslant 1}^{(N - 1)/2} \left( {\sqrt {(L - 2n)x_{2n}} - \sqrt {2nx_{2n + 1}} } \right)^2 + (L - N - 1)x_{N + 1}{\mathrm{/}}2}}{{L - 1}}\\ {\mathrm{for}}\,{\mathrm{odd}}\,N{\mathrm{,}}$$
(2)

and,

$${E\geqslant \frac{{\mathop {\sum}\limits_{n\geqslant 1}^{N/2} \left( {\sqrt {(L - 2n + 1)x_{2n - 1}} - \sqrt {(2n - 1)x_{2n}} } \right)^2 + (L - N - 1)x_{N + 1}{\mathrm{/}}2}}{{L - 1}}}\\ {\mathrm{for}}\,{\mathrm{even}}\,N.$$
(3)

Corollary. If the photon-number LN − 2, IAE < 1 always holds.

Based on this theorem, the upper bound of IAE is generalized to find the maximum value of a given function under a constraint defined by E. If we ignore this constraint, we obtain \(I_{{\mathrm{AE}}}^{\mathrm{U}}\) without monitoring signal disturbance. Alternatively, if we retain this constraint, a tighter estimation may be achieved. It is remarkable that searching such a maximum value can be effective and concise through a numerical method, since its function is convex. A different, less tight bound improvement was recently reported in ref. 34.

Potential improvements made by our theory

For a QKD protocol, the mutual information between Alice and Bob is given by IAB = 1 − h2(E). Thus, there is a maximum value Emax of error rate E, which satisfies \(I_{{\mathrm{AB}}} = I_{{\mathrm{AE}}}^{\mathrm{U}}\), when E = Emax. Obviously, if \(E\geqslant E_{{\mathrm{max}}}\) holds, IAB will be no larger than \(I_{{\mathrm{AE}}}^{\mathrm{U}}\), and no secret key bits can be generated. Thus, Emax is the maximum value of tolerable error rate of a QKD protocol. We first compare Emax of RRDPS between the original method and our new formulae. In Table 1, we list the results for the cases in which a single-photon source is equipped. One can see that our formulae can increase Emax, especially when L is small. It is remarkable to note that for the case L = 3, with our formulae Emax can be up to 5%, while the original RRDPS protocol cannot generate secure key bits at all. More importantly, the notable difference between columns two and three in Table 1 implies that our theory leads to increased Emax compared to the original RRDPS even when signal disturbance monitoring is still turned off.

Table 1 Emax of RRDPS with different methods

The most important step is to evaluate the secret key rate and achievable distance of RRDPS through simulations. Here, we assume the pulse width is constant for different values of L and the dark counting rate of the single-photon detector (SPD) is set to be d = 10−6 per pulse, which is typical and practical. Another important parameter used in the simulations is the interferometer misalignment emis. In a phase-coding system, the error rate mainly stems from apparatus imperfections, such as interferometer misalignment and dark counts of SPD. The interferometer misalignment emis indicates the probability that an incoming photon hits an erroneous SPD due to interferometer misalignment. Actually, emis depends on the visibility V of optical interference, and emis = (1 − V)/2. In an ideal interferometer with V = 1, two optical pulses with relative phases 0 and π always hit different SPDs. Thus, one can deduce the relative phase, i.e., key bit in the phase coding system, by observing which SPD clicks. However, due to the limited precision of interferometer fabrication or the environmental disturbance, e.g., the drift between the lengths of the short arm and long arm of the interferometer, V may be lowered, and higher emis is introduced.

Although emis in most reported QKD experiments can be kept small, i.e., \(e_{{\mathrm{mis}}}\leqslant 5\%\), it is still important to evaluate the performance of RRDPS in the high emis region. There are two reasons for this. First, reducing emis requires complex techniques, such as active feedback35 and interferometer fabrication with high precision. In addition, active feedback techniques, such as phase-reference alignments and polarization controls, may be ineffective and even invalid in fast-changing environments. High-precision interferometers, on the other hand, are more challenging in RRDPS, since interferometers with variable delays must be matched well. To improve the robustness of the QKD system in various environments and alleviate its dependence on these techniques, QKD protocols inherently feasible in high emis scenarios are highly desirable. Second, the use of other high-dimensional degrees of freedom, e.g., orbital angular momentum (OAM) of photons, rather than time-bin, is a potential way to improve the key rate of RRDPS, but typically, emis in QKD based on OAM can be greater than 10%36,37. Hence, simulations of RRDPS with large emis are relevant for future study. We here report the simulation results. Details of how we model the QKD systems and perform the simulations are presented in the methods section.

For ease of understanding, we first study the tolerance of channel loss when a single-photon source is equipped. Under a given emis, secure key bits can be generated only when the channel loss is smaller than a value lossmax, which is understood as the maximum value of tolerable channel loss. The lossmax values under different emis are listed in Table 2. For RRDPS, the value of L is optimized to maximize lossmax. We can see that with the help of formula (1), the lossmax of RRDPS becomes much larger, and L can be lowered, compared to the original RRDPS. When emis 0.08, the improved RRDPS can outperform BB84 in terms of tolerable channel loss.

Table 2 lossmax (dB) of BB84 and RRDPS with different methods

Next, we consider a more realistic scenario in which a weak coherent source is used. The secret key rates R per pulse versus total losses for L = 8, L = 16 and L = 32 are simulated. Figure 1 (emis = 0.015) and Fig. 2 (emis = 0.15) are both simulated without using signal disturbance parameters. From them, we can see that with the help of the proposed method, the secret key rate and achievable distance of RRDPS systems are both evidently increased, especially for small L cases. To further investigate the performance of our improved RRDPS under high emis, the secret key rates versus emis under typical channel losses are depicted in Fig. 3, from which we can see that RRDPS outperforms BB84 with decoy states when emis is greater than 10%.

Fig. 1
figure 1

Secret key rate R versus channel loss. R1 and R2 represent the original RRDPS protocol and the proposed one, respectively. R (BB84) is for the BB84 protocol with infinite decoy states. Both R1 and R2 are simulated for the scenarios without monitoring signal disturbance

Fig. 2
figure 2

Secret key rate R versus channel loss. R1 and R2 represent the original RRDPS protocol and the proposed one, respectively. The line for BB84 is not drawn since its key rate is always 0 in this case. Both R1 and R2 are simulated for the scenarios without monitoring signal disturbance

Fig. 3
figure 3

Secret key rate R versus emis. The dashed lines and solid lines represent the proposed RRDPS under channel losses of 20 and 10 dB, respectively. Signal disturbance monitoring is still turned off. The two dotted lines are for BB84 with infinite decoy states under channel losses of 20 and 10 dB, respectively

We also analyzed experimental data from previous experiments to show the improvement of key rate. In the experiment of RRDPS with L = 65 reported in ref. 29, the secret key rate for a 95 km fiber channel can be increased from 5 × 10−8 to 1.4 × 10−6 per pulse (see methods section for details).

These simulations confirm the prominent advantages of our theory over the original RRDPS. Compared with BB84 with decoy states, the proposed RRDPS is inherently feasible under a high emis region, which is meaningful to alleviate its dependence on implementation techniques, such as active phase compensations and interferometer fabrication with high precision. In addition, the proposed RRDPS can still run without monitoring signal disturbance, so its unique advantages on the tolerance of finite-sized-key effects and postprocessing convenience over conventional QKD protocols are maintained.

Proof-of-principle experiment

Based on the above theoretical results, RRDPS requires that L 3. This would represent the simplest RRDPS experimental implementation up to date. Here, we describe a proof-of-principle experiment with L = 3 to verify our theory.

Our implementation is shown in Fig. 4, and it is similar to the ones employed in refs 28,29. At Alice’s site, a pulse train with a repetition rate of 1 GHz is generated by modulating a 1550.12 nm continuous wave (CW) laser using the first LiNbO3 intensity modulator (IM1). Every 3 pulses (L = 3) is defined as one packet. The second intensity modulator (IM2) is employed to implement the decoy states method, by which each packet is randomly modulated into signal, decoy and vacuum packets. The first phase modulator (PM1) adds phase −π/2 or π/2 on each pulse to encode the key bits, and the second phase modulator (PM2) adds a random global phase on each packet. The encoded pulse train is then launched into a variable attenuator (VA) so that the average photon-number per pulse can be adjusted.

Fig. 4
figure 4

Experimental setup to implement the RRDPS protocol with L = 3. CW Continuous Wave, IM Intensity Modulator, PM Phase Modulator, VA Variable Attenuator. At Alice’s site, a pulse train with a repetition rate of 1 GHz is generated by modulating a 1550.12 nm CW laser using IM1. Every 3 pulses (L = 3) are defined as one packet. The intensity of each packet is randomly modulated by IM2 to prepare signal, decoy and vacuum states. PM1 adds phase − π/2 or π/2 on each pulse to encode the key bits, and PM2 adds a random global phase on each packet. The VA is used to adjust the average photon-number per pulse. At Bob’s site, through a 1 × 2 beam-splitter, the incoming signal is randomly coupled into one of two unbalanced Faraday–Michelson interferometers (FMIs) with 1 and 2 ns temporal delays. Each output of the FMIs is led to an SPD. Finally, the detection events are recorded to extract key bits

At Bob’s site, the passive scheme based on a 1 × 2 beam splitter (BS) is used to implement a high-speed and low-loss decoding measurement. Since L = 3 and the time interval between adjacent pulses is 1 ns, there are only two unbalanced Faraday–Michelson interferometers (FMIs) with 1 and 2 ns temporal delays. One 50/50 BS and two Faraday mirrors (FMs) constitute an FMI, and a three-port optical circulator is added before the BS to export the other interference result. Each output of these two unbalanced FMIs is led to an SPD. Finally, the detection events are recorded by a time-to-digital convertor (TDC), which records the time-tagged and which-detector information.

The passive implementation scheme and small values of L make our RRDPS system very practical. The passive approach allows high time efficiency and internal transmittance of Bob’s optical components, and four SPDs used to detect the L = 3 packet are acceptable. The 1 × 2 BS amounts to randomly choosing between 1 and 2 ns delay FMIs. In contrast to active schemes29, the passive choice between different delay measurements has no speed limits, and the time interval between each two packets to achieve a low error rate is no longer necessary. The average insertion loss (IL) of the 1 and 2 ns delay FMIs is only approximate 0.80 dB, in which the IL of the optical circulator is also included. These two FMIs are placed in two small ABS plastic cases to isolate them from the environment, and heating plates are used to keep the temperature of FMIs above room temperature. Thus, we could actively and independently compensate for the phase shifts of 1 and 2 ns delay FMIs and keep the phase of the unbalance interferometer stable. Owing to 45° Faraday mirrors, these FMIs are insensitive to polarization variations and feature extinction ratios of approximately 23.5 dB.

In addition, SPDs based on InGaAs/InP avalanche photodiodes (APD) are employed to detect photons from 1 and 2 ns delay FMIs, which makes the RRDPS system more practical. These four SPDs are working with Peltier cooling and operated in gated Geiger mode with the sine-wave filtering method38. The detection efficiencies of the four SPDs are approximately 20.4% with a dark count rate of 1.25 × 10−6 per gate and an after-pulse probability of 1.02%. Here, the insertion loss of the optical circular from BS (of FMI) to SPD is included in the detection efficiency of SPD.

We tested the L = 3 RRDPS system with standard telecom fiber channels at distances of 30, 50, 100, and 140 km. At a distance of 30 km, the system was running without monitoring signal disturbance and decoy states, while the mean photon-number per pulse was set to be 0.005. At the other distances, our RRDPS system cannot generate secret key bits without decoy states due to the contribution of multi-photon events, so decoy states must be introduced. The decoy states method was implemented by setting the photon-numbers per pulse of the signal, decoy, and “vacuum” packets with values of 0.13, 0.03, and 0.0003, respectively. These values of mean photon-number are optimal to maximize the key rate according to the simulations. The experimental results are listed in Table 3, where the error rates of key bits and yields per packet are directly obtained experimentally. When decoy states are employed, we use formulae given in ref. 39 to calculate the yield and error rate for a single-photon packet. The secret key rates R1 and R2 are then calculated according to Eq. (1) without and with the error rate, respectively (see methods section for detailed information).

Table 3 Experimental results of the L = 3 RRDPS system

In our L = 3 RRDPS experiment without monitoring and decoy states, the transmission distance could reach 30 km. When decoy states are employed, 140 km is reached with InGaAs/InP SPDs, while the maximum transmission distance of the similar L = 5 RRDPS experimental system is less than 50 km with superconducting SPDs28. Thus, we have successfully verified the feasibility of RRDPS with the smallest L = 3, which is impossible based on the original theory.

Discussion

We reported on an alternative theory to estimate Eve’s information on raw key bits IAE. The essence behind our method is that the potential phase randomization can be utilized for the security analysis of RRDPS. The advantage is that IAE can be bounded more tightly than before, especially when L is small. Our results can be used for scenarios both without and with monitoring signal disturbance.

We compared RRDPS with the commonly used BB84 protocol. Although the secret key rate and achievable distance of RRDPS still seem to be inferior to BB84 with decoy states in some typical scenarios, the proposed RRDPS has its particular advantage of post-processing convenience. Moreover, when interferometer misalignment is severe, RRDPS can outperform BB84 significantly. To verify our theory, a proof-of-principle experiment with L = 3 is demonstrated here.

There are still several points that should be addressed in the future. In ref. 40, it has been proved that the original bound \(I_{{\mathrm{AE}}}\leqslant h_2\left( {n{\mathrm{/}}(L - 1)} \right)\) holds with inaccurate phase coding. Our technique depends on the phase randomization, which requires that Alice’s phase coding must be 0 or π randomly. Therefore, analyzing the relation between phase coding inaccuracy and the upper bound of IAE quantitatively is necessary. Another issue is how to countermeasure the potential attacks due to device imperfections. For example, the blinding attack41 must be carefully considered in the practical RRDPS systems.

Note added. While preparing the paper, we became aware that similar topics are discussed in other theoretical works42,43.

Methods

Simulation

We use Wolfram Mathematica 10.3 to run the numerical simulations.

The transmission efficiency of the channel is η = 10−loss/10, and loss is just the attenuation (dB) of the channel. Here, we assume that loss stems from the channel while the photon-number-resolving SPDs have 100% efficiency and dark counting rate d = 10−6 per pulse. When Bob decides to set the delay value as r {1, ..., L − 1}, both of his SPDs will open L − r time-windows to detect the incoming signal. Bob retains only the events in which a single-photon click occurs among these L − r time-windows. The models of the simulations are given below.

We first simulate RRDPS with a single-photon source. Imagining that the delay value is r and both SPDs open one time-window to detect the incoming single-photon, a single click obviously occurs with the probability (L − r)η/L + (1 − (L − r)η/L)2d(1 − d). The first item represents the probability that the single-photon is not absorbed by the channel or lost due to the noninterfering events in unbalanced Mach–Zehnder interferometers44,45. The second item means a dark count occurs, while the single-photon is absorbed by the channel or lost due to the noninterfering events in interferometers. Considering that Bob actually opens L − r time-windows and only retains the case in which there is only one click among these L − r time-windows, the probability that Bob obtains one raw key bit per packet is given by

$$Y_r = (1 - d)^{2(L - r) - 1}\left( {\frac{{L - r}}{L}\eta + \left( {1 - \frac{{L - r}}{L}\eta } \right)2(L - r)d} \right).$$
(4)

The error rate of the key bit generated by a single-photon packet with delay value r is

$$E_rY_r = (1 - d)^{2(L - r) - 1}\left( {\frac{{L - r}}{L}\eta e_{{\mathrm{mis}}} + \left( {1 - \frac{{L - r}}{L}\eta } \right)(L - r)d} \right),$$
(5)

where emis represents the probability that the incoming photon clicks the erroneous SPD due to interferometer misalignment. Accordingly, the mean yield of a single-photon packet is \(Y = \mathop {\sum}\nolimits_{r = 1}^{L - 1} Y_r{\mathrm{/}}(L - 1)\), and its mean error rate is simulated by \(EY = \mathop {\sum}\nolimits_{r = 1}^{L - 1} E_rY_r{\mathrm{/}}(L - 1)\). The secret key rate per pulse is then given by \(RL = Y\left( {1 - h_2(E) - I_{{\mathrm{AE}}}^{\mathrm{U}}} \right)\), where h2 is the information entropy function.

For comparison, we also simulate phase-coding BB84 with a single-photon source here. In a typical phase-coding BB84 system, each encoding state consists of two optical pulses and thus is quite similar to RRDPS with L = 2. We then have for phase-coding BB84 its yield per “one pair of pulses” and error rate given by

$$Y = (1 - d)\left( {\frac{1}{2}\eta + \left( {1 - \frac{1}{2}\eta } \right)2d} \right),$$
(6)

and

$$EY = (1 - d)\left( {\frac{1}{2}\eta e_{{\mathrm{mis}}} + \left( {1 - \frac{1}{2}\eta } \right)d} \right)$$
(7)

respectively, and its secret key rate per pulse is R = Y(1 − 2h2(E))/2.

With a weak coherent source, the method for simulating RRDPS is present here. Assuming the mean photon-number of each pulse emitted by Alice is μ, the mean photon-number per pulse will be attenuated to ημ due to channel loss. When Bob’s delay value is r, his two SPDs open L − r time-windows to detect L − r + 1 weak coherent pulses with mean photon-number ημ. Recall the loss due to the noninterfering events in unbalanced Mach–Zehnder interferometers44,45; Bob actually attempts to observe the single-photon from L − r weak coherent pulses with mean photon-number ημ. For ease of simulation, we assume Bob’s SPD can resolve the photon-number perfectly (in practice, one can use the number of double-clicks of threshold SPDs to effectively estimate the number of times Bob receives a multi-photon packet, and then the amount of “tagged” key bits generated by multi-photon receiving events can be upper bounded and further eliminated by privacy amplification28.). There are then only two possibilities for observing a single-photon click. First, there exists exist only one photon among these L − r weak coherent pulses to click Bob’s SPD. The corresponding probability is proportional to e−(Lr)ημ(L − r)ημ. Second, there is no photon among these pulses, but Bob’s SPD clicks due to dark counting. The corresponding probability is then proportional to e−(Lr)ημ. Summing over the two possibilities and recalling that Bob retains only the case in which there is only one click among these L − r time-windows, we have

$$\begin{array}{*{20}{l}} {Q_r = (1 - d)^{2(L - r) - 1}e^{ - (L - r)\eta \mu }\left( {(L - r)\eta \mu + 2(L - r)d} \right),} \hfill \end{array}$$
(8)

and the overall counting rate \(Q = \mathop {\sum}\nolimits_{r = 1}^{L - 1} Q_r{\mathrm{/}}(L - 1)\). The error rate E can be simulated by

$$EQ = \mathop {\sum}\limits_{r = 1}^{L - 1} \frac{1}{{L - 1}}(1 - d)^{2(L - r) - 1}e^{ - (L - r)\eta \mu }\left( {(L - r)\eta \mu e_{{\mathrm{mis}}} + (L - r)d} \right).$$
(9)

In the case without monitoring signal disturbance and decoy states, the secret key rate R per pulse is given by

$$\begin{array}{*{20}{l}} {RL = Q\left( {1 - h_2(E)} \right) - e_{{\mathrm{src}}} - \left( {Q - e_{{\mathrm{src}}}} \right)I_{{\mathrm{AE}}}^{\mathrm{U}},} \hfill \end{array}$$
(10)

where \(e_{{\mathrm{src}}} = 1 - \mathop {\sum}\nolimits_{n = 0}^{v_{{\mathrm{th}}}} e^{ - L\mu }(L\mu )^n{\mathrm{/}}n!\) is the probability that the photon-number of a packet is greater than νth. In our method, \(I_{{\mathrm{AE}}}^{\mathrm{U}}\) is calculated by Eq. (1) setting the photon-number N = vth and ignoring constraint Eqs. (2) and (3). In the original method, \(I_{{\mathrm{AE}}}^{\mathrm{U}} = h_2\left( {v_{{\mathrm{th}}}{\mathrm{/}}(L - 1)} \right)\). μ and vth should be optimized to maximize R.

For comparison, we also simulate phase-coding BB84 with a weak coherent source here. Note we assume that infinite decoy states are employed in this case. Similar to the method of obtaining Eqs. (10) and (11) in ref. 39, we have for phase-coding BB84 its yield per “one pair of pulses” and error rate given by

$$Y_n = \left( {1 - \frac{1}{2}\eta } \right)^{n - 1}(1 - d)\left( {\frac{1}{2}n\eta + \left( {1 - \frac{1}{2}\eta } \right)2d} \right),$$
(11)

and

$$E_nY_n = \left( {1 - \frac{1}{2}\eta } \right)^{n - 1}(1 - d)\left( {\frac{1}{2}n\eta e_{{\mathrm{mis}}} + \left( {1 - \frac{1}{2}\eta } \right)d} \right),$$
(12)

respectively, where n is the photon-number of the encoding state. Summing over all possible photon-numbers n, its mean yield and error rate are given by \(Q = \mathop {\sum}\nolimits_{n\geqslant 0} e^{ - 2\mu }(2\mu )^nY_n{\mathrm{/}}n!\) and \(EQ = \mathop {\sum}\nolimits_{n\geqslant 0} e^{ - 2\mu }(2\mu )^nE_nY_n{\mathrm{/}}n!\), respectively, where μ is the mean photon-number per pulse. Its secret key rate is

$$\begin{array}{*{20}{l}} {2R = - Qh_2(E) + e^{ - 2\mu }2\mu Y_1\left( {1 - h_2\left( {E_1} \right)} \right).} \hfill \end{array}$$
(13)

In an experiment of RRDPS with L = 65 given in ref. 29, there is a set of experimental observations: the mean photon-number s = 0.037 per pulse, yield Qs = 8.435 × 10−4 per packet and error rate E = 0.058. By setting vth = 10, the secret key rate is R1 = (Qs(1 − 1.1h2(E)) − esrc − (Qs − esrc)h2(vth/64))/L = 5 × 10−8. With the same parameters and finding \(I_{{\mathrm{AE}}}^{\mathrm{U}} = 0.513\) for 10-photon, \(R_2 = \left( {Q_{\mathrm{s}}\left( {1 - 1.1h_2(E)} \right) - e_{{\mathrm{src}}}} \right.\) − \(\left. {\left( {Q_{\mathrm{s}} - e_{{\mathrm{src}}}} \right)I_{{\mathrm{A}}E}^{\mathrm{U}}} \right){\mathrm{/}}L = 1.44 \times 10^{ - 6}\).

Key rate for the experiment

Here, we describe the methods for obtaining the secret key rates in Table 3.

At 30 km, the system was running without monitoring and decoy states. Its secret key rate R is then calculated by \(RL = Q_{\mathrm{s}}\left( {1 - h_2(E)} \right) - e_{{\mathrm{s}}rc} - \left( {Q_{\mathrm{s}} - e_{{\mathrm{src}}}} \right)I_{{\mathrm{AE}}}^{\mathrm{U}}\), where esrc = 1 − e − Lμe, μ = 0.005, and \(I_{{\mathrm{AE}}}^{\mathrm{U}}\) is calculated by formula (1).

At the other distances, decoy states were employed. The photon-numbers per pulse of signal, decoy, and “vacuum” packets are given the values s = 0.13, d = 0.03, and v = 0.0003, respectively. In the experiment, we directly observe the yields Qs, Qd and Qv for signal, decoy and “vacuum” packets, respectively. The error rates Es (Ed) for key bits generated from signal (decoy) packets are also observed experimentally. Referring to ref. 39, we can estimate the yield Y1 for single-photon packets and the error rate E1 for key bits generated from single-photon packets by the following:

$$Y_0 = {\mathrm {max}}\left\{ {\frac{{LdQ_{\mathrm{v}}e^{Lv} - LvQ_{\mathrm{d}}e^{Ld}}}{{Ld - Lv}},0} \right\}$$
(14)
$$Y_1 = \frac{{Ls}}{{LsLd - LsLv - (Ld)^2 + (Lv)^2}}\left( {Q_{\mathrm{d}}e^d - Q_{\mathrm{v}}e^v - \frac{{(Ld)^2 - (Lv)^2}}{{(Ls)^2}}\left( {Q_{\mathrm{s}}e^s - Y_0} \right)} \right),$$
(15)
$$E_1 = \frac{{E_{\mathrm{s}}Q_{\mathrm{s}}e^{Ls} - E_{\mathrm{d}}Q_{\mathrm{d}}e^{Ld}}}{{(Ls - Ld)Y_1}}.$$
(16)

As a proof-of-principle experiment, the secret key rates R1 and R2 in Table 3 are not obtained by actually performing post-processing steps. Instead, they are calculated by \(R = \left( {Lse^{ - Ls}Y_1\left( {1 - I_{{\mathrm{AE}}}^{\mathrm{U}}} \right) - Q_{\mathrm{s}}h_2\left( {E_{\mathrm{s}}} \right)} \right){\mathrm{/}}L\). Here, to obtain R1, we calculate \(I_{{\mathrm{AE}}}^{\mathrm{U}}\) with Eq. (1), while ignoring constraint Eqs. (2) and (3). To R2, this constraint with E = E1 is used.

Code availability

Source codes of the plots are available from the corresponding authors on request.

Data availability

The data that support the findings of this study are available from the corresponding authors on request.