Bit-Mapped Gating

System

Bit-mapped gating protects a QKD receiver (Bob) whose single-photon detectors are gated, which means that they are sensitive only during a short window, the detector gate, when a photon is expected. Many attacks by a threat actor (Eve) trigger the detectors outside the centre of that window, or use bright light to make them work as ordinary photodiodes [Lydersen2011d]. With bit-mapped gating, Bob picks at random between gates which detector stands for bit 0 and which for bit 1. He does this both in software and in the optical setting of his basis selector, and he lets the two settings agree only in the middle of the gate. Light that arrives outside the middle then gives random bits, so a detector-control attack placed there shows up as a high error rate [Lydersen2011d,BSI2023].

It presupposes a gated detector. The sources define the scheme relative to the detector gate and discuss it only for gated detectors, so a receiver whose detectors are free-running or actively quenched has no gate for it to act on [Lydersen2011d,Sauge2011]. Bit-mapped gating also does not show whether the detectors are still sensitive to single photons inside the gate. A secure receiver needs a separate sensitivity check for that, CM-0020 Detector Sensitivity Checking [Lydersen2011d]. The scheme was proposed and analysed in 2011, a later security proof builds on it, and a study published by the German Federal Office for Information Security (BSI) lists it as a countermeasure. None of these sources builds it into a receiver or tests it against an attack [Lydersen2011d,Maroey2017,BSI2023].

Literature 7
[BSI2023] BSI. "Implementation Attacks against QKD Systems". (2023) https://www.bsi.bund.de/SharedDocs/Downloads/EN/BSI/Publications/Studies/QKD-Systems/QKD-Systems.pdf.
[Lydersen2011b] L. Lydersen, N. Jain, C. Wittmann, Ø. Marøy, J. Skaar, C. Marquardt, V. Makarov, and G. Leuchs. "Superlinear threshold detectors in quantum cryptography" In: Phys. Rev. A 84, 032320. (2011) 10.1103/PhysRevA.84.032320. arXiv:1106.2119.
[Lydersen2011d] L. Lydersen, V. Makarov, and J. Skaar. "Secure gated detection scheme for quantum cryptography" In: Phys. Rev. A 83, 032306. (2011) 10.1103/PhysRevA.83.032306.
[Makarov2024] Makarov, Vadim and Abrikosov, Alexey and Chaiwongkhot, Poompong and Fedorov, Aleksey K. and Huang, Anqi and Kiktenko, Evgeny and Petrov, Mikhail and Ponosova, Anastasiya and Ruzhitskaya, Daria and Tayduganov, Andrey and Trefilov, Daniil and Zaitsev, Konstantin. "Preparing a commercial quantum key distribution system for certification against implementation loopholes" In: Phys. Rev. Appl. 22, 044076 (2024). (2024) 10.1103/PhysRevApplied.22.044076.
[Maroey2017] Ø. Marøy, V. Makarov, and J. Skaar. "Secure detection in quantum key distribution by real-time calibration of receiver" In: Quantum Sci. Technol. 2, 044013. (2017) 10.1088/2058-9565/aa83c9.
[Sauge2011] S. Sauge, L. Lydersen, A. Anisimov, J. Skaar, and V. Makarov. "Controlling an actively-quenched single photon detector with bright light" In: Opt. Express 19, 23590-23600. (2011) 10.1364/OE.19.023590.
[Taylor2026] B. J. Taylor, P. R. Smith, J. F. Dynes, R. I. Woodward, M. Lucamarini, R. M. Stevenson, A. J. Shields. "Practical countermeasure against attacks exploiting detection-efficiency mismatch in quantum key distribution" (2026) 10.1103/7zhl-5vv1.
QID: CM-0039
UUID: e06ed2c1-7a1a-4089-8e85-b66833855c87
Tier: T0
Type: Device Hardening
Domain(s):
  • Quantum Communication
Tactic: Harden
Created: 2024-04-05
Updated: 2026-11-29
Countermeasure properties

