BB84[1] is a quantum key distribution scheme developed by Charles Bennett and Gilles Brassard in 1984. It is the first quantum cryptography protocol.[2] The protocol is provably secure, relying on the quantum property that information gain is only possible at the expense of disturbing the signal if the two states we are trying to distinguish are not orthogonal (see no cloning theorem). It is usually explained as a method of securely communicating a private key from one party to another for use in one-time pad encryption.

## Description

In the BB84 scheme, Alice wishes to send a private key to Bob. She begins with two strings of bits, ${\displaystyle a}$ and ${\displaystyle b}$, each ${\displaystyle n}$ bits long. She then encodes these two strings as a string of ${\displaystyle n}$ qubits,

${\displaystyle |\psi\rangle = \bigotimes_{i=1}^{n}|\psi_{a_ib_i}\rangle.}$

${\displaystyle a_i}$ and ${\displaystyle b_i}$ are the ${\displaystyle i^\mathrm{th}}$ bits of ${\displaystyle a}$ and ${\displaystyle b}$, respectively. Together, ${\displaystyle a_ib_i}$ give us an index into the following four qubit states:

${\displaystyle |\psi_{00}\rangle = |0\rangle}$

${\displaystyle |\psi_{10}\rangle = |1\rangle}$

${\displaystyle |\psi_{01}\rangle = |+\rangle = \frac{1}{\sqrt{2}}|0\rangle + \frac{1}{\sqrt{2}}|1\rangle}$

${\displaystyle |\psi_{11}\rangle = |-\rangle = \frac{1}{\sqrt{2}}|0\rangle - \frac{1}{\sqrt{2}}|1\rangle.}$

Note that the bit ${\displaystyle b_i}$ is what decides which basis ${\displaystyle a_i}$ is encoded in (either in the computational basis or the Hadamard basis). The qubits are now in states which are not mutually orthogonal, and thus it is impossible to distinguish all of them with certainty without knowing ${\displaystyle b}$.

Alice sends ${\displaystyle |\psi\rangle}$ over a public quantum channel to Bob. Bob receives a state ${\displaystyle \varepsilon\rho = \varepsilon|\psi\rangle\langle\psi|}$, where ${\displaystyle \varepsilon}$ represents the effects of noise in the channel as well as eavesdropping by a third party we'll call Eve. After Bob receives the string of qubits, all three parties, namely Alice, Bob and Eve, have their own states. However, since only Alice knows ${\displaystyle b}$, it makes it virtually impossible for either Bob or Eve to distinguish the states of the qubits. Also, after Bob has received the qubits, we know that Eve cannot be in possession of a copy of the qubits sent to Bob, by the no cloning theorem, unless she has made measurements. Her measurements, however, risk disturbing a particular qubit with probability ½ if she guesses the wrong basis.

Bob proceeds to generate a string of random bits ${\displaystyle b'}$ of the same length as ${\displaystyle b}$, and then measures the string he has received from Alice, ${\displaystyle a'}$. At this point, Bob announces publicly that he has received Alice's transmission. Alice then knows she can now safely announce ${\displaystyle b}$. Bob communicates over a public channel with Alice to determine which ${\displaystyle b_i}$ and ${\displaystyle b'_i}$ are not equal. Both Alice and Bob now discard the qubits in ${\displaystyle a}$ and ${\displaystyle a'}$ where ${\displaystyle b}$ and ${\displaystyle b'}$ do not match.

From the remaining ${\displaystyle k}$ bits where both Alice and Bob measured in the same basis, Alice randomly chooses ${\displaystyle k/2}$ bits and discloses her choices over the public channel. Both Alice and Bob announce these bits publicly and run a check to see if more than a certain number of them agree. If this check passes, Alice and Bob proceed to use information reconciliation and privacy amplification techniques to create some number of shared secret keys. Otherwise, they cancel and start over.

• SARG04
• E91 - Quantum Cryptographic communication protocol

## References

• Quantum Computing and Quantum Information, Michael Nielsen and Isaac Chuang
1. C. H. Bennett and G. Brassard, “Quantum Cryptography: Public key distribution and coin tossing”, in Proceedings of the IEEE International Conference on Computers, Systems, and Signal Processing, Bangalore, p. 175 (1984) [1]

Template:Quantum computing

cs:Protokol BB84 it:BB84 ja:BB84 ru:BB84 de:Quantenkryptografie#BB84-Protokoll