This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Hybrid Implementation for Untrusted-node-based Quantum Key Distribution Network

Jingyang Liu1,2,3, Xingyu Zhou1,2,3, Huajian Ding1,2,3, Jiaxin Xu1,2,3,
Chunhui Zhang1,2,3, Jian Li1,2,3, and Qin Wang1,2,3∗
1Institute of quantum information and technology,
Nanjing University of Posts and Telecommunications, Nanjing 210003, China.
   2“Broadband Wireless Communication and Sensor Network Technology”Key Lab of Ministry of Education,
Ministry of Education, Nanjing 210003, China.
   3“Telecommunication and Networks”National Engineering Research Center, NUPT, Nanjing 210003, China    Corresponding author. Email: qinw@njupt.edu.cn   
Abstract

Quantum key distribution (QKD) serves as a cornerstone of secure quantum communication, providing unconditional security grounded in quantum mechanics. While trusted-node networks have facilitated early QKD deployment, their vulnerability to node compromise underscores the need for untrusted-node architectures. Measurement-device-independent QKD (MDI-QKD) and twin-field QKD (TF-QKD) have emerged as leading candidates, addressing security vulnerabilities and extending transmission distances. Despite the wide adoptions in various fiber scaling, no integrated implementation of these two protocols has been demonstrated to date. Here, we present a hybrid system that seamlessly integrates TF-QKD and MDI-QKD into one untrusted-node-based architecture. Utilizing an efficient phase estimation method based on asymmetric interferometers, we convert twin-field global phase tracking to relative phase calibration, allowing near continuous running of both protocols. Experiments demonstrate secure finite-size key rates for sending-or-not-sending QKD and MDI-QKD over fiber distances of 150 to 431 km. The results align with theoretical simulations and show the ability to surpass the absolute repeaterless key capacity. Our work offers an unified framework for deploying multi-protocol QKD networks, laying the foundation for adaptable and scalable quantum infrastructures that can meet a wide range of security and performance needs.

Introduction

Quantum cryptography, particularly quantum key distribution (QKD)  (?) provides a way to distribute secure keys between two legitimate parties, Alice and Bob, on fiber optic networks, the secrecy of which is guaranteed by the laws of quantum mechanics  (?, ?, ?) and Vernam’s one-time-pad method. Since Bennet and Brassard proposed the BB84 protocol  (?), QKD has been studied extensively towards more established security  (?), wider practicality  (?, ?, ?) and quantum networking  (?, ?, ?, ?).

Networking is crucial for large-scale QKD applications, enabling secure communication services for multi-users  (?). In recent years, several QKD networks have been developed and demonstrated  (?, ?, ?), marking significant progress toward real-world implementation. These efforts have led to the successful establishment of trusted-node networks and paved the way toward the realization of a quantum internet  (?). However, trusted-node networks are vulnerable to attacks that compromise the credibility of intermediary nodes, potentially paralyzing large parts of the network. If a central node becomes untrusted, the functionality of a star-topology or line-topology is compromised. It threatens the overall security of metropolitan and wide-area QKD networks based on these topologies  (?, ?). To ensure robust security and scalability, it is imperative to transition to untrusted-node-based architectures, removing dependency on trusted nodes.

QKD protocols with measurement-device-independent (MDI) security  (?) are the leading candidate for upgrading quantum networks to support untrusted nodes. Compared with quantum repeaters  (?) and device-independent QKD (DI-QKD)  (?), its maturity and ease of implementation positions these protocols as one of the most promising schemes for large-scale applications and scalable quantum networking. It effectively eliminates all detector-side channel attacks, making it highly secure and well-suited for practical deployment in untrusted-node-based networks. Unlike end-to-end QKD protocols  (?, ?), where the measurement nodes are vulnerable to security breaches, the measurement unit of these protocols can be considered untrusted, but still maintain security.

The MDI-QKD protocol  (?) was first introduced by Lo et al., leveraging the principle of virtual entanglement swapping to eliminate all detection-side vulnerabilities. The transmitters of MDI-QKD, Alice and Bob, need to prepare the same quantum states as the BB84 protocol, and the quantum states sent by both parties are transmitted through the channel to an untrusted third party, Charlie, to perform the two-photon Bell state measurement and announces the detection of valid events that Alice and Bob can use to distill secure keys. The MDI security has been rigorously proven in both infinite and finite regimes  (?, ?). Several experiments based on decoy-state MDI-QKD protocols  (?, ?) have achieved remarkable milestones, including long-distance transmission  (?, ?), high speed  (?), and on-chip systems  (?). MDI-QKD has shown promise for network integration, paving the way for secure and scalable QKD networks  (?).

On the other hand, due to significant photon loss in quantum channel, the key rate of MDI-QKD and other end-to-end QKD protocols is fundamentally constrained by the secure key capacity of repeaterless QKD  (?), also known as the Pirandola-Laurenza-Ottaviani-Banchi (PLOB) bound, R=log2(1η)R=-\log_{2}(1-\eta). Here, RR represents the secure key rate, and η\eta is the total channel transmittance between two users. To overcome this limitation, twin-field QKD (TF-QKD)  (?) was proposed to achieve a key rate scaling as O(η)O(\sqrt{\eta}), surpassing the PLOB bound. In TF-QKD, both Alice and Bob independently generate and encode weak coherent pulses (WCPs) to Charlie, who then performs single-photon interference and announces the detection of valid events for Alice and Bob to distill secure keys. This process guards the protocol against eavesdropping on detection side in a manner similar to phase-encoding MDI-QKD  (?). Different from MDI-QKD, which relies on second-order optical interference and requires two-photon coincidence events to generate a raw key bit, TF-QKD utilizes first-order optical interference, allowing a raw key bit to be generated from a single-photon detection event. The full security of TF-QKD and the derivation of its secure key rate RR are rigorously established through a series of theoretical advancements  (?, ?, ?, ?), such as sending-or-not-sending QKD (SNS-QKD)  (?). Building on these theoretics, several experimental efforts have been undertaken to demonstrate the TF-QKD’s ability to surpass the repeaterless key capacity over extended fiber links  (?, ?, ?, ?, ?, ?, ?, ?). These studies highlight the potential of TF-QKD to enable longer transmission distances in QKD networks with fewer relays, and mark a critical step toward large-scale quantum communication networks.

Upgrading to untrusted-node-based QKD networks offers significant improvements in security and robustness, but it also comes with substantial costs and technical challenges that require careful evaluation. In fiber-based phase-encoding QKD networks, an important promotion would be to support both MDI-QKD and TF-QKD, ensuring a versatile, multi-protocol system that can accommodate different security needs and deployment scenarios. While TF-QKD does not inherently require asymmetric interferometers, these devices are essential in most current phase-encoding BB84 networks and MDI-QKD systems. They conveniently facilitate state preparation in the Z and X bases, corresponding to the Pauli operators σZ\sigma_{Z} and σX\sigma_{X}, respectively. In MDI-QKD, the encoders can be harmonized by constraining the BB84 basis choices, and the measurement unit can be upgraded for compatibility with both BB84 and MDI-QKD through the use of asymmetric interferometers  (?). Incorporating TF-QKD into the existing codec framework, which heavily relies on asymmetric interferometers, is therefore a critical issue for phase-encoding networks. Addressing this issue not only ensures compatibility but also lowers the barriers to deploying multi-protocol QKD systems in terms of technical demand. Despite impressive progress in extending transmission distances  (?, ?), the integration of TF-QKD and phase-encoding MDI-QKD remains an open and pivotal task.