Target party: Receiver
Quantum channel: Fibre optic, Free space
Security layers: L1 — Physical Layer (Quantum & Optical) L2 — Electronics & Analog Components L5 — Post-Processing & Cryptographic
Technique → Countermeasures 4
Description Technique

Bit-mapped gating changes the gate-timing scheme itself, which bears on closing the after-gate linear-mode and dead-time transient windows this technique exploits. [Lydersen2011b] names bit-mapped gating against the faint gate-edge variant: it randomises the detection events outside the centre of the gate.

A-0074 Detector Control via After-Gate Pulses Attack

Bit-mapped gating randomises detection mappings so a trigger pulse timed at the gate edge, exactly where this technique's superlinear response lives, causes roughly 50% QBER and reveals the eavesdropper, but only holds if the detector follows the ideal linear response in the centre of the gate [Lydersen2011b].

A-0075 Detector Control by Exploiting Superlinearity

Bit-mapped gating randomises the mapping between detection events and bit values, optically and in software, and confines legitimate detection to a narrow window. Against this technique it is the same family of defence as Makarov2006's third protection measure: "implement active protection by checking timing of incoming pulses at Bob", done "by registering the time of avalanche onset within the window, or with additional detectors" [Makarov2006,Lydersen2011d].

A-0069 Detector Efficiency Mismatch Attack

Bit-mapped gating randomises the mapping between detection events and key bits, so a blinded detector's clicks no longer correspond to a bit the threat actor can choose and her resends produce errors instead of a silent copy. It addresses the control step rather than the blinding step: this technique only yields a key because she resends her own detection results as bright controlling pulses, which is the step the randomised mapping breaks [Jiang2013]. Self-differencing detectors are gated, so the scheme can be deployed. No source tests it against the cancellation route, and the detector stays blind either way.

A-0077 Blinding Attack on Self-Differencing APDs
Countermeasure → Security Layers 3
Description Category Impact Type

Electronics and analog components. The bit-mapped gate is defined relative to the electronic detector gate: the modulator drive has to be timed so that the period of matching mappings lies well within the gate, where the detector efficiencies are approximately equal, and the detector efficiencies have to be measured or bounded as a function of time [Lydersen2011d]. A free-running or actively quenched module has no such gate for the scheme to act on [Lydersen2011d]. [Maroey2017] gives the reason a gate is needed: the threat actor (Eve) controls the fibre and so must be assumed to control the arrival time of the signal.

L2 — Electronics & Analog Components Primary Defence

Physical layer (quantum and optical). The optical bit mapping acts on the quantum states themselves: between gates Bob's basis selector, in a phase-encoded receiver his phase modulator, adds a random 0 or π\pi to the basis phase, and it matches the optical mapping to the software mapping only inside the gate [Lydersen2011d]. Light that passes the basis selector outside that period gives random bits, which is how the countermeasure reaches pulses placed after the gate or at its falling edge [Lydersen2011d,Lydersen2011b].

L1 — Physical Layer (Quantum & Optical) Primary Defence

Post-processing and cryptographic layer. A pulse placed outside the gate centre raises no separate alarm; it shows up as excess QBER. The measured QBER bounds the fraction ff of detections that occurred in the centre of the gate, and the efficiency-mismatch parameter η\eta in the key-rate formula is replaced by fη′f\eta'; for decoy-state protocols the single-photon QBER estimate is used [Lydersen2011d]. In a worked example on published data of an attacked commercial system, [Lydersen2011d] calculates that, with assumed values for the threshold and for η′\eta', the substitution would raise the key rate from 0 to 0.227.

L5 — Post-Processing & Cryptographic Secondary Effect
See Also
CM-0037 Passive Phase Randomisation
CM-0038 Phase Modulator Triggering
CM-0040 Temperature Monitoring
CM-0041 Laser Pulse-Period Control
CM-0043 Intentional Random Jitter of the Detector Gate Timing