WorksPhysics and Astronomy
Robust quantum key distribution with imperfections in state preparation and characterization
Abstract
Quantum key distribution (QKD) offers an approach for secure communication over quantum channels, based on the principles of quantum mechanics. However, the inevitable imperfections in QKD systems can introduce critical vulnerabilities, posing significant challenges to the deployment of QKD in terms of both practical security and performance. In this work, we present a comprehensive security analysis of QKD in the practical scenarios involving imperfections in modulation spaces. Specifically, our analysis focuses on the imperfections related to encoding, intensity modulation, and their characterization. We provide a unified framework based on the operator dominance method to overcome these issues and achieve a tight estimation of the secret key rate (SKR). The simulation results show that the SKR in practical scenarios, with parameters characterized from commercial QKD systems, closely matches the SKR under ideal conditions. In the finite case, the maximum transmission distance can reach up to 250 km with total pulse number and the SKR closely approaches the asymptotic limit up to 250 km with . This validates the robustness of our method against imperfections in state preparation and characterization. Furthermore, the feasibility and robustness of method in measurement-device-independent (MDI) QKD have also been demonstrated. Our analysis not only promotes advancements in enhancing practical security and performance but also highlights the feasibility of deploying QKD for actual applications.
Introduction
Quantum key distribution (QKD) [1, 2, 3, 4] allows information-theoretically secure key agreement between distant parties (named as Alice and Bob) over a quantum channel. QKD has witnessed numerous significant achievements in both theoretical [5, 6, 7, 8, 9, 10] and experimental [11, 12, 13, 14, 15, 16, 17, 18] aspects. By employing the decoy-state method [19, 20, 21], QKD can be conveniently implemented using weak coherent light sources. Meanwhile, measurement-device-independent (MDI) QKD [22, 23, 24, 25] eliminates the quantum hacking attacks targeting the receiver, significantly enhancing the practical security of QKD. However, the issues of source-side imperfections have not been fully addressed, constraining both the practical security and the implementation performance.
In QKD, the source is responsible for preparing a set of quantum states based on the encoding bits. These states are typically divided into two bases: one basis is used for key generation, while the other is employed to estimate information leakage. However, in practical QKD systems, the prepared quantum states are inevitably imperfect, yielding deviated pure states or mixed states [26]. The imperfections may arise from issues in optical devices (e.g., lasers, modulators, optical attenuators), distortions in the electrical driving signals, and the presence of noise. In single-photon QKD, the modulation imperfection corresponds to the encoding space, which is called as flawed source [27]. In the more general case of decoy-state QKD with weak coherent source, the state preparation encompasses not only the encoding but also the intensity modulation, where the imperfection of the latter is referred as intensity fluctuation [28]. Any imperfections in state preparation could potentially be exploited by an attacker, Eve, to compromise the practical security of the QKD system [29, 30, 31, 32, 33]. Moreover, a significant but frequently neglected issue is the reliability of characterizing the actual prepared states. This is because most security analyses are based on full or partial characterization of the prepared quantum states. But, due to inherent limitations of practical devices, the characterization of prepared states is inevitably subject to imperfections such as noise and systematic deviations. It is imperative that the practical security analysis of QKD with state preparation imperfections must also take into account the imperfections in state characterization. Therefore, the vulnerabilities in modulation spaces include imperfections related to encoding, intensity modulation, and the characterization of these parameters.
At present, several security proofs have been proposed to tackle the imperfections of state preparation in various aspects. Firstly, most analyses focus specifically on the issue of imperfect encoding. These methods can be broadly categorized into three classes based on their assumptions about state characterization. The first class requires a precise characterization of the actual prepared states. For example, the original loss-tolerant (LT) method [12, 27, 34, 35, 36, 37, 38] is proposed, which characterizes the quantum channel through Pauli decomposition and gives a rigorous and tight security analysis. This improvement stems from the fact that the LT method’s decomposition depends on the specific form of the prepared states, thereby requiring the accurate characterization. From this perspective, the original LT method assumes full knowledge of the practically prepared quantum states, thereby requiring accurate state characterization. Alternatively, the virtual mutually unbiased bases method [39] can also be employed to address the characterized encoding imperfections. The second class relaxes this requirement by only demanding partial characterization. Based on a bound of the fidelity between the two bases, it could provide a security analysis with a flawed source [40, 41, 42]. However, as it conservatively assumes Eve can enhance the flaws by exploiting the transmission loss, it provides a pessimistic estimation of the secret key rate (SKR). The improved LT method eliminates the accurate state characterization of the original version. It is generalized as long as intervals of the modulation are characterized [26, 43, 44, 45]. On the one hand, these methods are more robust and easier to implement. On the other hand, since the analysis relies solely on the bounds of the imperfection intervals, it conservatively adopts worst-case assumptions, which inevitably sacrifices a certain degree of performance [26]. The third class goes further by treating the source as uncharacterized, making minimal assumptions about the prepared states. It proposes a security analysis method for MDI-QKD based on uncharacterized encoding states [46, 47, 48, 49, 50]. But it will show a pessimistic estimation of the SKR with large flaws. Recently, the case of basis misalignment is considered to give a tolerant analysis for MDI-QKD [51]. Secondly, the intensity parameters are essential for estimating the counting rate and phase error rate of single-photon states in decoy-state QKD. To address intensity imperfections, the worst-case scenario based on the bounds of the pulse intensities is considered to derive reliable bounds for the single-photon states with analytical formulas or linear programming method [28, 52, 53, 54, 55, 56, 57]. This has low requirements for intensity characterization, but faces the issue of yielding loose parameter estimation. Thirdly, the collective analysis is necessary when both encoding and intensity imperfections are considered simultaneously. When encoding and intensity imperfections are assumed to be independent, the above analysis methods can be directly combined. For example, the LT method has been generalized to enhance its practicality by adapting it to scenarios where Alice only needs to characterize the intervals of encoding and intensity fluctuations [26, 43, 44, 45]. Overall, we can see a trade-off between the requirement for state characterization and QKD performance. Accurate state characterization can enable higher performance but is experimentally challenging. In contrast, simplified state characterization is easier to implement and more robust, but the resulting conservative estimation based on these state characterizations inevitably comes at the cost of sacrificing a certain degree of performance.
In this work, we aim to address both encoding and intensity imperfections and balance the requirement for state characterization and QKD performance. Our method is based on a characterization of the quantum states (not merely the intervals of encoding and intensity), while allowing for some tolerance in the accuracy of the state characterization. This flexibility helps reduce conservativeness in parameter estimation so as to achieve high QKD performance while maintaining practicality. By presenting the operator dominance method [58, 59] to characterize these imperfections, we establish a unified framework that simultaneously overcomes the imperfections of encoding, intensity, and characterization. The operator dominance method was proposed in Ref. [58] for the security analysis of twin-field QKD. Here, we use the prepared quantum states to dominate the single-photon states, thereby ensuring a unified and tight estimation of the SKR. And we demonstrate that both encoding and intensity imperfections can be effectively addressed without requiring precise characterization of the quantum states. The comparison of analyses with state preparation and characterization imperfections between our and current methods is summarize in Table 1. To validate our method, we conduct numerical simulations of the SKR with practical parameters characterized from commercial QKD systems [26]. The results show that the SKR under practical conditions closely approximates the ideal case. In the finite case, the transmission distance can reach 250 km with total pulse number , and the SKR closely approaches the asymptotic limit up to 250 km with reasonable . Furthermore, we provide a concise analysis and simulation to demonstrate the applicability and tightness of this method to MDI-QKD. Our work guarantees the robustness and effectiveness of practical QKD systems by providing a framework to handle real-world imperfections, which could contribute to the advancement of secure quantum communication.
Table 1. Comparison of security analysis methods with state preparation and characterization imperfections.
Imperfections in state preparation and characterization
In this section, we give an analysis of the imperfections in state preparation and characterization, and give the representation of these imperfections to facilitate the security analysis.
In perfect single-photon QKD systems, Alice prepares the perfect quantum states , in Z basis for key generation and , in X basis for the estimation of information leakage. However, the practical prepared states may exhibit deviations from the ideal states, leading to imperfections. The practical states with encoding imperfection can be generally denoted as
where is the two-dimensional Hilbert space. The deviations from the ideal states are characterized by the fidelity . When the practical states are pure, they can be expressed as , where . Here, we note that the prepared states in Eq. (1) implicitly imply that the states do not include the potential side-channels and corrections, which are referred as the qubit assumption and independent and identically distributed (i.i.d.) assumption [27].
The weak coherent source is widely used in QKD systems due to the inefficiency of the current single-photon source. The coherent state with the intensity and phase can be denoted as . And the phase-randomized weak coherent state is equivalent to a mixture of the photon number states , where is the probability of Poisson distribution and is the photon number states. The ideal encoding states , and the photon number states , share some similarities in their definitions. Below, we do not explicitly distinguish them unless clarification is needed. We note that the secret keys can only be distilled from the single-photon states, while the multi-photon states will introduce the side channels. The decoy-state method addresses this issue, which provides a tight estimation corresponding to the single-photon states. In the decoy-state method, a set of states with different intensities are prepared: one for key generation and others for parameter estimation. Therefore, there are two modulation spaces in decoy-state QKD: the encoding space for key encoding, and the intensity space used for varying the photon number distribution. The intensity modulation may also exhibit imperfections, which are manifested as the intensity imperfection (i.e., intensity fluctuation). The phase-randomized weak coherent state with intensity imperfection can be expressed as
where is the set of intensities, may not be the Poisson distribution due to the intensity imperfection. Suppose the encoding and intensity are independent, the prepared state with encoding and intensity imperfections can be shown as . For example, the single-photon state is , where denotes the photon number and denotes the encoding .
In practical QKD system, the actual prepared state can be characterized experimentally, and the results show that the imperfections of the encoding and intensities both follow the Gaussian distributions [26]. If the states are characterized perfectly, then we can perform security analysis based on the characterized results. However, due to the limitations in characterization precision and the presence of noise, the performance of actual devices cannot guarantee precise state preparation. We refer this issue as the imperfection in state characterization. If the security analysis is based on the inaccurate states, it may lead to an insecure SKR. Therefore, it is essential to develop methods that account for these imperfections in state characterization. We denote the state characterized under conditions of both state preparation and characterization imperfections as
The relationship between this state and the actual state satisfies that . Actually, the characterized states and may not significantly deviate from the actual states and . This means that even with imperfections in state characterization, the characterized states can still provide a reference in a way for the characterization of the actual states . We give a representation of this characterization as or more explicitly, as follows:
Here, and represent the minimal spaces that are guaranteed to contain the actual quantum states and , based on the states and characterized in practice. Based on this representation, we can present the security analysis of QKD with the imperfections in state preparation and characterization.
Security analysis of QKD with imperfections
In single-photon QKD, only encoding is required, while both encoding and intensity modulation are necessary in decoy-state QKD. Therefore, we begin by providing the security analysis of encoding and characterization imperfections for single-photon QKD. This foundational analysis is directly applicable to decoy-state QKD. Subsequently, by incorporating the imperfections in intensity modulation and characterization, we achieve a comprehensive security analysis of the imperfections in modulation spaces for QKD.
Encoding and characterization imperfections
Suppose Alice’s encoding states are () in Eq. (1), which will be sent to Bob for detection. Since these states are ultimately held and measured by Bob, we denote the corresponding system as . We can purify the states in system by introducing the ancillary system as
Here, the (unnormalized) ancillary states in the system are virtual and we restrict only the correlations such that the inner products satisfy . This ancillary system is assumed to be possessed by Alice locally [27, 38]. The states with correspond to the basis in system . If the states are characterized with deviations as , we still could assume the virtual purification similarly and obtain the states . This is because the purification is entirely virtual and does not affect the actual states and their measurement results.
We consider an entanglement protocol where Alice prepares a composite state in basis by introducing another ancillary system to record the bits as
If Alice measures the system in the basis , she will obtain the state with probability . The states in the system are still , showing the equivalence of the entanglement scheme and the prepare-and-measure scheme. We note that the system for the purification of system does not affect the practical process. Since the operations on the system are commuted with Eve and Bob’s operations on the system , Alice could postpone the measurement on system after Bob receives the states. After Bob receives the states, the composite state in systems and possessed by Alice and Bob can be expressed as
where denote Eve’s evolution on the system . Then Alice and Bob measure the systems and in basis to obtain the raw key bits, respectively. Bob’s measurement in basis can be defined as the positive-operator valued measure (POVM) , where and corresponds to the result and inconclusive outcome, respectively. The SKR of the single-photon QKD is given by [1, 60, 61]
where is the probability of Z basis, , , and are the counting rate, phase error rate, and the bit error rate of the single-photon states, respectively. And is the binary Shannon entropy function.
The parameters and can be obtained directly with the raw key bits. However, the phase error rate should be estimated to characterize the information leakage. Suppose that Alice and Bob have measured the systems and of the state in X basis, the phase error rate can be defined as [27, 42, 62]
where , with , denotes the joint probability that Alice and Bob obtain results and when both measuring the composite state in X basis. As the system is local and virtual, the measurement on the system can be supposed perfect. When Alice’s measurement results on the system is , the state in the system can be shown as
where the coefficients are defined as
Suppose Bob’s measurement in X basis is defined as the POVM , where and corresponds to the result and inconclusive outcome, respectively. An essential assumption about Bob’s POVMs is the is the same in Z and X bases [27, 62]. In this way, the joint probabilities with in Eq. (9) can be expressed as
Here, the coefficient in Eq. (12) is the probability that Alice obtains .
Below, we analyze how to estimate the phase error rate defined in Eq. (9). According to Eq. (12), the denominator of Eq. (9) can be shown as
The last line in Eq. (13) is due to the consistency of in both bases. Hence, the denominator of Eq. (9) is equal to the counting rate of the single-photon states , which can be obtained directly in single-photon QKD. To obtain the numerator in Eq. (9), we give the operator dominance condition that there exists satisfying the following formula
Further, we could restrict Eq. (14) as equality in the majority of cases. If the prepared states , () form a tetrahedron on the Bloch sphere, then the right formula in Eq. (14) can represent all of the Bloch vectors. If only three states are employed, the equality can still hold on condition that the states form a triangle on the Bloch sphere. We note that the condition can be easily satisfied in QKD systems. We take the phase-encoding scheme as an example to explain the validity of the equality of Eq. (14). The phase-encoding state with phase can be expressed as , where and are the photon number states. The state can be re-expressed as with the base transformation and . Then the vector representation of the states are real-valued. Besides, the vector representation of is real-valued if we select the purification satisfying . The equality of Eq. (14) can be seen as a linear equation with the vector representation. The ranks of the coefficient and augmented matrices are both 3 and the linear equations have a unique solution . These analyses and assumptions for the equality of Eq. (14) are sufficient but unnecessary. We could directly solve Eq. (14) directly.
Based on Eq. (14), we can obtain the upper bound of the probabilities in the numerator in Eq. (9) as
Here, we define with and as the conditional probability that Bob obtains the result when Alice prepares the states and Bob’s measurement basis is X, which can be directly obtained in QKD systems. In this way, the upper bound of the phase error rate can be estimated as
In Eq. (10), the state is affected by the purification through the inner product . Hence the phase error rate may vary with different purification according to the probability in Eq. (12). Since the purification is virtual and will not affect the actual process, we could optimize the purification freely to minimize the phase error rate. The only restriction of the purification is about the inner product . We define a Gramian matrix of the (unnormalized) states as
where is and . The Gramian matrix is positive, i.e., . Conversely, for any positive matrix, there exists a set of vectors such that their Gramian matrix corresponds to the given matrix. Hence we could only care about the Gramian matrix but not the specific states .
The optimization of the phase error rate can be simplified to semidefinite programming as , given the states and the probabilities with and .
In QKD systems, the probabilities are obtained directly. The states should be characterized. As discussed above, the characterization might include inaccuracies. These discrepancies may lead to an underestimation of the phase error rate. To ensure security, we could analyze the upper bound of the phase error rate given the state spaces and conditional probabilities . We could calculate a presumptive phase error rate given any choice of the states . The maximum among all presumptive phase error rates gives an upper bound of the actual phase error rate. Therefore, the upper bound of the phase error rate is given by
With the upper bound on the phase error rate, we can determine the maximum information leakage to ensure the practical security of the protocol.
Intensity and characterization imperfections
In practical QKD systems, the weak coherent states are widely used as the physical carrier and the decoy-state method is employed to address the multi-photon issue. The secret keys are still distilled from the single-photon states. The SKR is given by [20, 29]
where is the intensity of the signal state for key generation, is the probability of preparing the signal state, and is the information revealed in the error correction step. In contrast to single-photon QKD, decoy-state QKD necessitates the estimation of both the phase error rate and the counting rate of single-photon states . It is essential to characterize the encoding states and the distribution of the photon number states. Below we analyze how to estimate the parameters and with both encoding and intensity imperfections, as well as characterization imperfections.
Define , with and , as the conditional probability that Bob obtains the result when Alice sends the single-photon state and Bob’s measurement basis is Z. The counting rate of the single-photon state is defined as
Then the lower bound of can be obtained with the lower bounds of , . The phase error rate is defined as the same as that in single-photon QKD. To obtain the upper bound of the phase error rate, we should estimate the bounds of , and . Overall, we need to estimate the bounds of to obtain the bounds of and . The conditional probability can be expressed as
The operator dominance conditions for the estimation of the lower and upper bounds are given separately as
where . Once the conditions in Eq. (22) are satisfied, we can obtain the bounds as
Here, is the counting rate that Bob obtains the result () when Alice prepares the state coherent state with encoding and intensity and Bob measure in Z (X) basis. Below, we show how to construct the operator dominance conditions in Eq. (22).
We consider the three-intensity decoy-state method, as an example, with intensity set , satisfying . In practical QKD systems, the intensities of the coherent states may fluctuate due to the effects of limited modulation accuracy and environmental noise. Besides, the characterization of might exhibit deviations from the actual states. Here we consider the state spaces for the actual state . First, we define two operators as
with coefficients defined as . By combining the two operators in Eq. (24), we define the following operator
where . To construct the operator dominance conditions in Eq. (22), we need the following conditions
These conditions can be easily satisfied and verified. For example, if for any , we can guarantee these conditions. We could directly verify the conditions in Eq. (26). Based on the mathematical induction method, we can conclude that and with . The details are discussed in App. § 8. According to Eqs. (24), (25) and (26) and the corollaries above, we can obtain the operator dominance conditions for Eq. (22) as , and .
Hence we give the coefficients for Eq. (22) as
and
To address the imperfections of the characterization, we could estimate the lower and upper bounds of as
With the bounds of in Eq. (29), we can calculate the lower bound of the counting rate for the single-photon states in Eq. (20) and the upper bound of the phase error rate in Eq. (18). Then the SKR can be calculated using Eq. (19). In this way, we address the imperfections in both state preparation and characterization in decoy-state QKD.
Our representation of the state preparation and characterization imperfections, along with the security analysis method, is readily applied to MDI-QKD protocol. Since MDI-QKD inherently immunes to the vulnerabilities at the detection side, it is beneficial to apply our method to MDI-QKD to enhance the overall security of QKD. Therefore, we provide a concise analysis of the applicability of our method to MDI-QKD in App. § 7.
Simulation
To evaluate the performance of the method, we simulate the SKR of QKD in the presence of the state preparation and characterization imperfections. We adopt the parameters of the encoding and intensity
imperfections from Ref. [26], which are measured in commercial QKD systems. These parameters are listed in Table 2 and Table 3. Specifically, the parameters about phase are not given in Ref. [26] and are assumed based on other parameters of the other three phases in Table 2. The means of phases 0, , and deviate from their ideal values by 0, , and , respectively. As the phase value increases, its mean deviates further from the ideal value. And we set the deviation for phase as . In the same way, we set the standard deviation of phase as . Note that the parameters set for phase are worse compared to other phases. Theoretically, the mean photon number is extremely close to but greater than zero. However, the fitted mean can occasionally become a very small negative number in Table 3 due to the following factors: the inherent electronic noise of detection system (e.g., oscilloscope, photodetector); the small offsets introduced in calibration and noise filtering procedures. This issue is precisely the problem that our paper aims to address: in practical QKD systems, the prepared quantum states suffer not only from state preparation imperfections, but also from state characterization imperfections. The negative mean intensity of the vacuum state is a concrete example of this characterization imperfection. We set the channel loss to the standard single-mode fiber parameter of 0.2 dB/km. The single-photon detector’s detection efficiency is set to 80%, and the dark count probability is set to .
| Phase | ||
Table 2. Gaussian parameters for the phase-encoding state preparation imperfections [26]. is the mean and is the standard deviation.
| Intensity | ||
| Vacuum | 0.0083 | |
| Decoy | 0.236 | 0.0149 |
| Signal | 0.602 | 0.0258 |
Table 3. Gaussian parameters for the intensity state preparation imperfections [26]. is the mean and is the standard deviation.
We first focus only on the encoding and characterization imperfections in single-photon QKD in Figure 1. We set the basis and bit selection probabilities as and . In Figure 1(a), we consider the pure case where the modulated phases are fixed. The parameter characterizes the maximum state characterization deviation for all states. Suppose the characterized modulated phase is , we assume that the actual belongs to the neighborhood . Here, the neighborhood characterizes the imperfection of characterization. We could use this to express the state spaces as so as to estimate the
Figure 1. Secret key rate in logarithmic scale versus transmission distance between Alice and Bob in single-photon QKD with encoding and characterization imperfections. The subfigures illustrate the details at specific distances in linear scale. (a) The ideal case represents the scenario where both state encoding and state characterization are perfect. In other scenarios, the actual encoding states are still pure and set as the mean values in Table 2, but there exists a maximum state characterization deviation of . (b) The ideal case represents the scenario where both state encoding and state characterization are perfect. In other scenarios, the actual encoding states are mixed and the parameters are set according to Table 2. Besides, the maximum state characterization deviations of the mean and standard deviation are both set as .
phase error rate in Eq. (18). Since the state space is entirely determined by neighbourhood, an explicit and complex expression for the state spaces is not essential. We simulate the SKRs with different and compare them with the ideal case. The ideal case represents that both the encoding and the state characterization are perfect. And the case that indicates that the encoding is imperfect while the state characterization remains perfect. The results show that the SKR under different conditions are nearly identical, even when the maximum state characterization deviation is as large as 0.1. The difference between different cases in single-photon QKD is summarize in Table 4. Then we consider the mixed case in Figure 1(b). The parameter characterizes the maximum state characterization deviation of the mean and standard deviation for all states. That is, the neighbourhoods and with measured and depict the characterization deviation. With the neighbourhoods and , while the explicit expressions of state spaces can be derived, they do not aid the analysis and are thus omitted for clarity. It can be seen that these SKRs with encoding imperfection and characterization deviations also nearly overlap with the ideal one in the mixed case. This verifies the tightness of the proposed method in the presence of encoding and characterization imperfections.
Table 4. The difference between different cases in single-photon QKD.
In Figure 2, we simulate the SKR in decoy-state QKD with intensity and characterization imperfections according to parameters in Table 2 and Table 3. Here, since the physical intensity of light is always nonnegative, we adopt a truncated Gaussian distribution model for vacuum state: we truncate the Gaussian distribution at zero, considering only the portion of the distribution where the intensity is greater than or equal to zero, and renormalize the remaining probability density accordingly. This approach ensures that our analysis is physically meaningful and does not rely on unphysical negative intensities. Specifically, the truncated Gaussian distribution is given by

