Quantum Encryption
Quantum Encryption
What BB84 is trying to establish
Quantum key distribution does not send a prewritten secret message through a magical channel. Its goal is to let two parties create correlated random bits and to detect enough disturbance to decide whether those bits are suitable for subsequent key use.
In BB84, a sender encodes each random bit in one of two incompatible bases. The receiver independently selects a measurement basis for each incoming state.
When the two bases match, an ideal measurement recovers the encoded bit. When they differ, the outcome cannot be used as a predictable shared record, so the parties publicly compare bases, not bit values, and discard those positions.
This public comparison is called sifting. They then reveal a randomly chosen subset of the retained bits to estimate the error rate, sacrificing those revealed bits.
Why interception leaves a statistical trace
An eavesdropper who measures without knowing the encoding basis sometimes measures in the wrong basis. That measurement changes the state available to the legitimate receiver, so even records later found to have matching legitimate bases can show disagreements.
Real systems also have noise and imperfections, so a nonzero error rate is not automatically proof of a particular attacker. The protocol sets an acceptable threshold and applies error correction and privacy amplification only when the observed data support proceeding.
The public discussion channel must itself be authenticated; otherwise an attacker could impersonate a participant during basis comparison. Authentication solves an identity problem, while quantum measurement disturbance supplies the special evidence about the quantum transmission. They are complementary safeguards.
Alice prepares a BB84 state in one basis and Bob measures it in the other basis. Why is that position discarded from the candidate key?
Why can an intercept-resend eavesdropper be detected in BB84 when Alice and Bob compare a random sample of their retained, matching-basis bits?