Figure 1 illustrates the schematic of a hybrid untrusted-node-based QKD network, where all users are interconnected through an untrusted central node that provides measurement services. Each user is equipped with a transmitter, and user links can dynamically select the protocol based on factors such as distance or device capabilities. For instance, Alice and David may establish an MDI-QKD link, Alice and Felix a TF-QKD link, and Alice and Bob have the flexibility to choose either protocol. The multi-protocol integration is crucial for the broad deployment of untrusted-node-based QKD networks, enabling flexible and scalable applications across diverse network conditions. In this work, we present a hybrid implementation of TF-QKD and MDI-QKD based on timebin-phase encoding. The system enables smooth switching between the two protocols and supports their continuous operation with a high transmission duty cycle, regardless of fiber length, leveraging the asymmetric interferometer structure. For a proof-of-principle demonstration, we experimentally demonstrate finite-size secure key rates for the SNS-QKD protocol with the actively-odd-parity-pairing (AOPP) method  (?) and the MDI-QKD protocol with the double-scanning method  (?) over a range of fiber distances. This hybrid approach provides a solution for multi-protocol compatibility of untrusted-node-based QKD networks.

Refer to caption
Figure 1: Schematic of the hybrid QKD network based on untrusted nodes. The red line represents the TF-QKD link, the yellow line denotes the MDI-QKD link, and the blue line indicates the multi-protocol link. The bottom layer illustrates the physical connection, where the QKD protocol is implemented between users, while the upper layer represents the users’ network connections.

Results

Experimental design

A conceptual schematic of the experimental setup is provided in Fig. 2a. On the source side, two narrow-linewidth semiconductor continuous-wave lasers (Rio PLANEX) with a central wavelength of 1549.32 nm and a linewidth of approximately 2 kHz are frequency-locked to each other using a heterodyne optical phase-locked loop (OPLL). Each laser is capable of maintaining optical frequency stability within 5 MHz over six hours. Alice’s continuous light is divided by a 50:50 beam splitter (BS), while Bob’s continuous light, after passing through a phase modulator (PM), undergoes a similar division by a 50:50 BS. One beam from each side is used for quantum-state encoding, while another beam from Alice is transmitted through the servo channel (0.18 dB/km) and coupled with the corresponding beam from Bob to generate a beat note. A polarization controller (PC) on Bob side aligns the polarization of the beams involved in the beat frequency, maximizing the magnitude of the beat signal. An acousto-optic modulator (AOM) is positioned after the BS to introduce a precise optical frequency shift of 300.7 MHz, which also serves as the reference frequency. By locking the beat note to this signal, the OPLL and the PM0 on Bob side achieve precise optical phase locking. The evaluation of OPLL is discussed in detail in sec. III.

Refer to caption
Figure 2: Experimental setup. SNSPD: superconducting nanowire single-photon detector; PD: photodetector; PBS: polarization beam splitter; IM: intensity modulator; CIR: circulator; PM: phase modulator; EPC: electronic polarization controller; BS: beam splitter; AOM: acousto-optic modulator; ATT: attenuator; PC: polarization controller; LO: local oscillator; LPF: low-pass filter; FMI: Faraday-Michelson interferometer.

The locked coding beams at both Alice’s and Bob’s sides are processed through two cascaded intensity modulators (IMs), which chop the light into pulse sequences with a 50 MHz repetition rate and a temporal width of 1.5 ns, achieving an extinction ratio exceeding 30 dB. These pulses are directed into Faraday-Michelson interferometers (FMIs)  (?, ?), which split each incident pulse into two time-bin pulses separated by a 10 ns interval: the earlier time-bin pulse |e\lvert e\rangle and the later time-bin pulse |l\lvert l\rangle. A circulator placed before each FMI filters out any laser light reflected backward. For operations in MDI-QKD mode, IM3 and IM4 handle basis selection and decoy-state modulation. Phase coding in the X basis is performed by adding a relative phase {0, π\pi} to the |l\lvert l\rangle pulse via PM1, while time-bin coding in the Z basis is achieved by chopping either the earlier or later time-bin pulse, corresponding to a bit value of 0 or 1, respectively. These IMs effectively suppress ambient noise, ensuring a high extinction ratio for both the vacuum state and the eigenstates of the Z basis, resulting in an inherent error rate of just 0.1% for Z basis. Finally, PM2 is used to randomize the phase of both time-bin pulses, mitigating potential attacks on the light sources.

For operations in TF-QKD mode, IM3 and IM4 modulate and encode the later time-bin pulse |l\lvert l\rangle into the quantum pulse |q\lvert q\rangle with random intensities while retaining the earlier time-bin pulse |e\lvert e\rangle as the reference pulse |r\lvert r\rangle for phase calibration. The majority of duty periods in TF-QKD mode are allocated for transmission, with a smaller portion reserved for compensation. During transmission, phase encoding {0, π\pi}, representing 0 or 1 bit, respectively, is applied to |q\lvert q\rangle by PM1, along with a random phase slice of 2πi/16,i{1,,16}2\pi i/16,\ i\in\{1,\ldots,16\}. Simultaneously, PM2 alternately scans phases 0 and π/2\pi/2 solely on |r\lvert r\rangle, referred to as two-phase scanning, to acquire global phase drifts across the quantum channel. A detailed description of the phase estimation method is provided in Sec. III. During compensation, the two-phase scanning procedure is applied simultaneously to both |q\lvert q\rangle and |r\lvert r\rangle, with PM1 ceasing its encoding functions, while IM3 and IM4 modulate both pulses into the reference intensity. The same procedure is used for phase calibration in MDI-QKD mode, yielding a interference visibility of approximately 99.5% in the X basis. An optical delay (OD) is inserted on Alice side after the IMs to fine-tune the photon arrival time with picosecond precision. Finally, an electrically tunable optical attenuator (EVOA) attenuates the pulses to the single-photon level before they are transmitted to Charlie through ultralow-loss fibers (0.17 dB/km).

On the measurement side, the incident pulses from Alice and Bob are first routed through a polarization-maintaining module comprising an electronic polarization controller (EPC) and a polarization beam splitter (PBS) to ensure consistent polarization of the outgoing pulse pairs. These pairs are then coupled at a BS for interference and subsequently detected by superconducting nanowire single-photon detectors (SNSPDs) from PHOTEC (model P-SPDNS). Both detectors, D0 and D1, feature a detection efficiency of 68.5% and a dark count rate of 10 Hz. After accounting for the insertion loss of all components, the overall detection efficiency is 64%, and the dark count rate per pulse is approximately 1.5×1081.5\times 10^{-8} when gated with a 1.7 ns time window. In TF-QKD mode, single-photon detection events are recorded by a time-to-digital converter (TDC), with distinct time windows assigned for quantum and reference pulses to facilitate post-processing. In MDI-QKD mode, detection events from D0 and D1 are recorded to calculate coincidence events, enabling the Bell state measurement. By switching the encoding modes of Alice and Bob, the hybrid system smoothly transitions between TF-QKD and MDI-QKD.

