Bases and sifting: why half the photons are thrown away

What happens when Bob measures in the wrong basis, and why the sifted key is about half as long as the number of photons sent.

7 min read · reviewed December 2026

Right basis, wrong basis

If Bob measures in the same basis Alice used, he gets her bit with certainty. If he measures in the other basis, the result is a fair coin flip that tells him nothing about her bit. He does not know which case he is in until the bases are announced.

What Bob reads, given Alice’s basis and his own.
Alice’s basisBob’s basisBob’s bitKept?
++Alice’s bit, for certainyes
××Alice’s bit, for certainyes
+×0 or 1, 50% eachno
×+0 or 1, 50% eachno

Sifting

After the photons are sent, Alice and Bob announce their bases for every position. They keep the positions where the bases agreed, which is each position with probability 1/2. So n photons give a sifted key of about n/2 bits. The lab’s simulations confirm this: the kept share stays within about a percent of one half.

A concrete run

Here is a twelve-photon run from the lab’s simulator. Count the rows where the two bases match. Those bits agree in every case, because there is no noise or eavesdropper in this run.

A 12-photon run with no Eve and no noise (seed 7), produced by the lab’s own simulator.
#Alice bitAlice basisBob basisBob bitKept
10+×0no
20++0yes
30×+0no
41+×0no
50+×0no
61××1yes
71×+0no
80++0yes
90+×0no
100++0yes
110××0yes
121××1yes

Why announcing the bases is safe

The bases are announced after Bob has measured. An eavesdropper who learns them then cannot go back and measure the photons that have already arrived. And knowing the basis alone does not reveal the bit, since the bit is not announced.

Try it

Questions

Why do they not agree on a basis beforehand?

Because then Eve would know it too. The randomness of the bases is what hides the bit from her.

Is the discarded half wasted?

Yes, it is a fixed cost of the protocol. Variants that choose one basis much more often than the other waste less, at the price of a more careful security analysis.

Do the discarded bits matter for security?

They are not used for the key. They are discarded after the bases are announced.

Read next

Sources and further reading

Check the original sources for exact citations.