QKD-COW Protocol
1. Introduction
Quantum Key Distribution (QKD) provides information-theoretic security guaranteed by the laws of quantum mechanics. Among prepare-and-measure protocols, the Coherent One-Way (COW) QKD protocol is particularly prominent for practical fibre-optic implementations, thanks to its simple optical architecture, high key-generation efficiency, and robustness against channel disturbances.
Unlike protocols that rely on phase or polarization modulation requiring active stabilization or complex interferometry, COW encodes information in the arrival time (time-bin) of coherent optical pulses. Channel monitoring is maintained by checking the quantum coherence between successive non-empty pulse slots.
This document describes the COW protocol as implemented in the QKD-COW simulator within the AnuQrana platform (Protocols module): the protocol’s theoretical basis, the two interface views (Map View and Component View), every configurable panel and field with its typical value and range, and the procedure for configuring, running, and recording a simulation trial.
2. Protocol Overview
The COW protocol operates on a time-bin structure where the transmitter Alice sends weak coherent optical pulses grouped into logical frame pairs. Every logical bit is defined by two adjacent time slots:
Sequence |
Notation |
Meaning |
|---|---|---|
Bit ‘0’ |
\(\lvert \alpha \rangle \lvert 0 \rangle\) |
An optical pulse in the first time slot, followed by an empty time slot. |
Bit ‘1’ |
\(\lvert 0 \rangle \lvert \alpha \rangle\) |
An empty time slot, followed by an optical pulse in the second time slot. |
Decoy sequence |
\(\lvert \alpha \rangle \lvert \alpha \rangle\) |
Two consecutive filled pulse slots, sent periodically to evaluate line security. |
The average photon number per coherent pulse is kept well below 1 (typically \(\mu \sim 0.1 - 0.5\)) to minimise side-channel attacks.
At the receiver, incoming optical signals pass through an asymmetric beam splitter that divides them between two lines:
- 1. Data line (data path)
The high-transmittance output directs the majority of photons (e.g. ~90 %) directly to a single-photon detector \(D_k\) for arrival-time measurement. This determines the bit value (‘0’ or ‘1’) from the time of arrival relative to the master clock.
- 2. Monitoring line (interferometer path)
The smaller fraction of photons (e.g. ~10 %) enters an asymmetric Delay Line Interferometer (DLI) whose delay equals one time-bin interval \(\Delta t\). Detectors \(D_{M1}\) and \(D_{M2}\) at its output ports monitor visibility and coherence across successive filled pulses (a ‘0’ followed by a ‘1’, or a decoy sequence \(\lvert \alpha \rangle \lvert \alpha \rangle\)).
An eavesdropper (Eve) attempting an intercept-resend or photon-number measurement disturbs the quantum coherence between successive pulses, producing a measurable visibility degradation on the monitoring path - even when the data line itself shows no elevated error rate.
3. Interface Overview
Opening Protocols -> QKD-COW loads the simulator screen, shown in two selectable views at the top of the right-hand configuration panel:
Map View – displays a geographic map (OpenStreetMap/Leaflet) for selecting the physical locations of Alice and Bob, alongside a Select Location panel with dropdowns for Alice and Bob.
Component View – displays the optical block diagram: Alice’s transmitter block on the left, Bob’s receiver block on the right, connected by the Quantum Channel, the Time Synchronization link, and the Classical Channel.
A red RUN ▶ button in the top-right corner executes the simulation using the currently configured parameters. In both views, the right-hand panel contains four collapsible sections: Alice, Bob, Channel, and Input Parameters.
(a) Map View |
(b) Component View |
Map View, showing Alice and Bob pinned to selected locations (CDAC KP and CDAC EC, Bengaluru) with the Quantum + Classical Channel route drawn between them; and Component View, showing the Alice and Bob physical nodes connected by the Quantum, Time Synchronization, and Classical Channels.
3.1 Component View – Optical Layout
In Component View, Alice’s block shows a CW Laser feeding an intensity modulator (IM) - driven by a DC bias and an RF amplifier under FPGA control - which carves the pulse train. The pulses then pass a VOA (attenuation to the single-photon level), an ISO (optical isolator), and a WDM multiplexer that combines the quantum signal with the timing reference onto the fibre.
Bob’s block mirrors this: a WDM demultiplexer separates the incoming signal, an asymmetric beam splitter sends the majority of the light to the data detector \(D_k\) (whose clicks are timestamped by the Time Tagger), and the remainder into the DLI, whose two output ports feed the monitoring detectors \(D_{m1}\) and \(D_{m2}\). An FPGA at each end distributes the master clock (via the WR-Len white-rabbit timing units) and drives the gate signal for the detectors, while the dashed line between the two FPGAs is the authenticated classical channel used for post-processing.
4. Alice Panel
The Alice transmitter module is responsible for state preparation, sequence generation, and attenuated light emission.
4.1 Optical Light Source
A continuous-wave (CW), narrow-linewidth distributed-feedback (DFB) laser diode operating at 1550 nm.
Parameter |
Typical Value |
Typical Range |
Unit |
|---|---|---|---|
Wavelength (\(\lambda\)) |
1550 |
1530-1565 |
nm |
Optical Power (\(P\)) |
5 |
1-20 |
mW |
Spectral Linewidth (\(\Delta\nu\)) |
100 |
10-1000 |
kHz |
RIN |
0.001 |
0.0001-0.01 |
% |
4.2 Intensity Modulator
A high-bandwidth lithium niobate (LiNbO3) electro-optic intensity modulator, driven by the FPGA’s high-speed serializer outputs, carving optical pulses with a typical full-width at half-maximum (FWHM) duration of 1 ns.
Parameter |
Typical Value |
Typical Range |
Unit / Option |
|---|---|---|---|
Insertion Loss |
4 |
3-6 |
dB |
Leak Slots |
Ideal / Custom |
||
Extinction Ratio |
30 |
6-100 |
dB |
4.3 Attenuator Unit
A precision variable optical attenuator (VOA) setting the mean photon number per pulse \(\mu\) at the output port to the single-photon level.
Parameter |
Typical Value |
Typical Range |
Unit / Option |
|---|---|---|---|
Attenuator Mode |
\(\mu\) |
\(\mu\) / OD |
\(\mu\) (mean photon no.), OD (optical density) |
Mean Photon Number (\(\mu\)) |
0.1 |
0.1-1 |
photons/pulse |
4.4 Random Number Generator
A random number generator (RNG) supplying true entropy for the bit choice and decoy state insertion decisions.
4.5 Optical Isolator (ISO)
Prevents reflected optical signals from propagating back toward the laser, improving source stability.
4.6 Control & Timing Synchronization Unit
An FPGA controller managing master-clock distribution, pulse-pattern creation, and the key-distillation process.
Parameter |
Typical Value |
Typical Range |
Unit |
|---|---|---|---|
Repetition Time (\(T_\mathrm{rep}\)) |
32 |
8-128 |
ns |
Encoding Time Bin (\(T_\mathrm{slot}\)) |
1 |
1-2 |
ns |
Logic ‘0’ Probability (\(P_0\)) |
0.45 |
0-1 |
– |
Logic ‘1’ Probability (\(P_1\)) |
0.45 |
0-1 |
– |
Decoy Probability (\(P_D\)) |
0.10 |
0-1 |
– |
Note
\(P_0\), \(P_1\), and \(P_D\) are the sequence-selection probabilities and should sum to 1. The defaults (0.45 / 0.45 / 0.10) give an unbiased raw key with one decoy sequence in ten.
5. Bob Panel
The Bob receiver module performs timing-discriminative measurements on the data line and continuous coherence monitoring on the interferometer line.
5.1 Asymmetric Beam Splitter
Splitting ratio \(T{:}R\) (e.g. 90:10), prioritising raw key rate while maintaining sufficient photon statistics for security monitoring.
Parameter |
Typical Value |
Typical Range |
|---|---|---|
Efficiency (\(\eta\)) |
1.00 |
0-1 |
Transmittance (\(T\)) |
90 |
0-100 |
5.2 Delay Line Interferometer (1 GHz DLI)
A fibre interferometer with a path delay matching the time-bin separation \(\Delta t\) (e.g. 1 ns for a 1 GHz clock), equipped with an additional displacement length to lock the interference condition.
Parameter |
Typical Value |
Typical Range |
Unit |
|---|---|---|---|
Additional Displacement Length (\(L_d\)) |
0 |
0-1 |
m |
5.3 Single-Photon Detectors (SPDs)
High-efficiency single-photon avalanche diodes (SPADs) operating at 1550 nm:
Detector \(D_k\) – connected to the primary data path for raw key extraction.
Detectors \(D_{M1}\), \(D_{M2}\) – connected to the constructive and destructive interference output ports of the DLI.
Parameter |
Typical Value |
Typical Range |
Unit |
|---|---|---|---|
Dead Time (\(\tau_d\)) |
25 |
20-50 |
ns |
Dark Count Rate (DCR) |
100 |
10-500 |
counts/s |
Timing Jitter (\(\sigma_t\)) |
50 |
20-100 |
ps |
Coupling Efficiency (\(\eta_c\)) |
0.90 |
0.70-0.95 |
– |
Photon Detection Efficiency (\(\eta_d\)) |
0.25 |
0.20-0.70 |
– |
5.4 Time-to-Digital Converter (TDC) / Time-Tagger
A high-resolution timing-analysis unit capturing photon arrival timestamps with sub-100 ps resolution relative to the system reference clock.
6. Channel Panel
6.1 Quantum Channel: Fibre
The optical link uses standard single-mode fibre (SMF-28) in the low-loss 1550 nm C-band telecom window, covering channel lengths up to 100 km, with an attenuation rate of 0.20 dB/km and minimal connector loss (\(\le\) 0.2 dB/pair).
Parameter |
Typical Value |
Typical Range |
Unit |
|---|---|---|---|
Fibre Channel Length (\(L\)) |
10000 |
1-100e3 |
m |
Alpha (Attenuation) (\(\alpha\)) |
0.0002 |
0.00015-0.00025 |
dB/m |
Core Index (\(n_\mathrm{core}\)) |
1.468 |
1.44-1.47 |
– |
Cladding Index (\(n_\mathrm{clad}\)) |
1.462 |
1.43-1.46 |
– |
6.2 Supporting Channels
The COW infrastructure relies on three core channels running in parallel between the two nodes:
Channel |
Role |
|---|---|
Quantum channel (optical fibre) |
Carries the weak coherent light pulses from Alice to Bob. |
Synchronization channel (optical/electrical) |
Ultra-low-jitter distribution of the clock and timing references, wavelength-multiplexed (WDM) onto the same fibre in the reference layout. |
Classical channel (Ethernet, TCP/IP) |
Authenticated public channel used for key distillation: post-processing, error correction, and privacy amplification. |
7. Input Parameters Panel
To evaluate system performance and calculate secure key rates under finite-key analysis, these run-level parameters must be precisely controlled and calibrated:
Parameter |
Typical Value |
Typical Range |
Unit |
|---|---|---|---|
Key Size (\(N\)) |
500 |
256-4096 |
bits |
Disclosed Bits |
30 |
0-100 |
% |
Disclosed Bits is the fraction of the raw key revealed over the classical channel for parameter estimation and error analysis; the remaining bits are retained for further key distillation. Raising it improves the confidence of the QBER estimate at the cost of final key length.
8. Map View
Switching to Map View replaces the optical block diagram with an interactive map (zoom controls and a layer-selector icon top-left). The right-hand panel adds a Select Location section above Alice/Bob/Channel/Input Parameters, containing two dropdowns:
Field |
Description |
|---|---|
Alice |
Select Alice’s geographic location from the dropdown, referenced on the map. |
Bob |
Select Bob’s geographic location from the dropdown, referenced on the map. |
Selecting the two endpoints draws the Quantum + Classical Channel route between them and sets the corresponding fibre length. The Alice, Bob, Channel, and Input Parameters sections below remain identical in content to Component View – only the diagram at left changes from the optical layout to the map (see Figure (a) in Section 3).
9. Security Monitoring
COW separates key generation from security checking, so the two happen on different detectors:
9.1 Data Line – Bit Extraction
Detector \(D_k\) records arrival timestamps. A click in the first slot of a frame is read as bit ‘0’, a click in the second slot as bit ‘1’. Frames identified as decoys are discarded from the key during post-processing, and empty frames (no click) are simply lost - the sifting step keeps only the frames where Bob registered exactly one conclusive detection.
9.2 Monitoring Line – Coherence and Visibility
The DLI interferes each pulse with its successor. For undisturbed coherent pulses the interference is constructive at one output port and destructive at the other, so \(D_{M2}\) (the destructive port) should stay essentially dark. Visibility is measured as
where \(C_{M1}\) and \(C_{M2}\) are the counts on the constructive and destructive ports. An eavesdropper performing intercept-resend or photon-number measurement destroys the phase relation between successive non-empty slots, raising \(C_{M2}\) and pulling \(V\) down.
A visibility close to 1 (e.g. 0.9969 in the reference run of Section 11) indicates an undisturbed line; a significant drop is the signature the protocol acts on, even if the QBER on the data line looks normal.
10. Running a Simulation
Open Protocols and select QKD-COW.
Choose Map View or Component View using the radio buttons at the top of the panel. In Map View, pick Alice’s and Bob’s locations from the Select Location dropdowns.
Expand Alice and configure the light source, intensity modulator, attenuator, and the timing unit (\(T_\mathrm{rep}\), \(T_\mathrm{slot}\), \(P_0\), \(P_1\), \(P_D\)), as described in Section 4 - or leave the defaults in place.
Expand Bob and configure the beam-splitter ratio, DLI displacement length, and detector parameters as described in Section 5.
Expand Channel and set the fibre length, attenuation, and refractive indices as described in Section 6.
Expand Input Parameters and set Key Size and Disclosed Bits.
Click RUN ▶.
11. Simulated Parameters and Results
11.1 COW-QKD Simulation Report
The COW-QKD simulation evaluates the performance of the quantum key distribution system under configurable channel, source, detector, timing, and protocol parameters. The simulation provides key performance metrics such as Quantum Bit Error Rate (QBER), decoy state interference visibility, raw key generation throughput, and final key size. During post-processing, a portion of the raw key is disclosed for parameter estimation and error analysis, while the remaining bits are retained for further key distillation. These results provide an overall assessment of the system’s transmission performance, timing synchronization, channel characteristics, and key generation capability under the selected simulation conditions.
Performance Metric |
Unit |
|---|---|
QBER |
% |
Visibility |
0.9969 |
Raw Key Rate |
kbps |
Final Raw Key |
bits |
Total Channel Loss |
dB |
11.2 Results and Interpretation
The COW-QKD simulation evaluates the performance of the system under the configured channel, source, detector, timing, and protocol parameters. It reports the quantum bit error rate, the decoy-state interference visibility, the raw key generation throughput, and the final key size. During post-processing a portion of the raw key is disclosed for parameter estimation and error analysis, while the remaining bits are retained for further key distillation. Together these give an overall assessment of transmission performance, timing synchronization, channel characteristics, and key generation capability for the selected configuration.
Interpretation of Results
The Quantum Bit Error Rate (QBER) quantifies the fraction of erroneous bits in the raw key and is calculated as:
QBER, together with the interference visibility measured on the monitoring line, is used to assess the quality and security of the COW-QKD transmission. Low QBER with high visibility indicates an undisturbed channel, allowing key distillation to proceed. Low QBER with degraded visibility may indicate that the data line remains apparently error-free while the coherence between consecutive pulses has been disturbed, which is a key signature monitored in COW-QKD. Elevated QBER can result from channel loss, detector dark counts, timing misalignment between Alice and Bob, or disturbances on the data line. Therefore, channel loss, detector noise, and synchronization should be checked before interpreting an elevated QBER as evidence of an eavesdropping attack.
COW-QKD Simulation Results – QBER, visibility, Final raw key rate, and throughput for a reference run with 10 km fibre length and 0.2 dB/km attenuation.
Parameter |
Result/ Typical Value |
Threshold / Acceptable Range |
Meaning |
|---|---|---|---|
QBER |
0–2% |
≤ 5% |
Quantum bit error rate measured on the data line from the disclosed portion of the raw key. |
Visibility |
0.99 |
≥ 0.90 |
Interference visibility measured on the monitoring line; high visibility indicates preserved coherence between consecutive pulses. |
Total Channel Loss |
2 dB |
≤ 20 dB |
Aggregate attenuation over the configured fibre length, including component insertion losses. |