Protocols Description

We follow the SNS-QKD protocol with AOPP method  (?) and the MDI-QKD protocol with double-scanning method  (?) in this experiment. For TF-QKD mode, the X basis is encoded in phase of WCPs, and Z basis is encoded in intensity {μ\mu, ν\nu, ω\omega, oo}, where μ\mu and oo denote the signal and vacuum intensity, respectively, and ν\nu and ω\omega are the decoy intensities. Alice (Bob) randomly decides whether the ith time window is a decoy window or a signal window. For a signal window, Alice (Bob) randomly chooses μ\mu (oo) with probabilities ϵ\epsilon (1ϵ1-\epsilon), indicating a sending (not-sending) choice in SNS-QKD protocol. Alice (Bob) actually prepares a phase-randomized WCP with intensity μ\mu. For a decoy window, Alice (Bob) randomly chooses sources from ν\nu, ω\omega and oo, and prepares a phase-randomized WCP. The prepared pulse pairs are send to Charlie to perform interferometric measurements. For MDI-QKD mode, the X basis is encoded in the relative phase of earlier and latter pulse, and Z basis is encoded in its time-bins. Signal intensity ν\nu is only prepared in Z basis while decoy intensities ν\nu and ω\omega are in X basis. Both Alice and Bob do not choose any bases for vacuum states oo. The prepared quantum states are similarly send to Charlie to perform the |ψ\lvert\psi^{-}\rangle projection measurement. All intensities and probabilities are optimized by the differential evolutionary algorithm. As a proof-of-principle demonstration, we encode the WCPs into 16 phase slcies between 0 and 2π2\pi, and generate an 2000-bit pseudo-random pattern, which is preloaded into an arbitrary waveform generator (AWG) to drive the modulators repeately. Tab. 1 lists the system parameters adopted in this experiment.

Table 1: List of system parameters. Here ηd\eta_{d} is detection efficiency, ff is the error correction inefficiency, ePSe_{PS} is the misalignment error with phase slice, eXe_{X} is the misalignment error of X basis in MDI-QKD, eZe_{Z} is the misalignment error of Z basis, ε\varepsilon is the the failure probability, and pdp_{d} is the dark count rate.
ηd\eta_{d} ff ePSe_{PS} eXe_{X} eZe_{Z} ε\varepsilon pdp_{d}
64%64\% 1.11.1 4.10%4.10\% 0.97%0.97\% 0.11%0.11\% 101010^{-10} 1.5×1081.5\times 10^{-8}

Experimental Results

The SNS-QKD protocol and MDI-QKD protocol are performed over a range of different channel distance. The secure key rates calculated in the finite-size regime from the experiment and theoretical simulations shown in Fig. 3, together with the absolute PLOB bound  (?) which is calculated as log2(1η)-log_{2}(1-\eta) with 100% detection efficiency. The asymptotic case refers to the analysis of QKD when the total number of pulses N tends to infinity. The asymptotic lines present a performance potential of the hybrid system in both protocols. In practical implementations, the finite-size analysis provides the security against statistical fluctuations for the final secure keys, bounded by the Chernoff bound  (?, ?).

Refer to caption
Figure 3: Simulation and experimental results with N=1011N=10^{11} and N=1012N=10^{12}. The SKC0 is the absolute repeaterless bound  (?) of the channel loss. Key rates per pulse of previous MDI-QKD experiments and TF-QKD experiments are included for comparison based on their transmission distances.

We therefore conduct experiments at total distances from 150 km to 431 km between Alice and Bob in a symmetric fiber setup. Positive secure keys are generated for all these distances in finite-size regime, i.e., N=1011N=10^{11} and N=1012N=10^{12} (5×1075\times 10^{7} and 5×1085\times 10^{8} pattern repetition), and the detailed results can be found in Supplementary text. The experimental secure key rates of SNS-QKD scales as O(η)O(\sqrt{\eta}) and are in agreement with the theory. From 310 km to 431 km, the secure key rates break the absolute PLOB bound in both pulse sizes. The experimental secure key rates of MDI-QKD are measured at 150 km and 241 km with either pulse sizes, which hold agreements with the theoretical simulations. At 241 km fiber distance, the hybrid system sends N=109N=10^{9} repeated patterns continuously. For the first N=5×108N=5\times 10^{8}, the system runs the SNS-QKD protocol and encodes the WCPs, while for the remaining repeated patterns, the system runs the MDI-QKD protocol and encodes the four kinds quantum states. In both protocols, Charlie simultaneously records the single-photon clicks of each detector window. And the global phase recovery and two-photon coincidence events are calculated by post-processing before sifting. We adopt the AOPP method to improve the key rates of SNS-QKD, which is a kind of two-way classical communication.

By utilizing the filter-enhanced two-phase scan, phase compensation is carried out for 200 μ\mus every 10 seconds in both protocols at each distance, achieving an duty cycle of near 99% after accounting clock synchronizing and polarization compensation. The obtained secure key rates of TF-QKD in key bit per second (per pulse) are 2105.59 bps, 463.52 bps, 108.91 bps, 26.16 bps and 22.60 bps at 241 km, 310 km, 351 km, 400 km and 431 km fiber distance, respectively. And the obtained secure key rates of MDI-QKD in key bit per second are 107.61 bps and 0.72 bps at 150 km and 241 km, respectively. The experimental results demonstrate the feasibility of the hybrid implementation for QKD networks with untrusted-nodes. With a larger pulse number and a lower dark count rate, the current transmission distance can further achieve a distance similar to the Ref.  (?) and  (?).

Discussion

In conclusion, we have demonstrated a hybrid implementation of TF-QKD and MDI-QKD within a single timebin-phase encoding system, achieving seamless switching between phase-encoding MDI-QKD and TF-QKD. To integrate and improve the applicability of these two protocols, we have developed an efficient global phase estimation scheme by utilizing the preserved asymmetric interferometers, simplifying the global phase tracking of twin fields to phase calibration comparable to that of MDI-QKD. This approach allows both protocols to operate continuously for durations on the order of ten seconds and achieve a transmission duty cycle exceeding 99%, independent of fiber length. By adopting the optical phase locking, we experimentally demonstrate the SNS-QKD protocol with the AOPP method and the MDI-QKD protocol with the double-scanning method over fiber distances ranging from 150 km to 431 km. The hybrid system achieves positive key rates for both protocols in the finite-size regime and surpasses the absolute repeaterless key capacity across a range of channel distances. The experimental results demonstrate the feasibility and high efficiency of the proposed scheme. Our implementation sets a new benchmark for establishing a versatile and unified framework that enables the integration of multiple protocols and ensuring long-term compatibility for future advancements in QKD networks.

