Measurement-Device-Independent QKD
Measurement-device-independent quantum key distribution (MDI-QKD) is a QKD architecture in which Alice and Bob prepare quantum states and send them to an untrusted intermediate station that performs a joint measurement. The station, conventionally called Charles, publicly reports a Bell-state measurement outcome or failure. Alice and Bob use the successful reports, their private preparation choices, and authenticated classical postprocessing to distill a key.
The defining security move is to place the entire measurement station inside Eve’s domain. Its optics, detectors, timing logic, efficiency, dark counts, and classical outcome generator need not follow a trusted device model. A malicious station may suppress events, fabricate labels, or coordinate with the quantum channels. It may force an abort, but accepted data must still obey the security proof’s statistical tests before yielding a key.
The protocol of Lo, Curty and Qi (2012) removes the need to trust the relay’s measurement apparatus. It still relies on characterized sources, private random choices and isolated laboratories. This page treats discrete-variable BB84 encoding with phase-randomized weak coherent pulses and explains the two-source decoy estimate that supplies its private key fraction.
Required background. QKD defines correctness, secrecy and classical processing; BB84 explains bit and phase errors. Decoy-state QKD develops photon-number yields, and entanglement swapping derives the virtual Bell projection.
An untrusted joint measurement
Section titled “An untrusted joint measurement”In standard prepare-and-measure BB84, the quantum channel terminates at Bob’s receiver. A security proof therefore needs a model of his basis selector, detection efficiencies, time gates, double-click rules, dead time, and all optical modes that influence acceptance. Real single-photon detectors have supported attacks based on efficiency mismatch, timing, wavelength response, bright-light control, afterpulsing, and other behavior absent from simplified POVM models.
MDI-QKD changes the interface rather than attempting to enumerate every detector imperfection. Both legitimate users become transmitters. Everything that receives their quantum signals is placed outside their trusted laboratories and may be operated by Eve. The security proof is conditioned on the relay’s public classical report, whatever physical process produced it.
This removes detector behavior from the trusted secrecy boundary, but not from performance. Poor detectors lower the successful-event rate and raise the observed error rate. Eve can always deny service by reporting failure. The proof bounds the secrecy and correctness error of the complete accept-or-abort protocol, including malicious detector behavior. Passing a finite statistical test is not a claim of zero failure probability.
The MDI-QKD trust boundary. State preparation and private random choices stay inside Alice’s and Bob’s laboratories. Both quantum channels, the Bell analyzer, detectors, and outcome electronics are adversarial. The relay’s outcome must be fixed before basis and intensity disclosure; authenticated postprocessing then either produces a shared key or aborts.
Preparation, announcement and key processing
Section titled “Preparation, announcement and key processing”Consider a polarization or time-bin BB84 implementation with phase-randomized weak coherent pulses. A precise finite protocol fixes all probabilities, acceptance windows, and abort rules in advance. One round has the following structure.
- Alice chooses a bit , basis , and intensity .
- Bob independently chooses , , and intensity .
- Each prepares the corresponding optical BB84 state, randomizes its global phase according to the source model, and sends it toward Charles.
- Charles announces an outcome , where denotes failure. The supported Bell labels depend on the analyzer.
- Only after the outcome record is fixed do Alice and Bob disclose the basis and intensity labels over authenticated classical communication.
- They retain declared successful classes, apply a Bell-label-dependent bit correction, and separate key-generating data from parameter-estimation data.
- Two-source decoy analysis bounds single-photon-pair detections and their phase errors. Alice and Bob then reconcile, verify, and privacy-amplify.
The relay does not need an identity that Alice and Bob trust. In a network it may be a service provider, an intermediate user, or Eve herself. Alice and Bob do need a consistent authenticated transcript. If Charles sends different outcome lists to the two endpoints, transcript comparison or authentication must expose the inconsistency before key acceptance.
The time ordering matters. If basis, bit, or intensity information reaches the relay before its successful-event record is committed, the relay can postselect with knowledge that the proof treats as unavailable. Physical and software implementations therefore need a defined event boundary, not merely a diagram with arrows in the desired order.
Bell Projection and Time Reversal
Section titled “Bell Projection and Time Reversal”Virtual entanglement-based description
Section titled “Virtual entanglement-based description”The security intuition comes from a source-replacement construction. Imagine that Alice prepares and Bob prepares . They retain and while sending and to Charles. Using the Bell states defined below, the swapping identity is
An ideal Bell projection on therefore projects the retained systems into the corresponding Bell state. Alice and Bob could then measure and to obtain correlated bits. Because their local measurements commute with Charles’s remote operation, they may instead measure first. That early measurement remotely prepares the BB84 states sent in the actual prepare-and-measure implementation.
For this reason MDI-QKD is often called time-reversed entanglement-based QKD. No macroscopic reversal of time occurs. The phrase refers to exchanging the operational order of local state preparation and the middle Bell projection in an equivalent virtual protocol. The local measurement outcomes must reproduce the actual preparation probabilities and conditional states. For the ideal real and BB84 states, uniform local outcomes do so directly.
Why an untrusted projection can still help
Section titled “Why an untrusted projection can still help”If Charles performs the advertised Bell measurement honestly, the virtual picture is literal. Security does not assume that honesty. A general attack replaces the Bell analyzer by an arbitrary quantum instrument controlled by Eve, with an arbitrary public output . Alice and Bob condition on and test the resulting correlations.
This is analogous to treating the quantum channel as adversarial in ordinary QKD, but the adversarial map now includes measurement and detection. The proof does not infer that Charles created entanglement merely because he said “.” It bounds Eve’s information from the complete observed data and the trusted source states. Dishonest outcome labels either reproduce statistics compatible with a secure conditional state or reduce the certified key length.
Bell Labels and Bit Correction
Section titled “Bell Labels and Bit Correction”Use
Many linear-optical analyzers report one or both outcomes. The following product-state decompositions make the classical correction rule transparent:
With bit encoded as or and bit as or , Bob can use this correction table:
| Basis | Outcome | Ideal bits | Bob |
|---|---|---|---|
| opposite bits | flip | ||
| opposite bits | flip | ||
| opposite bits | flip | ||
| equal bits | no flip |
The table depends on Bell-state phases, bit encoding, detector labeling, and which party corrects. A real protocol must publish one convention and test it against known state pairs. Some implementations accept only , which simplifies the rule at the cost of fewer successful outcomes.
After correction, an error is a disagreement between Alice’s bit and Bob’s corrected bit. Mismatched-basis events are normally discarded rather than forced into this table.
Two-Source Decoy Estimation
Section titled “Two-Source Decoy Estimation”Practical MDI-QKD usually combines the untrusted measurement with decoy-state sources. If is Alice’s encoded -photon state, then her phase-randomized pulse of intensity is
Alice’s pulse and Bob’s independently randomized pulse of intensity have the joint decomposition
where
For basis , define the pair yield
and the corrected error rate
In the asymptotic shared-yield model, the gain and error gain for intensity pair are
The security-relevant sector has one photon from Alice and one from Bob:
For signal intensities and , its gain is
The shared-yield assumption now applies independently to both transmitters. Given and Alice’s encoded state, her signal and decoy pulses must be indistinguishable in every unmodeled degree of freedom; the analogous statement holds for Bob. Otherwise the correct unknown is , and cross-intensity constraints can fail.
A two-dimensional inverse problem
Section titled “A two-dimensional inverse problem”Removing the Poisson factors gives
In an ideal continuum-intensity limit,
Finite protocols use a few intensity pairs and statistical intervals. They minimize and maximize the relevant subject to all gain and error-gain constraints, physical bounds, intensity calibration, and Poisson tails. This is the two-source extension of the estimator derived in Decoy-State QKD, not two unrelated one-dimensional fits.
Vacuum settings are especially useful because and data separate background and one-sided emissions from true two-sided interference. Efficient designs may use different signal and decoy intensities in the two bases, but the resulting basis-intensity table must be kept intact in the proof.
From one-photon pairs to a key rate
Section titled “From one-photon pairs to a key rate”For ideal BB84 states with uniform private bits, the averaged one-photon state from either sender is in either basis. The two-source average is therefore . An arbitrary relay effect has
This equality concerns single-photon yields, even for a dishonest relay; it does not make the bit errors in the two bases equal. Source flaws or setting leakage can break the common-state argument. Exercise 1 derives the identity.
The virtual protocol connects the measured one-photon -basis bit error to the -key phase error under these characterized-state assumptions. Write for a valid upper bound and for its worst-entropy argument, as explained on the decoy-state page. An asymptotic achievable rate per emitted pulse pair is
Here bounds accepted signal pairs with one photon on each side; reconciliation acts on all accepted signal-pair bits. The binary entropy is . With independent choices at the two endpoints,
Only when each sender also chooses intensity independently of basis does this become . Basis-dependent intensity designs must use their actual joint probabilities.
All gains and error rates must use the same accepted Bell-label classes and correction conventions. A protocol may instead prove and sum separate contributions for each label. Neither form permits substituting the aggregate optical QBER for a one-photon phase-error bound.
A numerical rate check
Section titled “A numerical rate check”Suppose an analysis reports
The quantity inside braces is
If , then secret bits per emitted pulse pair in this asymptotic calculation. The quoted gains already include which Bell outcomes were retained. Finite-key deductions, authentication and actual trial timing must still be included when assessing an experimental run.
Finite-Key Form
Section titled “Finite-Key Form”For each chosen basis and intensity pair, let be the total number of emitted trials, including all relay outcomes and failures. For each accepted label , record detections and corrected disagreements. Then
The denominator does not depend on the future outcome . For example, if input-class trials produce reports of and reports of , their gains are and ; the total accepted gain is . Dividing by the successful trials would instead give conditional label fractions and , losing the rate information.
For a stationary shared-yield model, simultaneous confidence regions give constraints such as
Writing makes these constraints linear in yields and error yields. Their bounds must hold simultaneously; separate extrema can provide valid but loose bounds without being jointly attainable. Maximizing an error ratio itself requires a fractional optimization.
If photon numbers are truncated to , , the omitted probability is , where are the individual Poisson tails. The omitted gain lies between zero and that quantity; it must not be silently set to zero.
As on the one-source decoy page, these stationary constraints illustrate the inference, not a complete finite-key proof against correlated attacks. Such a proof must justify the comparison between intensity samples and the conversion to actual one-photon-pair counts and phase errors. Curty et al. (2014) give an explicit composable construction against general attacks.
A composable final-length statement has the schematic form
where is a lower bound on accepted key-basis events with one photon from each user, is their phase-error bound, is the actual reconciliation leakage, and represents the specified verification and hashing length deductions. Statistical failure and smoothing parameters also enter the total security error. The exact deductions and admissible source model come from a single consistent proof; they cannot be chosen independently to maximize the rate.
Optical Bell-State Measurement
Section titled “Optical Bell-State Measurement”An honest relay overlaps Alice’s and Bob’s photons at a balanced beam splitter and resolves output modes with threshold or number-resolving detectors. For two pure single-photon wave packets and , an ideal Hong–Ou–Mandel experiment (Hong, Ou and Mandel, 1987) has coincidence probability
Perfect mode overlap suppresses the coincidence associated with distinguishable photons. In an MDI analyzer, beam-splitter interference plus polarization, phase, or time-bin resolution maps selected coincidence patterns to Bell labels. Standard passive linear optics with vacuum ancillas cannot deterministically distinguish all four dual-rail Bell states; a familiar analyzer identifies at most two and has an intrinsic average success probability no greater than for equally likely Bell inputs under that model (Calsamiglia and Lütkenhaus, 2001). Xu et al. (2013) analyze practical optical performance. More details appear in Photonic Qubits.
Independent global phase randomization is compatible with single-photon interference: an overall phase does not change . It is the wave-packet overlap that matters. The arriving pulses must be matched in all degrees of freedom that drive two-photon interference:
- arrival time and pulse duration;
- optical frequency and spectral shape;
- polarization or interferometric reference frame;
- spatial mode and beam-splitter coupling;
- intensity statistics and phase-randomization behavior.
Feedback may track delay, frequency offset, polarization, and interferometer phase. Those controls improve the honest-system QBER but can also create side-channel or correlation assumptions at the sources. A high interference visibility is necessary for performance, not sufficient for security. Weak coherent pulses also include vacuum and multiphoton events, so their raw Hong–Ou–Mandel visibility has a different ideal limit from two deterministic single photons.
Loss and Rate Scaling
Section titled “Loss and Rate Scaling”Let and be channel transmittances from Alice and Bob to the relay, let be the efficiency of each required detector, and let denote the analyzer’s intrinsic accepted-outcome factor. Ignoring background and mismatch, the one-photon-pair yield scales as
For a standard two-state linear-optical analyzer, in the idealized dual-rail model. Consider of fiber on each side. Then
With and ,
For symmetric signal intensities ,
so the idealized signal-pair single-photon gain is
This is a physical scaling check, not a secret-key prediction. Background coincidences, multiphoton terms, mismatch, basis and intensity probabilities, finite statistics, and postprocessing all remain.
For fixed total endpoint separation in uniform fiber, equals the end-to-end channel transmittance. Standard MDI-QKD therefore has repeaterless scaling, with extra Bell-measurement and two-detector costs. It is chosen for a better detector trust boundary, not because it generically beats the pure-loss capacity. Twin-field and phase-matching families use a different single-photon-interference structure to target scaling; they should not be relabeled as ordinary two-photon MDI-QKD.
Asymmetric Links and Networks
Section titled “Asymmetric Links and Networks”A central relay naturally supports a star network: users need transmitters, while expensive detectors can be concentrated at one site that need not be trusted for secrecy. Any pair of users can send to the relay during assigned slots and run independent authenticated postprocessing.
Real networks are asymmetric. Unequal loss changes arrival probabilities. Conditional on exactly one photon surviving from each source, however, mode-independent pure loss does not reduce . There are not two unequal single-photon field amplitudes to balance in this conditional experiment.
For weak coherent pulses, different arriving mean intensities also change the mixture of events with two photons from one sender versus one from each. This can degrade the aggregate interference visibility and the -basis error statistics. Choosing separate signal and decoy intensities can improve the inferred key rate; balancing every basis indiscriminately is not the objective. Wang, Xu and Lo (2019) analyze independent intensity choices for asymmetric channels. Adding loss to the shorter arm can balance mean powers, but discards events, as exercise 8 quantifies.
Moving the relay changes detector count rates and background balance, but in uniform loss it does not change the product for fixed total distance. Relay placement is therefore a system optimization involving fiber routes, synchronization, detector saturation, background, user access, and operations, not a free change to the asymptotic exponent.
What remains trusted
Section titled “What remains trusted”The relay’s channels, analyzer and detectors may be adversarial. Endpoint preparations, private choices, laboratory isolation and classical processing must still satisfy the proof. A source-monitor detector inside Alice’s laboratory is part of that characterized apparatus; calling the protocol measurement-device-independent does not remove its role in intensity estimates. Optical probes sent back into the source also require a bounded endpoint response.
A Bell-state measurement is a joint quantum measurement. A Bell test is a statistical test of local hidden-variable models. MDI-QKD uses the former as its honest implementation, but does not require a Bell-inequality violation. Device-independent QKD uses the latter to reduce internal device characterization under its own laboratory assumptions.
The station also differs from a trusted key relay: it need not know either endpoint’s final key or maintain a quantum memory. Variants with memories or continuous-variable encoding use different state models and rate analyses.
Exercises
Section titled “Exercises”1. Basis-independent one-photon yields
Section titled “1. Basis-independent one-photon yields”Show that uniform independent BB84 bits give the same two-source average in the and bases. Deduce the accepted-label yield for any relay effect . Does equality of these yields imply equal error rates?
Solution
For either orthonormal qubit basis, the average of the two pure-state projectors is . Thus
Equality holds for an arbitrary effect, not just a Bell projector, provided the source average and the relay’s available information are the same. It does not equate the bit-conditioned probabilities. For example, has yield in both bases. If it is announced as , the bits are always opposite, giving zero corrected error. In the basis all four bit pairs have equal conditional probability, giving corrected error one-half. A high acceptance rate alone does not bound the phase error.
2. Construct the correction table
Section titled “2. Construct the correction table”Using the four BB84 product states in each matched basis, determine whether Alice’s and Bob’s bits are equal or opposite when the relay reports or .
Solution
In the basis, only opposite-bit products and overlap the subspace, so either label means opposite bits. In the basis,
whereas
Thus means equal bits and means opposite bits. With the convention in the article, Bob flips for both outcomes and for , but not for .
3. Ideal one-photon-pair yield
Section titled “3. Ideal one-photon-pair yield”Reproduce the symmetric-link estimate with , , and . Then find for .
Solution
The accepted yield conditioned on one photon from each side is
Each source emits one photon with probability . Therefore
This excludes background, mismatch, and multiphoton events and is therefore only a scaling check.
4. Infinite-decoy derivative
Section titled “4. Infinite-decoy derivative”Show that the mixed derivative of at gives .
Solution
The generating function is
Differentiating once in each variable gives
At , only survives, so the result is .
5. Evaluate the asymptotic rate
Section titled “5. Evaluate the asymptotic rate”Using the numerical values in the article and , calculate the rate per emitted pulse pair. Which term would change if reconciliation became less efficient?
Solution
The binary entropies are
The privacy contribution minus reconciliation leakage is
Multiplying by gives
secret bits per emitted pulse pair. Worse reconciliation increases and therefore increases the magnitude of the negative second term.
6. A dishonest relay
Section titled “6. A dishonest relay”Charles reports success only when an internal rule predicts low error. Why is this not automatically a break, and what ordering constraint prevents him from selecting after learning the users’ settings?
Solution
The security model already lets Charles choose which rounds succeed as part of Eve’s arbitrary quantum instrument. Alice and Bob estimate security on the conditioned accepted sample, including its rate and basis-intensity statistics. Selective reporting can lower the key rate or cause abort without revealing an accepted key beyond the proof’s bound.
Charles must commit the event and Bell-label record before Alice and Bob disclose basis and intensity choices. Authenticated transcript comparison must also prevent inconsistent lists. If the settings leak first, the sampling model changes and the stated proof no longer applies.
7. Source leakage at one endpoint
Section titled “7. Source leakage at one endpoint”Alice’s signal pulses are longer than her decoy pulses at fixed photon number. Explain why untrusted detectors do not make this harmless.
Solution
The duration difference can give Eve partial information about Alice’s intensity class before she announces an outcome. Nonidentical wave packets need not be perfectly distinguishable for the exact common-state assumption to fail. The shared-yield assumption can fail:
MDI-QKD removes the need to model the relay’s detector response; it does not remove Alice’s source model. Alice must eliminate or characterize the timing leak and use a proof that includes the resulting distinguishability.
8. Asymmetric channels
Section titled “8. Asymmetric channels”Alice’s channel has more loss than Bob’s. Compare adding attenuation to Bob’s arm with optimizing the two launched intensities independently.
Solution
With mode-independent attenuation, . Adding loss to Bob’s arm multiplies the one-photon-pair yield by : about three-quarters of those events are discarded.
Balancing the arriving mean intensities without adding channel loss would require , or . This can improve weak-coherent-pulse test statistics, but is not a universal optimum for signal intensities. Increasing changes multiphoton emission; for example, decreases when . Separate choices and finite-sample optimization must weigh those effects. Neither approach changes the wave-packet overlap of two surviving ideal single photons, and the channel contribution to remains .
References
Section titled “References”- J. Calsamiglia and N. Lütkenhaus, “Maximum Efficiency of a Linear-Optical Bell-State Analyzer,” Applied Physics B 72, 67–71 (2001), doi:10.1007/s003400000484.
- M. Curty, F. Xu, W. Cui, C. C. W. Lim, K. Tamaki, and H.-K. Lo, “Finite-Key Analysis for Measurement-Device-Independent Quantum Key Distribution,” Nature Communications 5, 3732 (2014), doi:10.1038/ncomms4732.
- C. K. Hong, Z. Y. Ou, and L. Mandel, “Measurement of Subpicosecond Time Intervals between Two Photons by Interference,” Physical Review Letters 59, 2044–2046 (1987), doi:10.1103/PhysRevLett.59.2044.
- H.-K. Lo, M. Curty, and B. Qi, “Measurement-Device-Independent Quantum Key Distribution,” Physical Review Letters 108, 130503 (2012), doi:10.1103/PhysRevLett.108.130503.
- W. Wang, F. Xu, and H.-K. Lo, “Asymmetric Protocols for Scalable High-Rate Measurement-Device-Independent Quantum Key Distribution Networks,” Physical Review X 9, 041012 (2019), doi:10.1103/PhysRevX.9.041012.
- F. Xu, M. Curty, B. Qi, and H.-K. Lo, “Practical Aspects of Measurement-Device-Independent Quantum Key Distribution,” New Journal of Physics 15, 113007 (2013), doi:10.1088/1367-2630/15/11/113007.