(a)

(b)
Figure 2. Secret key rate in logarithmic scale versus transmission distance between Alice and Bob in decoy-state QKD with intensity and characterization imperfections. The subfigures illustrate the details at specific distances in linear scale. The encoding is set to be ideal. (a) The intensities of the signal and decoy states are fixed as the mean values in Table 3 and the intensity of the vacuum state is set as 0.01. The maximum state characterization deviations are both set as . (b) The prepared states are set as mixed according to Table 3. The maximum state characterization deviations of the mean and standard deviation are both set as .
where is the probability density function of the Gaussian distribution, adn is the cumulative distribution function. The basis and bit selection probabilities are set the same as those in single-photon QKD. The probabilities for signal, decoy, and vacuum states are set as , , and , respectively. We first consider the pure case in Figure 2a. The parameter characterizes the maximum state characterization deviation for all intensity states. Suppose the characterized intensity is , we assume that the actual belongs to the interval . We note that it can be regarded as the ideal case when as our method does not assume the distribution in Eq. (2). We simulate the SKRs with different . The results show that the SKR is compromised as the characterization deviation increases. It can be seen that the impact of inaccuracies in intensity characterization on the secure key rate is greater than that of encoding characterization inaccuracies. A key reason is that the intensity characterization simultaneously determines the estimation of both the single-photon count rate and the phase error rate, while the encoding characterization only affects the estimation of the phase error rate. In Figure 2b, the mixed case of intensity imperfection is considered by setting the maximum state characterization deviation . Here, the intervals and with characterized and depict the characterization deviation. Also, it corresponds to the ideal case when . The results obtained are similar to those under the pure state case.
In Figure 3, we consider the general case, where both encoding and intensity imperfections as well as characterization imperfections are simultaneously taken into account in the decoy-state QKD system. Here, we set and simulate the SKR under various settings. The simulation results show that as the characterization deviation and increase the SKR will decrease. The primary reason is the inaccuracy in characterizing the intensity imperfection. However, generally speaking, the characterization accuracy for the intensities can reach 0.01 or even lower in QKD systems. In this practical case, the SKR is almost identical to that with precise characterization. In this way, the effectiveness of the proposed method is verified despite the presence of imperfections in state preparation and characterization.
Figure 3. Secret key rate in logarithmic scale versus transmission distance between Alice and Bob in decoy-state QKD in the presence of imperfections in encoding, intensity, and characterization. The parameters of encoding and intensity are set according to Table 2 and Table 3. The maximum state characterization deviations of the mean and standard deviation for encoding and intensity are set as and , respectively.
In Figure 4, we consider the impact of finite-key effects in practical implementations. In realistic QKD systems, the total number of transmitted pulses is finite, which imposes limits on the achievable SKR. To evaluate the performance of our method under practical conditions, we simulate the SKR while incorporating imperfections in both state preparation and characterization, setting the deviation parameters as . The results compare the SKR in both the asymptotic limit and under finite-key conditions with reasonable total pulse numbers , , and . The results show that the finite-key SKR gradually deviates from the asymptotic limit at longer distances, but this deviation becomes progressively weaker as the number of pulses increases. Notably, when , the SKR remains nearly unaffected within a distance of 150 km and the maximum transmission distance can reach up to 250 km. When , the finite-key SKR closely approaches the asymptotic limit up to 250 km, and the achievable secure distance extends to 284 km. These results demonstrate that our method remains effective in the finite-key regime, and suggest that the number of pulses can be optimized according to the target transmission distance to achieve near optimal performance.
Figure 4. Secret key rate in logarithmic scale versus transmission distance between Alice and Bob in decoy-state QKD under practical conditions: finite-key effects, imperfections in encoding, intensity, and characterization. The parameters of encoding and intensity are set according to Table 2 and Table 3. The maximum state characterization deviations of the mean and standard deviation for encoding and intensity are set as .
In Figure 5, we simulate the SKR of MDI-QKD with imperfections in encoding, intensity, and characterization. Here, since only one set of parameters for the imperfections is available (2 and 3), we adopt these parameters for both Alice and Bob for simplicity. However, the analysis remains applicable in general, as the security analysis method in App. § 7 does not rely on this specific assumption. The results show that the method remains highly applicable to MDI-QKD. Despite practical imperfections in encoding, intensity, and characterization, the SKR closely approaches the ideal case. Even with relatively large deviations (), the method still enables MDI-QKD over distances exceeding 375 km.
Figure 5. Secret key rate in logarithmic scale versus transmission distance between Alice and Bob in MDI-QKD in the presence of imperfections in encoding, intensity, and characterization. The parameters of encoding and intensity are set according to Table 2 and Table 3.
Discussion
In QKD systems, the imperfections of state preparation can introduce vulnerabilities that compromise practical security. The imperfections in state characterization further exacerbate the challenges by introducing additional inaccuracies. In this work, we present the practical security analysis of QKD in practical scenario involving imperfections of encoding, intensity and the state characterization. To accommodate these imperfections simultaneously, we provide a unified framework based on the operator dominance method and give a tight estimation of the SKR. Our method is based on a characterization of the quantum states, while allowing for some tolerance in the accuracy of the state characterization. This flexibility helps reduce conservativeness in parameter estimation so as to achieve high QKD performance while maintaining practicality. Moreover, we offer a concise analysis to prove the suitability to MDI-QKD, enabling practical security on both Alice’s and Bob’s sides. These advancements contribute to the development of more reliable and secure quantum networks.
Future advances in practical QKD security could be realized by extending security analyses to include additional imperfections, including side-channel effects and correlations. First, the present analysis requires the qubit assumption, which inherently excludes potential side channels. However, in practice, the encoding and intensity modulation processes may reflect inadvertently in other degrees of freedom [63], creating exploitable side channels. The effects of side channels cannot be directly characterized using the operator dominance method, especially since the relevant side-channel parameters are often inaccessible or poorly characterized in realistic implementations. Second, the above analyses do not incorporate the corrections between consecutively prepared quantum states. Such corrections undermine the independence of quantum states, which can be essentially regarded as a form of information leakage [45]. Fortunately, several promising approaches have been proposed to address these imperfections [44, 45, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73]. Therefore, future efforts could focus on enhancing our framework by integrating these advanced techniques and explicitly addressing practical experimental imperfections. Overcoming these challenges will be essential for the deployment of secure, high-performance, and scalable quantum communication networks.
Acknowledgments
This work was supported by Henan Science and Technology Major Project of the Department of Science & Technology of Henan Province (No. 241100210400), National Key Research and Development Program of China (No. 2020YFA0309702), National Natural Science Foundation of China (Nos. U2130205, 62101597), Natural Science Foundation of Henan (No. 242300421219).
MDI-QKD with imperfections in state preparation and characterization
We first consider the encoding and characterization imperfections in single-photon MDI-QKD. We suppose the prepared states at Alice and Bob’s sides both can be denoted as , () for simplicity. But the subsequent analysis remains valid even when the states prepared by Alice and Bob are different. In the entanglement version, we suppose both Alice and Bob prepare the entanglement states and in Eq. (6). Then keep the systems and locally, and send the systems and to an untrusted party (named Charlie). Charlie is supposed to perform interference measurement and announce the results , where 0 and 1 correspond to the announcement of the Bell state , and corresponds to other invalid measurements. After the announcement, the states corresponding to the announced results can be expressed as
where represents Charlie’s operation when announcing result , and
is the probability of announcing result , and the states are defined as
In this way, we can define the phase error rate corresponding to result below similarly as that in Eq. (9)
where , with and , is the joint probability that Alice and Bob obtain results and in X basis and Charlie announces result . We can define the overall phase error rate using the convexity of the binary entropy function as
Note that Alice and Bob’s measurements are performed on the systems and , which are independent of Charlie’s measurement. Hence, the probability can be expressed as
where the states , with , are defined in Eq. (10). Then with the operator dominance condition in Eq. (14), we can obtain
In this way, we could estimate the upper bound of as
where we have defined
which is the probability of obtaining Charlie’s announced result when Alice and Bob send the states and , respectively. Note that the probability can be directly obtained. The optimal of the phase error rate is the same as that in Eq. (18). In this way, we present the parameter estimation method in single-photon MDI-QKD. The SKR of single-photon MDI-QKD is shown as [22, 24]
where is the probability of selecting Z basis, is the counting rate in Z basis (i.e., the counting rate when Alice and Bob send the single-photon states), and is its bit error rate.
In decoy-state MDI-QKD, the key is to estimate the bounds of defined in Eq. (39) corresponding to the single-photon states. The counting rate of the single-photon states is shown as
And the phase error rate can be estimated with the bounds of the same as that in single-photon MDI-QKD. Below we show how to estimate the bounds of , which can be re-expressed by introducing the photon number as
With the operator dominance conditions in Eq. (22), we can derive the bounds as
where is the probability that Alice and Bob’s encoding bits are and , the intensities are and , and Charlie announces result . Then we can calculate the lower bound of the counting rate and the upper bound of the phase error rate for the single-photon states. The SKR of the decoy-state MDI-QKD is given as [22, 24]
where is the probability of preparing the signal states, is the probability of the single-photon states as shown in Eq. (2).
Details for operator dominance conditions
The conditions in Eq. (26) can be verified easily, as they only involve simple numerical calculations. Below, we provide details of obtaining the corollaries that and with .
For simplicity, we first define the formulas as
and that
We can verify the following formula with , where the range of the summation parameters is omitted for simplicity,
Here, we define the as the probability that a state intended to have intensity is actually prepared with an intensity . This arises from the imperfections in the state preparation. As the fraction in the last line of Eq. (47) is greater than or equal to 0, the sign of is the same as that of , or is equal to 0. Therefore, if , we can conclude that with .
It is evident that . We give the following formula with
Here, we have defined the parameter
with
Therefore, based on the mathematical induction method, we can obtain that
References
- [1]C.H. Bennett, G. Brassard, Theoretical Computer Science 560, 7 (2014)
- [2]F. Xu, X. Ma, Q. Zhang, H.K. Lo, J.W. Pan, Reviews of Modern Physics 92(2), 025002 (2020)
- [3]S. Pirandola, U.L. Andersen, L. Banchi, M. Berta, D. Bunandar, R. Colbeck, D. Englund, T. Gehring, C. Lupo, C. Ottaviani, J.L. Pereira, M. Razavi, J. Shamsul Shaari, M. Tomamichel, V.C. Usenko, G. Vallone, P. Villoresi, P. Wallden, Advances in Optics and Photonics 12(4), 1012 (2020)
- [4]K. Azuma, S.E. Economou, D. Elkouss, P. Hilaire, L. Jiang, H.K. Lo, I. Tzitrin, Reviews of Modern Physics 95(4), 045006 (2023)
- [5]F. Grosshans, P. Grangier, Physical Review Letters 88(5), 057902 (2002)
- [6]G.L. Long, X.S. Liu, Physical Review A 65(3), 032302 (2002)
- [7]N.T. Islam, C.C.W. Lim, C. Cahall, J. Kim, D.J. Gauthier, Science advances 3(11), e1701491 (2017)
- [8]M. Lucamarini, Z.L. Yuan, J.F. Dynes, A.J. Shields, Nature 557(7705), 400 (2018)
- [9]P. Zeng, H. Zhou, W. Wu, X. Ma, Nature Communications 13(1), 3903 (2022)
- [10]Y.M. Xie, Y.S. Lu, C.X. Weng, X.Y. Cao, Z.Y. Jia, Y. Bao, Y. Wang, Y. Fu, H.L. Yin, Z.B. Chen, PRX Quantum 3(2), 020315 (2022)
- [11]H.L. Yin, T.Y. Chen, Z.W. Yu, H. Liu, L.X. You, Y.H. Zhou, S.J. Chen, Y. Mao, M.Q. Huang, W.J. Zhang, H. Chen, M.J. Li, D. Nolan, F. Zhou, X. Jiang, Z. Wang, Q. Zhang, X.B. Wang, J.W. Pan, Physical Review Letters 117(19), 190501 (2016)
- [12]A. Boaron, G. Boso, D. Rusca, C. Vulliez, C. Autebert, M. Caloz, M. Perrenoud, G. Gras, F. Bussières, M.J. Li, D. Nolan, A. Martin, H. Zbinden, Physical Review Letters 121(19), 190502 (2018)
- [13]Y.A. Chen, Q. Zhang, T.Y. Chen, W.Q. Cai, S.K. Liao, J. Zhang, K. Chen, J. Yin, J.G. Ren, Z. Chen, S.L. Han, Q. Yu, K. Liang, F. Zhou, X. Yuan, M.S. Zhao, T.Y. Wang, X. Jiang, L. Zhang, W.Y. Liu, Y. Li, Q. Shen, Y. Cao, C.Y. Lu, R. Shu, J.Y. Wang, L. Li, N.L. Liu, F. Xu, X.B. Wang, C.Z. Peng, J.W. Pan, Nature 589(7841), 214 (2021)
- [14]Y. Liu, W.J. Zhang, C. Jiang, J.P. Chen, C. Zhang, W.X. Pan, D. Ma, H. Dong, J.M. Xiong, C.J. Zhang, H. Li, R.C. Wang, J. Wu, T.Y. Chen, L. You, X.B. Wang, Q. Zhang, J.W. Pan, Physical Review Letters 130(21), 210801 (2023)
- [15]L. Zhou, J. Lin, Y.M. Xie, Y.S. Lu, Y. Jing, H.L. Yin, Z. Yuan, Physical Review Letters 130(25), 250801 (2023)
- [16]F. Grünenfelder, A. Boaron, G.V. Resta, M. Perrenoud, D. Rusca, C. Barreiro, R. Houlmann, R. Sax, L. Stasi, S. El-Khoury, E. Hänggi, N. Bosshard, F. Bussières, H. Zbinden, Nature Pho-tonics 17(5), 422 (2023)
- [17]W. Li, L. Zhang, H. Tan, Y. Lu, S.K. Liao, J. Huang, H. Li, Z. Wang, H.K. Mao, B. Yan, Q. Li, Y. Liu, Q. Zhang, C.Z. Peng, L. You, F. Xu, J.W. Pan, Nature Photonics 17(5), 416 (2023)
- [18]X.T. Zheng, Q.F. Zhang, J. Ling, G.C. Guo, Z.F. Han, npj Quantum Information 11(1), 52 (2025)
- [19]W.Y. Hwang, Physical Review Letters 91(5), 057901 (2003)
- [20]H.K. Lo, X. Ma, K. Chen, Physical Review Letters 94(23), 230504 (2005)
- [21]X.B. Wang, Physical Review Letters 94(23), 230503 (2005)
- [22]H.K. Lo, M. Curty, B. Qi, Physical Review Letters 108(13), 130503 (2012)
- [23]S.L. Braunstein, S. Pirandola, Physical Review Letters 108(13), 130502 (2012)
- [24]X. Ma, M. Razavi, Physical Review A 86(6), 062319 (2012)
- [25]K. Tamaki, H.K. Lo, C.H.F. Fung, B. Qi, Physical Review A 85(4), 042307 (2012)
- [26]A. Huang, A. Mizutani, H.K. Lo, V. Makarov, K. Tamaki, Physical Review Applied 19(1), 014048 (2023)
- [27]K. Tamaki, M. Curty, G. Kato, H.K. Lo, K. Azuma, Physical Review A 90(5), 052314 (2014)
- [28]X.B. Wang, Physical Review A 75(5), 052301 (2007)
- [29]D. Gottesman, H.K. Lo, N. Lütkenhaus, J. Preskill, Quantum Information and Computation 4(5), 325 (2004)
- [30]F. Xu, B. Qi, H.K. Lo, New Journal of Physics 12(11), 113026 (2010)
- [31]Y.L. Tang, H.L. Yin, X. Ma, C.H.F. Fung, Y. Liu, H.L. Yong, T.Y. Chen, C.Z. Peng, Z.B. Chen, J.W. Pan, Physical Review A 88(2), 022308 (2013)
- [32]S. Sajeed, I. Radchenko, S. Kaiser, J.P. Bourgoin, A. Pappa, L. Monat, M. Legré, V. Makarov, Physical Review A 91(3), 032326 (2015)
- [33]H.W. Li, Z.M. Xu, Q.Y. Cai, Physical Review A 98(6), 062325 (2018)
- [34]F. Xu, K. Wei, S. Sajeed, S. Kaiser, S. Sun, Z. Tang, L. Qian, V. Makarov, H.K. Lo, Physical Review A 92(3), 032305 (2015)
- [35]A. Mizutani, M. Curty, C.C.W. Lim, N. Imoto, K. Tamaki, New Journal of Physics 17(9), 093011 (2015)
- [36]Z. Tang, K. Wei, O. Bedroya, L. Qian, H.K. Lo, Physical Review A 93(4), 042308 (2016)
- [37]G. Currás-Lorenzo, Á. Navarrete, M. Pereira, K. Tamaki, Physical Review A 104(1), 012406 (2021)
- [38]J.E. Bourassa, I.W. Primaatmaja, C.C.W. Lim, H.K. Lo, Physical Review A 102(6), 062607 (2020)
- [39]H.W. Li, C.P. Hao, Z.J. Chen, L. Gong, Y.F. Lu, Y. Wang, J.J. Li, C.M. Zhang, R. Wang, Z.Q. Yin, Q.Y. Cai, Science China Physics, Mechanics & Astronomy 67(7), 270313 (2024)
- [40]D. Gottesman, H.K. Lo, N. Lütkenhaus, J. Preskill, in International Symposium onInformation Theory, 2004. ISIT 2004. Proceedings. p. 136. DOI 10.1109/ISIT.2004.1365172DOI
- [41]H.K. Lo, J. Preskill, Quantum Information and Computation 7(5), 431 (2007)
- [42]M. Koashi, New Journal of Physics 11(4), 045018 (2009)
- [43]Y. Nagamatsu, A. Mizutani, R. Ikuta, T. Yamamoto, N. Imoto, K. Tamaki, Physical Review A 93(4), 042325 (2016)
- [44]A. Mizutani, G. Kato, K. Azuma, M. Curty, R. Ikuta, T. Yamamoto, N. Imoto, H.K. Lo, K. Tamaki, npj Quantum Information 5(1), 8 (2019)
- [45]G. Currás-Lorenzo, M. Pereira, G. Kato, M. Curty, K. Tamaki, arXiv:2305.05930v3 (2023)
- [46]Z.Q. Yin, C.H.F. Fung, X. Ma, C.M. Zhang, H.W. Li, W. Chen, S. Wang, G.C. Guo, Z.F. Han, Physical Review A 90(5), 052319 (2014)
- [47]C. Wang, S. Wang, Z.Q. Yin, W. Chen, H.W. Li, C.M. Zhang, Y.Y. Ding, G.C. Guo, Z.F. Han, Optics Letters 41(23), 5596 (2016)
- [48]W.Y. Hwang, H.Y. Su, J. Bae, Physical Review A 95(6), 062313 (2017)
- [49]J.R. Zhu, W.Z. Wu, L. Ji, C.M. Zhang, Q. Wang, Optics Letters 44(23), 5703 (2019)
- [50]X.Y. Zhou, H.J. Ding, C.H. Zhang, J. Li, C.M. Zhang, Q. Wang, Optics Letters 45(15), 4176 (2020)
- [51]F.Y. Lu, Z.H. Wang, Z.Q. Yin, S. Wang, R. Wang, G.J. Fan-Yuan, X.J. Huang, D.Y. He, W. Chen, Z. Zhou, G.C. Guo, Z.F. Han, Optica 9(8), 886 (2022)
- [52]X.B. Wang, L. Yang, C.Z. Peng, J.W. Pan, New Journal of Physics 11(7), 075006 (2009)
- [53]Y. Li, W.S. Bao, H.W. Li, C. Zhou, Y. Wang, Physical Review A 89(3), 032329 (2014)
- [54]F.Y. Lu, Z.Q. Yin, R. Wang, G.J. Fan-Yuan, S. Wang, D.Y. He, W. Chen, W. Huang, B.J. Xu, G.C. Guo, Z.F. Han, New Journal of Physics 21(12), 123030 (2019)
- [55]F.Y. Lu, X. Lin, S. Wang, G.J. Fan-Yuan, P. Ye, R. Wang, Z.Q. Yin, D.Y. He, W. Chen, G.C. Guo, Z.F. Han, npj Quantum Information 7(1), 75 (2021)
- [56]C. Jiang, Z.W. Yu, X.L. Hu, X.B. Wang, National Science Review 10(4), nwac186 (2022)
- [57]F.Y. Lu, Z.H. Wang, S. Wang, Z.Q. Yin, J.L. Chen, X. Kang, D.Y. He, W. Chen, G.J. Fan-Yuan, G.C. Guo, Z.F. Han, Journal of Lightwave Technology 41(15), 4895 (2023)
- [58]K. Maeda, T. Sasaki, M. Koashi, Nature Communications 10(1), 3140 (2019)
- [59]R.Q. Wang, Z.Q. Yin, F.Y. Lu, R. Wang, S. Wang, W. Chen, W. Huang, B.J. Xu, G.C. Guo, Z.F. Han, Optics Express 28(15), 22594 (2020)
- [60]H.K. Lo, H.F. Chau, Science 283(5410), 2050 (1999)
- [61]P.W. Shor, J. Preskill, Physical Review Letters 85(2), 441 (2000)
- [62]M. Koashi, arXiv:0704.3661 (2007)arxiv.org/abs/0704.3661
- [63]M. Pereira, M. Curty, K. Tamaki, npj Quantum Information 5(1), 62 (2019)
- [64]K.i. Yoshino, M. Fujiwara, K. Nakata, T. Sumiya, T. Sasaki, M. Takeoka, M. Sasaki, A. Tajima, M. Koashi, A. Tomita, npj Quantum Information 4(1), 8 (2018)
- [65]M. Pereira, G. Kato, A. Mizutani, M. Curty, K. Tamaki, Science Advances 6(37), 4487 (2020)
- [66]V. Zapatero, A. Navarrete, K. Tamaki, M. Curty, Quantum 5, 602 (2021)
- [67]X. Sixto, V. Zapatero, M. Curty, Physical Review Applied 18(4), 044069 (2022)
- [68]M. Pereira, G. Currás-Lorenzo, A. Navarrete, A. Mizutani, G. Kato, M. Curty, K. Tamaki, Physical Review Research 5(2), 023065 (2023)
- [69]D. Trefilov, X. Sixto, V. Zapatero, A. Huang, M. Curty, V. Makarov, arXiv:2411.00709v1 (2024)DOI
- [70]M. Pereira, G. Currás-Lorenzo, A. Mizutani, D. Rusca, M. Curty, K. Tamaki, Quantum Science and Technology 10(1), 015001 (2025)
- [71]A. Gnanapandithan, L. Qian, H.K. Lo, Physical Review Letters 134(13), 130802 (2025)
- [72]A. Marcomini, G. Currás-Lorenzo, D. Rusca, A. Valle, K. Tamaki, M. Curty, EPJ Quantum Technology 12(1), 38 (2025)
- [73]J.X. Li, F.Y. Lu, Z.H. Wang, V. Zapatero, M. Curty, S. Wang, Z.Q. Yin, W. Chen, D.Y. He, G.C. Guo, Z.F. Han, npj Quantum Information 11(1), 106 (2025)