As discussed, frequency locking and phase tracking over deployed fibers remain critical issues for TF-QKD. The hybrid implementation can accommodate alternative frequency locking methods by simply altering the laser sources, such as ultra-stable lasers with Pound-Drever-Hall locking  (?), optical injection locking  (?), and the recently proposed wavelength locking with a local reference frequency  (?). Additionally, our scheme demonstrates the potential for integration with dual-band phase stabilization  (?, ?, ?), which has been successfully applied in high-loss and long-distance systems  (?). Optimizing the path of dual-band pulses within the encoder, such that the quantum and reference light paths mimic the short and long arms of an interferometer, could theoretically reduce dual-band scanning time and further improve the system’s duty cycle. Incorporating on-chip Mach-Zehnder interferometers into the hybrid implementation offers further anticipated performance enhancement. This system also supports the recently proposed MP-QKD protocol  (?), which allows reduced reliance on phase locking and global phase tracking, and can provide either performance comparable to MDI-QKD (with a fixed matching interval of 2) or a rate-loss scaling similar to TF-QKD (with a larger matching interval, such as 2000 in Ref.  (?)), depending on user requirements. Moreover, the hybrid system is compatible with upgrading existing phase-encoding BB84 QKD networks to untrusted-node QKD networks at minimal hardware cost. For instance, by integrating the receiver scheme in Ref.  (?), the architecture has the ability to support BB84 QKD, MDI-QKD, and TF-QKD while retaining the original codecs in existing QKD networks. This underscores the immense potential of integration in trusted-node-based and untrusted-node-based QKD networks, paving the way towards the next generation of flexible and multifunctional quantum communication infrastructures.

Materials and Methods

Optical Phase-Locked Loop

The schematic of the OPLL is depicted in the inset of Fig. 2a. Inside the OPLL, a local oscillator (LO) clock at 37.5875 MHz is generated by the high-precision onboard clock of the field-programmable gate array (Xilinx ZCU111 development board). This signal is then frequency-multiplied by 8 using an electronic phase-locked loop (PLL) and amplified by a radio-frequency (RF) amplifier, producing the 300.7 MHz RF signal that drives the AOM and serves as the reference clock for the mixer in the OPLL system. The beat note, converted through a 12 GHz bandwidth photodetector (Optilab PR-12-B-M), along with the reference clock, is fed into a loop filter, providing feedback for the proportional-integral-derivative (PID) algorithm (gp=6g_{p}=-6 dB, fI=16f_{I}=16 kHz, fD=250f_{D}=250 kHz). The PID algorithm calculates the necessary adjustments to the control signal, performing fast wavelength modulation of Bob’s laser with the direct current signal in the range of ±4\pm 4 V, ensuring a small and stable frequency difference between the two lasers. The residual phase noise is then processed by the PM0 on Bob side, which is controlled by a low-pass filter. The measured relative Allan deviation of the beat note in the time domain, ranging from 101110^{-11} to 101310^{-13}, demonstrates excellent frequency stability. The measurement results as well as the beat note spectra are given in supplementary text. In the current setup, the residual mean-square phase error associated with the OPLL is about 5.6×103rad25.6\times 10^{-3}\ \mathrm{rad^{2}}.

Efficient Phase Estimation based on Asymmetric Interferometers

In this section, we showcase the efficient post phase-estimation method by using the FMIs. As illustrated in Fig. 2b, after passing through the FMI, the optical pulses are split into two time-bin pulses: the earlier bin pulse |e\lvert e\rangle and the latter bin pulse |l\lvert l\rangle. The earlier pulses are modulated into reference pulses |r\lvert r\rangle using IMs, while the latter pulses are modulated into quantum pulses |q\lvert q\rangle. Then, the global phase of reference pulses |r\lvert r\rangle when arriving at the beam splitter (BS) on Charlie side can be written as

ϕref=ϕ0+φshort+ϕchannel,\displaystyle\phi_{ref}=\phi_{0}+\varphi_{short}+\phi_{channel}, (1)

where ϕ0\phi_{0} denotes the initial phase of lasers plus the optical path before input into the interferometers, φshort\varphi_{short} denotes the phase applied by the short arm of interferometers, and ϕchannel\phi_{channel} denotes the phase applied by the quantum channel link after outgoing the interferometers. Similarly, the global phase of quantum pulses |q\lvert q\rangle when arriving at the BS on Charlie side is

ϕq=ϕ0+φlong+ϕchannel,\displaystyle\phi_{q}=\phi_{0}+\varphi_{long}+\phi_{channel}, (2)

where φlong\varphi_{long} denotes the phase applied by the long arm of interferometers. In our scheme, since the reference pulses |r\lvert r\rangle and quantum pulses |q\lvert q\rangle are emitted from the same laser on either the Alice or Bob side, and travel through nearly identical channels with consistent polarization over a period of transmission time, the initial laser phase and the phase of quantum channel can be considered nearly equal  (?, ?). The path difference between the long and short arms of FMI allows us to adjust the phase applied by the PM inserted in either arm, thereby equalizing ϕref\phi_{ref} and ϕq\phi_{q} within a certain period.

On the detection side, the D0 and D1 detectors operate with two separate time-bin windows to distinguish between reference and quantum pulses. The interference results of the reference pulses from Alice and Bob are projected onto the earlier time-bin windows of the D0 and D1 detectors, enabling the estimation of global phase drifts across the quantum channel. Over extended periods, however, the phase differences between the reference and quantum pulses are primarily attributed to fluctuations in the optical paths of the two arms of the interferometers. Theoretically, this problem can be solved by adopting phase calibrations similar to phase-encoding BB84 QKD or MDI-QKD utilizing asymmetric interferometers.

In our experiment, to compensate for the phase difference between pulse |r\lvert r\rangle and |q\lvert q\rangle, Alice and Bob first modulate their both pulses into reference intensity. Either Alice or Bob performs the filter-enhanced two-phase scan using a PM located after the FMI, covering the arrival times of both |r\lvert r\rangle and |q\lvert q\rangle. During the scan, the PM inside the FMI sweeps through I=16I=16 phase slices, recording the corresponding scanning statistics for both |r\lvert r\rangle and |q\lvert q\rangle. Subsequently, it selects and applies the phase slice that minimizes the counting difference between |r\lvert r\rangle and |q\lvert q\rangle, calibrating the phase drifts of the two arms of the interferometer. During transmission, Alice and Bob modulate |q\lvert q\rangle into signal, decoy, or vacuum intensities, applying phase randomization and encoding solely to |q\lvert q\rangle. Meanwhile, the PM positioned after the FMI continues to load the scanning signal and carries out the filter-enhanced two-phase scan exclusively on the time sequence of the |r\lvert r\rangle pulses. All perturbations in the fiber channel affect |r\lvert r\rangle and |q\lvert q\rangle equally, enabling us to estimate ϕq\phi_{q} with ϕref\phi_{ref} and minimizing interruptions of quantum pulse transmission.

Refer to caption
Figure 4: (a) Monitoring Δϕerror\varDelta\phi_{error} over time with and without compensation at a 300 km fiber distance; (b) Phase slice variations of pulse |r\lvert r\rangle and |q\lvert q\rangle within the first 5 ms; (c) Histogram of Δϕerror\varDelta\phi_{error} with compensation applied every 10 seconds.

Drifts in the long and short arms of the FMI can disrupt this equivalence; thus, it remains necessary to periodically repeat the above steps to compensate for phase shifts between pulse |r\lvert r\rangle and |q\lvert q\rangle. This process ensures minimal QBER and reduces residual estimation error, which is defined as

Δϕerror=|ϕqϕref|.\displaystyle\varDelta\phi_{error}=|\phi_{q}-\phi_{ref}|. (3)

