BB84 Quantum Key Distribution: Difference between revisions
No edit summary |
|||
Line 88: | Line 88: | ||
'''4.''' Error correction | '''4.''' Error correction | ||
''<math>C(\cdot,\cdot)</math> is an error correction subroutine (see [[BB84 Quantum Key Distribution #References| [ | ''<math>C(\cdot,\cdot)</math> is an error correction subroutine (see [[BB84 Quantum Key Distribution #References| [9]]]) determined by the previously estimated value of <math>Q_Z</math> and with error parameters <math>\epsilon'_{\rm EC}</math> and <math>\epsilon_{\rm EC}</math> | ||
#Both Alice and Bob run <math>C(A_1^{n'},B_1^{n'})</math>''. | #Both Alice and Bob run <math>C(A_1^{n'},B_1^{n'})</math>''. | ||
#Bob obtains <math>\tilde{B}_1^{n'}</math> | #Bob obtains <math>\tilde{B}_1^{n'}</math> | ||
'''5.''' Privacy amplification | '''5.''' Privacy amplification | ||
''<math>PA(\cdot,\cdot)</math> is a privacy amplification subroutine determined by the size <math>\ell</math>, computed from equation for key length <math>\ell</math> (see [[Quantum Key Distribution#Properties|Properties]]), and with secrecy parameter <math>\epsilon_{\rm PA}</math>'' | ''<math>PA(\cdot,\cdot)</math> is a privacy amplification subroutine (see [[BB84 Quantum Key Distribution #References| [10]]]) determined by the size <math>\ell</math>, computed from equation for key length <math>\ell</math> (see [[Quantum Key Distribution#Properties|Properties]]), and with secrecy parameter <math>\epsilon_{\rm PA}</math>'' | ||
#Alice and Bob run <math>PA(A_1^{n'},\tilde{B}_1^{n'})</math> and obtain secret keys <math>K_A, K_B</math>; | #Alice and Bob run <math>PA(A_1^{n'},\tilde{B}_1^{n'})</math> and obtain secret keys <math>K_A, K_B</math>; | ||
Line 102: | Line 102: | ||
# Sifting: the BB84 protocol can also be described in a symmetric way. This means that the inputs <math>0</math> and <math>1</math> are chosen with the same probability. In that case only <math>1/2</math> of the generated bits are discarded during the sifting process. Indeed, in the symmetric protocol, Alice and Bob measure in the same basis in about half of the rounds. | # Sifting: the BB84 protocol can also be described in a symmetric way. This means that the inputs <math>0</math> and <math>1</math> are chosen with the same probability. In that case only <math>1/2</math> of the generated bits are discarded during the sifting process. Indeed, in the symmetric protocol, Alice and Bob measure in the same basis in about half of the rounds. | ||
# [https://dl.acm.org/citation.cfm?id=1058094 LCA05] the asymmetric protocol was introduced to make this more efficient protocol presented in this article. | # [https://dl.acm.org/citation.cfm?id=1058094 LCA05] the asymmetric protocol was introduced to make this more efficient protocol presented in this article. | ||
# A post-processing of the key using 2-way classical communication, denoted [[Advantage distillation]], can increase the QBER | # A post-processing of the key using 2-way classical communication, denoted [[Advantage distillation]], can increase the QBER tolerance up to <math>18.9\%</math> (3). | ||
# We remark that in [[BB84 Quantum Key Distribution#Pseudo Code|Pseudo Code]], the QBER in the <math>Z</math> basis is not estimated during the protocol. Instead Alice and Bob make use of a previous estimate for the value of <math>Q_Z</math> and the error correction step, Step 4 in the pseudo-code, will make sure that this estimation is correct. Indeed, if the real QBER is higher than the estimated value <math>Q_Z</math>, [[BB84 Quantum Key Distribution#Pseudo Code|Pseudo Code]] will abort in the Step 4 with very high probability. | # We remark that in [[BB84 Quantum Key Distribution#Pseudo Code|Pseudo Code]], the QBER in the <math>Z</math> basis is not estimated during the protocol. Instead Alice and Bob make use of a previous estimate for the value of <math>Q_Z</math> and the error correction step, Step 4 in the pseudo-code, will make sure that this estimation is correct. Indeed, if the real QBER is higher than the estimated value <math>Q_Z</math>, [[BB84 Quantum Key Distribution#Pseudo Code|Pseudo Code]] will abort in the Step 4 with very high probability. | ||
# The BB84 can be equivalently implemented by distributing [[EPR pairs]] and Alice and Bob making measurements in the <math>Z</math> and <math>X</math> basis, however this required a [[entanglement distribution]] network stage. | # The BB84 can be equivalently implemented by distributing [[EPR pairs]] and Alice and Bob making measurements in the <math>Z</math> and <math>X</math> basis, however this required a [[entanglement distribution]] network stage. | ||
#[https://doi.org/10.1007/3-540-48285-7_35 Secret-Key Reconciliation by Public Discussion] | |||
#[https://arxiv.org/abs/quant-ph/0512258 Security of Quantum Key Distribution] | |||
<div style='text-align: right;'>''contributed by Bas Dirke, Victoria Lipinska, Gláucia Murta and Jérémy Ribeiro''</div> | <div style='text-align: right;'>''contributed by Bas Dirke, Victoria Lipinska, Gláucia Murta and Jérémy Ribeiro''</div> |
Revision as of 12:14, 2 May 2019
The BB84 protocol implements the task of Quantum Key Distribution (QKD). The protocol enables two parties, Alice and Bob, to establish a classical secret key by preparing and measuring qubits. The output of the protocol is a classical secret key which is completely unknown to any third party, namely an eavesdropper.
Tags: Two Party, Quantum Enhanced Classical Functionality, Specific Task,Quantum Key Distribution, Device Independent QKD,
Assumptions
- Network: we assume the existence of an authenticated public classical channel between Alice and Bob.
- Timing: we assume that the network is synchronous.
- Adversarial model: coherent attacks.
Outline
The protocol shares a classical key between two parties, Alice and Bob. The BB84 quantum key distribution protocol consists of the following steps:
- Distribution: This step involves preparation, exchange and measurement of quantum states. For each round of the distribution phase, Alice randomly chooses a basis (a pair of orthogonal states) out of two available bases (X and Z). She then randomly chooses one of the two states and prepares the corresponding quantum state in the chosen basis. She sends the prepared state to Bob. Upon receiving the state, Bob announces that he received the state and randomly chooses to measure in the either of the two available bases (X or Z). The outcomes of the measurements give Bob a string of classical bits. The two parties repeat the above procedure times so that at the end of the distribution phase each of them holds an -bit string.
- Sifting: Alice and Bob publicly announce their choices of basis and compare them. They discard the rounds in which Bob measured in a different basis than the one prepared by Alice.
- Parameter estimation: Alice and Bob use a fraction of the remaining rounds (in which both measured in the same basis) in order to estimate the quantum bit error rate (QBER).
- Error correction: Alice and Bob choose a classical error correcting code and publicly communicate in order to correct their string of bits. At the end of this phase Alice and Bob hold the same bit-string.
- Privacy amplification: Alice and Bob use an extractor on the previously established string to generate a smaller but completely secret string of bits, which is the final key.
Hardware Requirements
- Network Stage: Prepare and Measure
- Relevant Network Parameters: transmission error , measurement error Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \epsilon_M} (see Prepare and Measure)
- Benchmark values:
- Minimum number of rounds ranging from to depending on the network parameters , for commonly used security parameters.
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle QBER \leq 0.11} , taking a depolarizing model as benchmark. Parameters satisfying are sufficient to asymptotically get positive secret key rate.
- requires random number generator.
Notation
- number of total rounds of the protocol.
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \ell} size of the secret key.
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_i, Y_i} bits of input of Alice and Bob, respectively, that define the measurement basis.
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A_i,B_i} bits of output of Alice and Bob, respectively.
- is a shorthand notation for the string .
- final key of Alice and Bob, respectively.
- is the quantum bit error rate QBER in the basis.
- is the quantum bit error rate QBER in the Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Z} basis estimated prior to the protocol.
- is the Hadamard gate. .
- is the probability that Alice (Bob) prepares (measures) a qubit in the basis.
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \epsilon_{\rm EC}} , are the error probabilities of the error correction protocol.
- is the error probability of the privacy amplification protocol.
- is the error probability of the parameter estimation.
Properties
The protocol implements -QKD, which means that it generates an -correct, -secret key of length in rounds. The security parameters of this protocol are given by
and the amount of key that is generated is given by
where
and is the binary entropy function.
In the above equation for key length, the parameters and are error probabilities of the classical error correction subroutine. At the end of the error correction step, if the protocol does not abort, then Alice and Bob share equal strings of bits with probability at least Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1-\epsilon_{\rm EC}} . The parameter is related with the completeness of the error correction subroutine, namely that for an honest implementation, the error correction protocol aborts with probability at most Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \epsilon'_{\rm EC}+\epsilon_{\rm EC}} . The parameter Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \epsilon_{\rm PA}} is the error probability of the privacy amplification subroutine and Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \epsilon_{\rm PE}} is the error probability of the parameter estimation subroutine used to estimate (see Quantum Key Distribution for the precise security definition).
Pseudocode
- Input:
- Output:
1. Distribution and measurement
- For
- Alice chooses random bits Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_i\in\{0,1\}} and such that
- Alice prepares and sends it to Bob
- Bob announces receiving a state
- Bob chooses bit such that
- Bob measures in basis with outcome
At this stage Alice holds strings and Bob , all of length .
2. Sifting
- Alice and Bob publicly announce
- For
- If
- append
- append
- append
- append
- If
Now Alice holds strings and Bob , all of length .
3. Parameter estimation
- Set size = 0
- For
- If
- Alice and Bob publicly announce
- Alice and Bob compute , where is the Kronecker delta
- size += 1;
- If
- Both Alice and Bob, each, compute
4. Error correction
is an error correction subroutine (see [9]) determined by the previously estimated value of and with error parameters and
- Both Alice and Bob run .
- Bob obtains
5. Privacy amplification
is a privacy amplification subroutine (see [10]) determined by the size , computed from equation for key length (see Properties), and with secrecy parameter
- Alice and Bob run and obtain secret keys ;
Further Information
- BB(1984) introduces the BB84 protocol, as the name says, by Charles Bennett and Gilles Brassard.
- TL(2017) The derivation of the key length in Properties, combines the techniques developed in this article and minimum leakage error correcting codes.
- GL03 gives an extended analysis of the BB84 in the finite regime.
- Sifting: the BB84 protocol can also be described in a symmetric way. This means that the inputs and are chosen with the same probability. In that case only of the generated bits are discarded during the sifting process. Indeed, in the symmetric protocol, Alice and Bob measure in the same basis in about half of the rounds.
- LCA05 the asymmetric protocol was introduced to make this more efficient protocol presented in this article.
- A post-processing of the key using 2-way classical communication, denoted Advantage distillation, can increase the QBER tolerance up to (3).
- We remark that in Pseudo Code, the QBER in the basis is not estimated during the protocol. Instead Alice and Bob make use of a previous estimate for the value of and the error correction step, Step 4 in the pseudo-code, will make sure that this estimation is correct. Indeed, if the real QBER is higher than the estimated value , Pseudo Code will abort in the Step 4 with very high probability.
- The BB84 can be equivalently implemented by distributing EPR pairs and Alice and Bob making measurements in the and basis, however this required a entanglement distribution network stage.
- Secret-Key Reconciliation by Public Discussion
- Security of Quantum Key Distribution