We test this method over a range of fiber distance with an execution time of 40 μ\mus for the two-phase scan. Fig. 4(a) shows the monitoring results of Δϕerror\varDelta\phi_{error} with and without compensation at 300 km. It demonstrate that Δϕerror\varDelta\phi_{error} can consistently maintain a stable phase slice for at least 10 seconds across long fiber distances. Fig. 4(b) shows the phase slice variations during the first 5 ms of global phase estimation from both the reference pulses |r\lvert r\rangle and quantum pulses |q\lvert q\rangle, modulated with the same reference intensity. The overlap of these two stair curves highlights the effectiveness of this method. For a 10-second compensation period, the histogram of Δϕerror\varDelta\phi_{error} exhibits a standard deviation of 3.98°, as shown in Fig. 4(c). In this configuration, the hybrid system can run continuously for several seconds in TF-QKD mode, requiring only 200 μ\mus of five round scanning to compensate for the arm length fluctuations in the FMI, significantly enhancing the system’s duty cycle.

Filter-enhanced two-phase scan

In previous TF-QKD experiments  (?, ?, ?, ?, ?, ?, ?, ?), a time gap of several hundred nanoseconds was typically introduced between strong reference frames and weak quantum pulses to allow SNSPDs to recover. In our scheme, the close temporal proximity of quantum and reference pulses negatively affects the signal-to-noise ratio (SNR), leading to increased misalignment errors. To address this, we integrate a least mean square (LMS) adaptive filter with the two-phase scan, enabling accurate estimation even at reduced reference intensity and effectively mitigating the impact of double Rayleigh scattering noise on misalignment errors. The noisy count acquired in two-phase scan can be expressed as N(M)=N^(M^)+ϵ~+δ~N(M)=\hat{N}(\hat{M})+\tilde{\epsilon}+\tilde{\delta}, where N^(M^)\hat{N}(\hat{M}) is the expected count, ϵ~\tilde{\epsilon} is Gaussian-distributed additive noise, and δ~\tilde{\delta} accounts for systematic errors caused by shot-noise and overshoot amplitudes. After sweeping through II phase slices while conducting II times two-phase scan, we obtain two sequences of input xr(n)=[N0r,N1r,M0r,M1r]T\textbf{x}_{r}(n)=[N_{0}^{r},N_{1}^{r},M_{0}^{r},M_{1}^{r}]^{T} and xq(n)=[N0q,N1q,M0q,M1q]T\textbf{x}_{q}(n)=[N_{0}^{q},N_{1}^{q},M_{0}^{q},M_{1}^{q}]^{T}, n1,In\in 1,...I where N0r(l)N_{0}^{r(l)} and N1r(l)N_{1}^{r(l)} denote the recording detector D0’s count of pulses |r\lvert r\rangle ( |q\lvert q\rangle ) when loading phase 0 and π/2\pi/2 within the first 20 μ\mus and the second 20 μ\mus, respectively, and M0r(l)M_{0}^{r(l)} and M1r(l)M_{1}^{r(l)} denote detector D1’s count of pulses |r\lvert r\rangle ( |q\lvert q\rangle ) when loading phase 0 and π/2\pi/2 within the first 20 μ\mus and the second 20 μ\mus, respectively. The filter is controlled by a set of 10 weights, denoted as w=[w1,,w10]T\textbf{w}=[w_{1},...,w_{10}]^{T}. By convolving the input signal with w, we get the expected output sequences of the filter

yr(n)=wTxr(n)=[N^0r,N^1r,M^0r,M^1r]T,\displaystyle\textbf{y}_{r}(n)=\textbf{w}^{T}\ast\textbf{x}_{r}(n)=[\hat{N}_{0}^{r},\hat{N}_{1}^{r},\hat{M}_{0}^{r},\hat{M}_{1}^{r}]^{T}, (4)
yq(n)=wTxq(n)=[N^0q,N^1q,M^0q,M^1q]T.\displaystyle\textbf{y}_{q}(n)=\textbf{w}^{T}\ast\textbf{x}_{q}(n)=[\hat{N}_{0}^{q},\hat{N}_{1}^{q},\hat{M}_{0}^{q},\hat{M}_{1}^{q}]^{T}. (5)

Then, yr(n)\textbf{y}_{r}(n) and yq(n)\textbf{y}_{q}(n) sequences are calculated by the two-phase scan method given in the supplementary text. Denote the output of two-phase scan algorithm as sr(q)(n)=2PS(yr(q)(n))1,I\textbf{s}_{r(q)}(n)=2PS(\textbf{y}_{r(q)}(n))\in 1,...I, we can define the desired signal d^(n)\hat{\textbf{d}}(n) as

d^(n)=cos[π|sr(n)sq(n)|I]2.\displaystyle\hat{\textbf{d}}(n)=cos[\dfrac{\pi\cdot|\textbf{s}_{r}(n)-\textbf{s}_{q}(n)|}{I}]^{2}. (6)

And the reference signal is d(n)=cos[π(|nK|)/I]2\textbf{d}(n)=cos[\pi(|n-\mathit{K}|)/I]^{2}, in which K\mathit{K} is the phase slice order corresponding to the minimum value of |xr(n)xq(n)||\textbf{x}_{r}(n)-\textbf{x}_{q}(n)|. It is a linear constraint on the differences between the phase slices of pulse |r\lvert r\rangle and |q\lvert q\rangle considering no noise. Then, the mean square error is given as J=E[e2(n)]J=E[\textbf{e}^{2}(n)], where e(n)=d(n)d^(n)\textbf{e}(n)=\textbf{d}(n)-\hat{\textbf{d}}(n) is the cost function. Utilizing the steepest descent algorithm, the updated weight vector wupd\textbf{w}_{upd} is adjusted along the negative gradient direction during every compensation, given as

wupd=w+λe2(n)w,\displaystyle\textbf{w}_{upd}=\textbf{w}+-\lambda\dfrac{\partial\textbf{e}^{2}(n)}{\partial\textbf{w}}, (7)

where λ=7.5×103\lambda=7.5\times 10^{-3} is the step-size. Through adaptive feedback cancellation, the LMS filter effectively reduces the effect of statistical fluctuation of fewer counts on the accuracy of estimation, and mitigates modulation deviation of PMs and intensity fluctuations from laser source. And the initialization of LMS filter is conducted with the data pre-acquired from an attenuation-simulated channel by traversing the entire voltage range of the PM to extract the expected output for precise calibration.

We examine the mean absolute error (MAE) between the global phase estimates with and without the filter-enhanced two-phase scan method under varying reference light intensities, as shown in Fig. 5. Considering the trade-off between MAE and Rayleigh scattering noise, the reference intensity is set as about 0.16 pW through a 400 km fiber, corresponding to the total SNSPD counts of 1.0 MHz. The two insets of Fig. 5 show the shape of interference curves acquired at the total counts of 0.5 MHz and 2.5 MHz, respectively. The results demonstrate that the proposed method can effectively reduce reference light intensity while maintaining estimation accuracy.

Refer to caption
Figure 5: MAE of two-phase scan (2PS) with and without the LMS filter with respect to reference light intensity.

References and Notes

  • 1. C. H. Bennett and G. Brassard, Quantum cryptography: public key distribution and coin tossing. In Conference on Computers, Systems and Signal Processing (1984), pp. 175–179.
  • 2. H. K. Lo, and H. F. Chau, Unconditional Security of Quantum Key Distribution over Arbitrarily Long Distances. Science 283, 2050-2056 (1999).
  • 3. P. W. Shor, and J. Preskill, Simple proof of security of the BB84 quantum key distribution protocol. Phys. Rev. Lett. 85, 441 (2000).
  • 4. D. Mayers, Unconditional security in quantum cryptography. J. ACM. 48, 351 (2001).
  • 5. V. Scarani, H. Bechmann-Pasquinucci, N. J. Cerf, et al., The security of practical quantum key distribution. Rev. Mod. Phys. 81, 1301 (2009).
  • 6. X. B. Wang, Beating the photon-number-splitting attack in practical quantum cryptography. Phys. Rev. Lett. 94, 230503 (2005).
  • 7. S.-K. Liao, W.-Q. Cai, W.-Y. Liu, et al., Satellite-to-ground quantum key distribution. Nature (London) 549, 43 (2017).
  • 8. X.-H. Tian, R. Yang, H.-Y. Liu, et al., Experimental demonstration of drone-based quantum key distribution. Phys. Rev. Lett. 133, 200801 (2024).
  • 9. M. Peev, C. Pacher, R. Alléaume, et al., The SECOQC quantum key distribution network in Vienna. New J. Phys. 11, 075001 (2009).
  • 10. F. X. Xu, W. Chen, S. Wang. et al., Field experiment on a robust hierarchical metropolitan quantum cryptography network. Chin. Sci. Bull. 54, 2991–2997 (2009).
  • 11. M. Sasaki, M. Fujiwara, H. Ishizuka, et al., Field test of quantum key distribution in the Tokyo QKD Network. Opt. Express 19, 10387-10409 (2011).
  • 12. Y. A. Chen, Q. Zhang, T. Y. Chen, et al., An integrated space-to-ground quantum communication network over 4,600 kilometres. Nature 589, 214–219 (2021).
  • 13. B. Fröhlich, J. F. Dynes, M. Lucamarini, et al., A quantum access network. Nature 501, 69–72 (2013).
  • 14. S. Wehner, D. Elkouss, and R. Hanson, Quantum internet: a vision for the road ahead. Science 362, eaam9288 (2018).
  • 15. H. K. Lo, M. Curty, and B. Qi, Measurement-device-independent quantum key distribution. Phys. Rev. Lett. 108, 130503 (2012).
  • 16. N. Sangouard, C. Simon, H. De Riedmatten, et al., Quantum repeaters based on atomic ensembles and linear optics. Rev. Mod. Phys. 83, 33–80 (2011).
  • 17. V. Zapatero, T. van Leent, R. Arnon-Friedman, et al., Advances in device-independent quantum key distribution. npj Quantum Inf. 9, 10 (2023).
  • 18. M. Curty, F. Xu, W. Cui, et al., Finite key analysis for measurement-device-independent quantum key distribution. Nat. Commun. 5, 3732 (2014).
  • 19. Y.-H. Zhou, Z.-W. Yu, and X.-B. Wang, Making the decoy-state measurement-device-independent quantum key distribution practically useful. Phys. Rev. A 93, 042324 (2016).
  • 20. C. Jiang, Z.-W. Yu, X.-L. Hu, et al., Higher key rate of measurement-device-independent quantum key distribution through joint data processing. Phys. Rev. A 103, 012402 (2021).
  • 21. H.-L. Yin, T.-Y. Chen, Z.-W. Yu, et al., Measurement-device-independent quantum key distribution over a 404 km optical fiber. Phys. Rev. Lett. 117, 190501 (2016).
  • 22. J. Y. Liu, X. Ma, H. J. Ding, et al., Experimental demonstration of five-intensity measurement-device-independent quantum key distribution over 442 km. Phys. Rev. A 108, 022605 (2023).
  • 23. K. Wei, W. Li, H. Tan, et al., High-speed measurement-device-independent quantum key distribution with integrated silicon photonics. Phys. Rev. X 10, 031030 (2020).
  • 24. H. Semenenko, P. Sibson, A. Hart, et al., Chip-based measurement-device-independent quantum key distribution. Optica 7, 238–242 (2020).
  • 25. G. J. Fan-Yuan, F. Y. Lu, S. Wang, et al., Measurement-device-independent quantum key distribution for nonstandalone networks. Photon. Res. 9, 1881-1891 (2021).
  • 26. S. Pirandola, R. Laurenza, C. Ottaviani, et al., Fundamental limits of repeaterless quantum communications. Nat. Commun. 8, 15043 (2017).
  • 27. M. Lucamarini, Z. L. Yuan, J. F. Dynes, et al., Overcoming the rate–distance limit of quantum key distribution without quantum repeaters. Nature (London) 557, 400 (2018).
  • 28. X. F. Ma, M. Razavi, Alternative schemes for measurement-device-independent quantum key distribution. Phys. Rev. A, 86, 062319 (2012).
  • 29. X. B. Wang, Z. W. Yu, and X. L. Hu, Twin-field quantum key distribution with large misalignment error. Phys. Rev. A 98, 062323 (2018).
  • 30. X. F. Ma, P. Zeng, and H. Y. Zhou, Phase-matching quantum key distribution. Phys. Rev. X 8, 031043 (2018).
  • 31. C. H. Cui, Z.-Q. Yin, R. Wang, et al., Twin-field quantum key distribution without phase postselection. Phys. Rev. Appl. 11, 034053 (2019).
  • 32. M. Curty, K. Azuma, and H. K. Lo, Simple security proof of twin-field type quantum key distribution protocol. npj Quantum Inf. 5, 64 (2019).
  • 33. S. Wang, D.-Y. He, Z.-Q. Yin, et al., Beating the fundamental rate-distance limit in a proof-of-principle quantum Key distribution system. Phys. Rev. X 9, 021046 (2019).
  • 34. Y. Liu, Z.-W. Yu, W. J. Zhang, et al., Experimental twin-field quantum key distribution through sending or not sending. Phys. Rev. Lett. 123, 100505 (2019).
  • 35. H. Liu, C. Jiang, H. T. Zhu, et al., Field test of twin-field quantum key distribution through sending-or-not-sending over 428 km. Phys. Rev. Lett. 126, 250502 (2021).
  • 36. M. Pittaluga, M. Minder, M. Lucamarini, et al., 600-km repeater-like quantum communications with dual-band stabilization. Nat. Photon. 15, 530–535 (2021).
  • 37. S. Wang, Z.-Q. Yin, D.-Y. He, et al., Twin-field quantum key distribution over 830-km fibre. Nat. Photon. 16, 154–161 (2022).
  • 38. Y. Liu, W.-J. Zhang, C. Jiang, et al., Experimental twin-field quantum key distribution over 1000 km fiber distance. Phys. Rev. Lett. 130, 210801 (2023).
  • 39. J. P. Chen, F. Zhou, C Zhang, et al., Twin-Field Quantum Key Distribution with Local Frequency Reference. Phys. Rev. Lett. 132, 260802 (2024).
  • 40. L. Zhou, J. Lin, C. F. Ge, et al., Independent-optical-frequency-comb-powered 546-km field test of twin-field quantum key distribution. Phys. Rev. Appl. 22, 064057 (2024).
  • 41. C. Jiang, Z.-W. Yu, X.-L. Hu and X.-B. Wang, Robust twin-field quantum key distribution through sending or not sending. National Sci. Rev. 10, 4 (2023).
  • 42. Y.-P. Chen, J.-Y. Liu, M.-S. Sun, et al., Experimental measurement-device-independent quantum key distribution with the double-scanning method. Opt. Lett. 46, 3729–3732 (2021).
  • 43. P. Zeng, H. Zhou, W. Wu, et al., Mode-pairing quantum key distribution. Nat. Commun. 13, 3903 (2022).
  • 44. H.-T. Zhu, Y.-Z. Huang, H. Liu, et al., Experimental Mode-Pairing Measurement-Device-Independent Quantum Key Distribution without Global Phase Locking. Phys. Rev. Lett. 130, 030801 (2023).
  • 45. C. Elliott, G. Troxel, Quantum cryptography in practice. In Proceedings of the 2003 conference on Applications, technologies, architectures, and protocols for computer communications (2003), pp. 227-238.
  • 46. Z. F. Han, X. F. Mo, Y. Z. Gui, et al., Stability of phase-modulated quantum key distribution systems. Appl. Phys. Lett. 86, 22 (2005).

Acknowledgments

We gratefully appreciate Prof. C. F. Li and Prof. Z. L. Yuan for enlightening discussion during the work.

Funding:

The Natural Science Foundation of Jiangsu Province (Grant No. BE2022071), and the National Natural Science Foundation of China (Grant Nos. 12074194, 62471248, 62101285).

Author contributions:

J. Y. Liu designed the scheme, performed the experiment, collected and analyzed the data. X. Y. Zhou, H. J. Ding and J. X. Xu helped to perform the experiment, C. H. Zhang assisted in simulations, J. Li assisted in writing, and Q. Wang supervised the whole project.

Competing interests:

There are no competing interests to declare.

Data and materials availability:

All data needed to evaluate the conclusions of the article are present in the article and / or Supplementary Materials. Additional data related to this article may be requested from the authors.

Supplementary materials

Supplementary Text
Figures S1 to S4
Tables S1 to S3

Supplementary Materials for
Hybrid Implementation for Untrusted-node-based Quantum Key Distribution Network

Jingyang Liu, Xingyu Zhou, Huajian Ding, Jiaxin Xu, Chunhui Zhang,
Jian Li, and Qin Wang
Corresponding author. Email: qinw@njupt.edu.cn

This PDF file includes:

Supplementary Text
Figures S1 to S4
Tables S1 to S3

Supplementary Text

Measurements of beat note and global phase drifts

We evaluate the phase-locked beat note in time domain and frequency domain respectively. The measured relative Allan deviation 101110^{-11}\sim101310^{-13} of the beat note in the time domain, shown in Fig. S1a, demonstrates excellent frequency stability. Additionally, the beat note spectra, measured with the resolution bandwidth (RBW) of 200 Hz by a spectrum analyzer, is displayed in Fig. S1b. By using a Lorentz fit, the -3 dB linewidth is about 21 Hz, supposing an aligned optical frequency between Alice and Bob’s laser. In current setting, the residual mean-square phase error associated with the OPLL is approximately 5.6×103rad25.6\times 10^{-3}\ \mathrm{rad^{2}}.

And the measured global phase drift angle and the phase drift rate from 0 km to 500 km are shown in Fig. S2 to S3 respectively. Ensuring the validity, Charlie’s beam splitter output is connected to the photoelectric probe (5 GHz bandwidth), which links to an oscilloscope.

Two-phase scan

In this section, we give out the details of two-phase scan (2PS) estimation method. Here brighter reference lights sent from Alice and Bob are used to observe single-photon interference at Charlie side. The output intensity of the BS can be written as:

I=I02[1+cos(ϕ)],\displaystyle I=\dfrac{I_{0}}{2}[1+cos(\phi)], (S1)

where ϕ\phi is the total phase difference between Alice and Bob, defined as ϕ=ϑAϑB+Δφ\phi=\vartheta_{A}-\vartheta_{B}+\Delta\varphi. ϑA\vartheta_{A} (ϑB\vartheta_{B}) denotes Alice’s (Bob’s) phase modulation. Δφ\Delta\varphi is the phase fluctuation caused by wavelength difference and phase drift of channel. Here, we assume that the wavelength difference is suppressed to a very low constant which can be realized via a optical phase-locked loop. Connecting the first output to the detector D0, we can rewrite Eq.(S1) as:

C=C0cos(ϕ)+C0+Cd,\displaystyle C=C_{0}cos(\phi)+C_{0}+C_{d}, (S2)

where C0C_{0} denotes the amplitude of interference and CdC_{d} represents the count floor, contributed from the interference of encoded pulses and detector’s dark counts. Hence, the second output of BS is:

C=C0cos(ϕ+π)+C0+Cd.\displaystyle C=C_{0}cos(\phi+\pi)+C_{0}+C_{d}. (S3)

With the chopper and detector window, Cd0C_{d}\approx 0 in a short period. Thus, we can plot the interference output of two detectors with respect to the PM’s offset voltage in Fig. S4. V0V_{0} is the zero-phase voltage which can be efficiently estimated via 2PS.

During two-phase scanning, Alice’s and Bob’s PM voltage are all fixed to 0 V, we first apply an arbitrary initial voltage ViV_{i} to the PM at Charlie for 20 μs\mu s, and then apply Vi+Vhalf/2V_{i}+V_{half}/2 to it for another 20 μs\mu s. VhalfV_{half} denotes the PM’s half wave voltage. Accordingly, the recording counts during the first period of D0 (D1) is N0N_{0} (M0M_{0}), and counts during the second one of D0 (D1) is N1N_{1} (M1M_{1}). These four counts form the count matrix. Based on Eq.(S2) and (S3), we get,

N0N0+M0=1+cos(VcπVhalf)2,\displaystyle\dfrac{N_{0}}{N_{0}+M_{0}}=\dfrac{1+cos(\dfrac{V_{c}\pi}{V_{half}})}{2}, (S4)
N1N1+M1=1sin(VsπVhalf)2,\displaystyle\dfrac{N_{1}}{N_{1}+M_{1}}=\dfrac{1-sin(\dfrac{V_{s}\pi}{V_{half}})}{2}, (S5)

where VcV_{c} (VsV_{s}) denotes the offset from zero-phase voltage calculated by arccosarccos (arcsinarcsin). Thus, the estimated zero-phase voltage calculated from arccosarccos is

V={ViVc,if 12N1/(N1+M1)>0;Vi+Vc,if 12N1/(N1+M1)0.V^{\prime}=\begin{cases}V_{i}-V_{c},\>\>\>if\>1-2N_{1}/(N_{1}+M_{1})>0;\\ V_{i}+V_{c},\>\>\>if\>1-2N_{1}/(N_{1}+M_{1})\leq 0.\end{cases} (S6)

And the zero-phase voltage calculated from arcsinarcsin is

V′′={ViVs,if 2N0/(N0+M0)1>0;Vi+VsVhalf,if 2N0/(N0+M0)10.V^{\prime\prime}=\begin{cases}V_{i}-V_{s},\>\>\>if\>2N_{0}/(N_{0}+M_{0})-1>0;\\ V_{i}+V_{s}-V_{half},\>\>\>if\>2N_{0}/(N_{0}+M_{0})-1\leq 0.\end{cases} (S7)

Generally, V=V′′V^{\prime}=V^{\prime\prime} if there exists no shot-noise and systematic errors. However, these two problems are non-negligible under practical circumstances, which makes a deviation between VV^{\prime} and V′′V^{\prime\prime}. We then take the average of them as the final estimated zero-phase voltage, and obtain the corresponding phase slice number calculated proportionally.

Refer to caption
Figure S1: (a) Allan deviation of beat note. (b) Frequency spectrum of locked beams with RBW = 200 Hz.
Refer to caption
Figure S2: Phase drift at 300 km. The maximum drift rate is 6.34 radms1radms^{-1}.
Refer to caption
Figure S3: Phase drift at 400 km. The maximum drift rate is 14.95 radms1radms^{-1}.
Refer to caption
Figure S4: Schematic of two-phase scan (2PS).
Table S1: Optimized parameters of MDI-QKD and SNS-QKD protocols.
Distance 150150 km 241241 km 241241 km 310310 km 351351 km 400400 km 431431 km
Protocol MDI MDI TF TF TF TF TF
μ\mu 0.76810.7681 0.68530.6853 0.50120.5012 0.49950.4995 0.49730.4973 0.49080.4908 0.48900.4890
ν\nu 0.26010.2601 0.31360.3136 0.49170.4917 0.49200.4920 0.49720.4972 0.49070.4907 0.48890.4889
ω\omega 0.07300.0730 0.07420.0742 0.01870.0187 0.02380.0238 0.04590.0459 0.05180.0518 0.03590.0359
oo 0.0010.001 0.0010.001 0.0010.001 0.0010.001 0.0010.001 0.0010.001 0.0010.001
pμp_{\mu} 0.60410.6041 0.44530.4453 0.94520.9452 0.92210.9221 0.81360.8136 0.75750.7575 0.85830.8583
pνp_{\nu} 0.10280.1028 0.13720.1372 0.00110.0011 0.00260.0026 0.00770.0077 0.01030.0103 0.00520.0052
pωp_{\omega} 0.27450.2745 0.39940.3994 0.03310.0331 0.04670.0467 0.12410.1241 0.15830.1583 0.07760.0776
pop_{o} 0.018660.01866 0.018180.01818 0.02060.0206 0.02860.0286 0.05450.0545 0.07390.0739 0.05880.0588
ϵ\epsilon / / 0.28090.2809 0.28080.2808 0.28080.2808 0.28070.2807 0.28080.2808
Table S2: Experimental results at various fiber distances with the SNS-QKD protocol.
Distance 241241 km 310310 km 351351 km 400400 km 431431 km
Loss 40.9540.95 dB 52.7752.77 dB 59.6859.68 dB 68.0268.02 dB 73.2973.29 dB
N 1.0×10121.0\times 10^{12} 1.0×10121.0\times 10^{12} 1.0×10111.0\times 10^{11} 1.0×10111.0\times 10^{11} 1.0×10121.0\times 10^{12}
Detected μμ\mu\mu 402944070402944070 9925138899251388 34498943449894 11314231131423 78944687894468
Detected μ0\mu 0 516544784516544784 127151740127151740 44197134419713 14498711449871 1011450910114509
Detected 0μ0\mu 516544821516544821 127151460127151460 44194804419480 14504311450431 1011408110114081
Detected 0000 27762776 26342634 205205 178178 11881188
Detected νν\nu\nu 12771277 951951 552552 360360 502502
Detected νo\nu o 6643066430 5513455134 1395313953 95759575 2102421024
Detected oνo\nu 6627166271 5492254922 1407614076 95919591 2072920729
Detected ωω\omega\omega 2930129301 1931319313 1309213092 86968696 76527652
Detected ωo\omega o 7288572885 4724647246 2075220752 1555015550 2316623166
Detected oωo\omega 7296672966 4785047850 2059120591 1543615436 2285522855
Detected oooo 105105 126126 1818 2222 5757
QBER of νν\nu\nu 4.54%4.54\% 4.71%4.71\% 4.80%4.80\% 4.91%4.91\% 5.10%5.10\%
QBER of ωω\omega\omega 4.69%4.69\% 4.87%4.87\% 4.98%4.98\% 5.08%5.08\% 5.22%5.22\%
ntn_{t} (after AOPP) 290193568290193568 7142208771422087 24830702483070 815165815165 56906805690680
EZE_{Z} (before AOPP) 28.01%28.01\% 28.06%28.06\% 28.10%28.10\% 28.17%28.17\% 28.19%28.19\%
EZE_{Z} (after AOPP) 0.048%0.048\% 0.16%0.16\% 0.36%0.36\% 0.95%0.95\% 1.06%1.06\%
n11Zn_{11}^{Z} (before AOPP) 574237169574237169 139619399139619399 46370544637054 14958541495854 1081910310819103
n11Zn_{11}^{Z} (after AOPP) 8941892489418924 2140977021409770 662790662790 205423205423 15934511593451
ephe_{ph} (before AOPP) 6.21%6.21\% 6.83%6.83\% 8.57%8.57\% 9.28%9.28\% 8.54%8.54\%
ephe_{ph} (after AOPP) 11.72%11.72\% 11.87%11.87\% 16.64%16.64\% 18.66%18.66\% 16.23%16.23\%
R(bit/pulse)R\>(bit/pulse) 4.26×1054.26\times 10^{-5} 9.37×1069.37\times 10^{-6} 2.20×1062.20\times 10^{-6} 5.29×1075.29\times 10^{-7} 4.57×1074.57\times 10^{-7}
R(bps)R\>(bps) 2105.592105.59 463.52463.52 108.91108.91 26.1626.16 22.6022.60
Table S3: Experimental results at various fiber distances with the MDI-QKD protocol.
Distance 150150 km 241241 km
Loss 25.5025.50 dB 40.9540.95 dB
N 1.0×10111.0\times 10^{11} 101210^{12}
Detected μμ\mu\mu 58887095888709 750413750413
Detected μo\mu o 9034490344 1507415074
Detected oμo\mu 9021690216 1513215132
Detected νν\nu\nu 4073840738 3100431004
Detected νo\nu o 18511851 990990
Detected oνo\nu 19731973 10031003
Detected ωω\omega\omega 2318423184 1439514395
Detected ωo\omega o 405405 174174
Detected oωo\omega 419419 207207
Detected oooo 11 33
QBER of μμ\mu\mu 0.12%0.12\% 0.15%0.15\%
QBER of νν\nu\nu 25.44%25.44\% 25.55%25.55\%
QBER of ωω\omega\omega 25.49%25.49\% 25.70%25.70\%
n11Zn_{11}^{Z} 36377193637719 834258834258
ephe_{ph} 22.55%22.55\% 26.10%26.10\%
R(bit/pulse)R\>(bit/pulse) 2.17×1062.17\times 10^{-6} 1.46×1081.46\times 10^{-8}
R(bps)R\>(bps) 107.61107.61 0.720.72