Modelling and Analysis of Quantum Key Distribution Protocols, BB84

Total Page:16

File Type:pdf, Size:1020Kb

Modelling and Analysis of Quantum Key Distribution Protocols, BB84 1 Modelling and Analysis of Quantum Key Distribution Protocols, BB84 and B92, in Communicating Quantum Processes(CQP) language and Analysing in PRISM Satya Kuppam Dhirubhai Ambani Institute of Information and Communication Technology Gandhinagar, India Email: [email protected], [email protected] Abstract—Proof of security of cryptography protocols The cornerstone of quantum cryptographic protocols is theoretically establishes the strength of a protocol and the inherent probabilistic nature. Unlike classical protocols the constraints under which it can perform, it does not which accommodates a passive eavesdropper, wherein the take into account the overall design of the protocol. In eavesdropper can copy the bits and analyse them later, the past model checking has been successfully applied quantum protocols mandate an active eavesdropper. This to classical cryptography protocols to weed out de- constraint is promulgated by the no-cloning [11] theorem sign flaws which would have otherwise gone unnoticed. Quantum key distribution protocols differ from their which handicaps the eavesdropper from copying qubits. To classical counterparts, in their ability to detect the extract information from the qubits an eavesdropper will presence of an eavesdropper while exchanging the key. inevitably resort to measuring them in a basis which might Although unconditional security has been proven for be different from the encoding basis and thereby alters the both BB84 [3] and B92 [4] key distribution protocols, in state of the qubit. This action is probabilistic in nature. this paper we show that identifying an eavesdropper’s Moreover, quantum protocols also involve both classical presence is constrained on the number of qubits ex- and quantum channels. Therefore we need a language changed. We first model the protocols in Communicat- that is capable of modelling probabilistic phenomenon ing Quantum Processes (CQP) [10] [8] and then explain and also takes into account both classical and quantum the mechanism by which we have translated this into communications. a PRISM model and how we analysed the protocols’ capabilities. We mainly focus on the protocols’ ability to Communicating Quantum Processes (CQP) [10] is a detect an active eavesdropper and the extent to which language developed with the expert purpose of modelling an eavesdropper can retrieve the shared key without quantum protocols. CQP uses the communication prim- being detected by either party. We then conclude by itives of pi-calculus [9] and has capabilities for apply- comparing the performance of the protocols. ing unitary operators, performing measurements, and a static type system that differentiates between classical and quantum communications. Hence CQP seems an obvious I. Introduction choice for modelling quantum protocols. Reasoning along Quantum cryptographic protocols have garnered much the same lines, PRISM allows us to model probabilistic acclaim in the last two decades for their ability to provide transitions, as we show later, this allows to seamlessly unconditional security, which is not practically assured translate a CQP model into a PRISM model. arXiv:1612.03706v2 [cs.CR] 1 Apr 2018 by their classical counterparts. Commercial availability of Previous work on analysis of BB84 by Papanikolaou [5] quantum infrastructure in the last decade has placed even has reasoned about the probability of detecting an eaves- more emphasis on developing methodologies to ascertain dropper and corroborates the claim made by Mayers in the reliability of protocols in practice. Even though, proto- his proof of unconditional security of BB84. However, this cols are theoretically secure, our experience with classical work does not model BB84 in CQP. We first model BB84 protocols has shown that security can be compromised in CQP, conver the CQP model into PRSIM and check the during implementation. Since modelling, analysing and validity of the observations made by Papanikolaou [5]. We verifying classical protocols have worked so well, develop- then proceed to show that B92’s eavesdropping detection ing techniques along these lines seems prudent for quantum capabilities can be reasoned along the same lines. cryptographic protocols as well. To ensure brevity we have refrained from explaining Quantum Mechanical primitives like unitary operators, This is a pre-print version of a journal submission, calling for measurements and no-cloning theorem. One good resource comments from the audience. is Nielsen and Chuang’s work [7]. Also, we have only 2 provided an elementary introduction to CQP, only to send a classical bit 0 to Bob she sends →and if she wants the extent to which we use it in this paper. A better to send 1 she sends %. The rest of the steps involved are and complete resource would be Thimothy Davidson’s [8] the same as in BB84. doctoral thesis. D. Eavesdropping Attacker II. Preliminaries As mentioned earlier, whenever Eve measures the qubits We are going to briefly explain quantum measurement, that are in transit to Bob from Alice, she makes a perma- and working of BB84 and B92 protocols. nent change to the state of qubits if she doesn’t use the same basis as that of Alice. In BB84 protocol if on some A. Quantum Measurement qubits both Alice and Bob use the same basis to encode It is inherent with any quantum mechanical system that and measure but Bob decodes a classical bit different from any measurement done on the system will induce some what Alice encoded, suggests the presence of Eve. In B92 irreversible disturbances. We are going to rely on this as well, Alice and Bob should obtain the opposite results property of qubits heavily in any quantum cryptographic when the encoding basis is the same, then an attacker is protocols. present. We are assuming the qubit channel shared by all the participants noiseless. Any quantum system can be represented as a vector in an n dimensional complex Hilbert space. Measuring this III. Formalising in CQP quantum system can only give a set of priviliged results A brief overview of CQP calculus is provided and then namely those associated with the basis vectors of the state we proceed to formalise both the protocols in CQP. An space. example of BB84-Bit Commitment Protocol in CQP [10] For example, consider a 2-dimensional complex Hilbert was give by Simon and Gay and our formalisation uses the spcae with |0i and |1i as basis vectors. Lets say the vector same techniques. |ψi = α. |0i + β. |1i describes the system. If we try to measure the system in the basis {0, 1}, then the system A protocol at any given point of time has multiple changes to a new state, either |ψ0i = |0i or |ψ0i = |1i participants, like Alice and Bob which are legitimate entities involved and also adversaries like Eve. These permanently. It has a probability |α|2 of changing into entities are collectively known as agents. Agents |ψ0i = |0i and a probability |β|2 of changing into |ψ0i = |1i. 2 2 communicate with each other via communication channels Also, |α| + |β| = 1. We can also measure the system in to exchange information. The working of the agents is whichever basis that we choose. Lets measure the system encapsulated by processes. Every agent has more than in another basis {+, −}, where one process, and at any given time its possible that more |+i = √1 (|0i + |1i and |−i = √1 (|0i − |1i, then the 2 2 than one process is in action. These processes can be (α+β) quantum state can be represented as |ψi = √ (|+i) + reasonably thought of as states in finite state automatons 2 (α−β) and every process transitions to another or terminates. √ (|−i). 2 CQP allows us to impose a probabilistic distribution Measuring this system in the basis {+, −} will yield |+i across these transitions. Also processes in CQP can be (α+β)2 (α−β)2 and |−i with probability 2 and 2 respectively. parametrised. B. BB84 QKD protocol 1) channels are declared by the new keyword. A and B want to establish a secret for secure com- For example to declare a new qubit channel, we munication. A sends the encoding of some bits in the write (new qubitChannel:ˆ[Qbit]), where Qbit is the +,×basis to B on the quantum channel. B then chooses data type qubitChannel is constrained to and ”ˆ” a random sequences of bases and measures the qubit identifies it as a channel. sent by A in that basis. If the basis of Alice and Bob 2) variables can be declared within a process like so, are equal then the B obtains the classical bit chosen by (qbit q). Alice other wise she randomly gets {0, 1}. A and B then 3) Process Output: c![x].Pi+1 to send the data stored use the classical channel to exchange the basis and the by variable x along channel c and then proceed with corresponding measurements of qubits to decide upon a process Pi+1. shared key or to detect the presence of an eavesdropper. 4) Process Input: c?[x].Pi+1 to receive along channel c and then proceed with process Pi+1. 5) Process action: e.Pi+1 evaluates expression e and C. Understanding B92 then proceeds with process Pi+1 Unlike BB84 where each classical bit has two different 6) Process decision: ifethenPi+1elsePi+2 if the expres- encoding depending on the basis used, B92 has only one. In sion e evaluates to true then proceed with process other words there is a one to one correspondence between Pi+1 else Pi+2 the classical bits and qubits exchanged. If Alice wants to 7) Terminate: Pi.0 the process terminates after Pi. 3 A. Formalising BB84 channels without any noise, if the measurement Bob We identify that Alice, Bob are the primary agents of made does not match, Alice straight away confirms the protocol and to analyse the effects of an eavesdropper the presence of an attacker and sends an eveDetect Eve becomes an agent of the system as well.
Recommended publications
  • Security of Quantum Key Distribution with Entangled Qutrits
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by CERN Document Server Security of Quantum Key Distribution with Entangled Qutrits. Thomas Durt,1 Nicolas J. Cerf,2 Nicolas Gisin,3 and Marek Zukowski˙ 4 1 Toegepaste Natuurkunde en Fotonica, Theoeretische Natuurkunde, Vrije Universiteit Brussel, Pleinlaan 2, 1050 Brussels, Belgium 2 Ecole Polytechnique, CP 165, Universit´e Libre de Bruxelles, 1050 Brussels, Belgium 3 Group of Applied Physics - Optique, Universit´e de Gen`eve, 20 rue de l’Ecole de M´edecine, Gen`eve 4, Switzerland, 4Instytut Fizyki Teoretycznej i Astrofizyki Uniwersytet, Gda´nski, PL-80-952 Gda´nsk, Poland July 2002 Abstract The study of quantum cryptography and quantum non-locality have traditionnally been based on two-level quantum systems (qubits). In this paper we consider a general- isation of Ekert's cryptographic protocol[20] where qubits are replaced by qutrits. The security of this protocol is related to non-locality, in analogy with Ekert's protocol. In order to study its robustness against the optimal individual attacks, we derive the infor- mation gained by a potential eavesdropper applying a cloning-based attack. Introduction Quantum cryptography aims at transmitting a random key in such a way that the presence of an eavesdropper that monitors the communication is revealed by disturbances in the transmission of the key (for a review, see e.g. [21]). Practically, it is enough in order to realize a crypto- graphic protocol that the key signal is encoded into quantum states that belong to incompatible bases, as in the original protocol of Bennett and Brassard[4].
    [Show full text]
  • Progress in Satellite Quantum Key Distribution
    www.nature.com/npjqi REVIEW ARTICLE OPEN Progress in satellite quantum key distribution Robert Bedington 1, Juan Miguel Arrazola1 and Alexander Ling1,2 Quantum key distribution (QKD) is a family of protocols for growing a private encryption key between two parties. Despite much progress, all ground-based QKD approaches have a distance limit due to atmospheric losses or in-fibre attenuation. These limitations make purely ground-based systems impractical for a global distribution network. However, the range of communication may be extended by employing satellites equipped with high-quality optical links. This manuscript summarizes research and development which is beginning to enable QKD with satellites. It includes a discussion of protocols, infrastructure, and the technical challenges involved with implementing such systems, as well as a top level summary of on-going satellite QKD initiatives around the world. npj Quantum Information (2017) 3:30 ; doi:10.1038/s41534-017-0031-5 INTRODUCTION losses that increase exponentially with distance, greatly limiting Quantum key distribution (QKD) is a relatively new cryptographic the secure key rates that can be achieved over long ranges. primitive for establishing a private encryption key between two For any pure-loss channel with transmittance η, it has been parties. The concept has rapidly matured into a commercial shown that the secure key rate per mode of any QKD protocol 5, 6, 7 technology since the first proposal emerged in 1984,1 largely scales linearly with η for small η. This places a fundamental because of a very attractive proposition: the security of QKD is not limit to the maximum distance attainable by QKD protocols based on the computational hardness of solving mathematical relying on direct transmission.
    [Show full text]
  • Practical Quantum Key Distribution Based on the BB84 Protocol
    Practical Quantum Key Distribution based on the BB84 protocol A. Ruiz-Alba, D. Calvo, V. Garcia-Muñoz, A. Martinez, W. Amaya, J.G. Rozo, J. Mora, J. Capmany Instituto de Telecomunicaciones y Aplicaciones Multimedia, Universitat Politècnica de València, 8G Building-access D-Camino de Vera s/n-46022 Valencia (Spain) Corresponding author: [email protected] Abstract relies on photon sources and the so-called pho- ton guns are far from ready. An alternative and This paper provides a review of the most impor- also a complementary approach to increase the tant and widely used Quantum Key Distribution bit rate is to make QKD systems work in paral- systems and then describes our recently pro- lel. This simple engineering approach becomes a posed scheme based on Subcarrier Multiplexing challenge when working with quantum systems: that opens the possibility of parallel Quantum The system should work in parallel but still rely Key Distribution. We report the first-ever ex- on just one source and its security should still be perimental implementation of parallel quantum guaranteed by the principles of quantum me- key distribution using this technique showing a chanics both when Alice prepares the photons maximum multiplexing gain. and when Bob “measures” the incoming states. At the same time the multiplexing technique Keywords: Optical fiber communications, quan- should be safe to Eve gaining any information. tum information, quantum key distribution, sub- carrier multiplexing. In this context, recent progress in the literature [4] remarks that photonics is a key enabling technology for implementing commercial QKD 1. Introduction systems to become a competitive technology in Information Security.
    [Show full text]
  • Quantum Key Distribution Protocols and Applications
    Quantum Key Distribution Protocols and Applications Sheila Cobourne Technical Report RHUL{MA{2011{05 8th March 2011 Department of Mathematics Royal Holloway, University of London Egham, Surrey TW20 0EX, England http://www.rhul.ac.uk/mathematics/techreports Title: Quantum Key Distribution – Protocols and Applications Name: Sheila Cobourne Student Number: 100627811 Supervisor: Carlos Cid Submitted as part of the requirements for the award of the MSc in Information Security at Royal Holloway, University of London. I declare that this assignment is all my own work and that I have acknowledged all quotations from the published or unpublished works of other people. I declare that I have also read the statements on plagiarism in Section 1 of the Regulations Governing Examination and Assessment Offences and in accordance with it I submit this project report as my own work. Signature: Date: Acknowledgements I would like to thank Carlos Cid for his helpful suggestions and guidance during this project. Also, I would like to express my appreciation to the lecturers at Royal Holloway who have increased my understanding of Information Security immensely over the course of the MSc, without which this project would not have been possible. Contents Table of Figures ................................................................................................... 6 Executive Summary ............................................................................................. 7 Chapter 1 Introduction ...................................................................................
    [Show full text]
  • Lecture 12: Quantum Key Distribution. Secret Key. BB84, E91 and B92 Protocols. Continuous-Variable Protocols. 1. Secret Key. A
    Lecture 12: Quantum key distribution. Secret key. BB84, E91 and B92 protocols. Continuous-variable protocols. 1. Secret key. According to the Vernam theorem, any message (for instance, consisting of binary symbols, 01010101010101), can be encoded in an absolutely secret way if the one uses a secret key of the same length. A key is also a sequence, for instance, 01110001010001. The encoding is done by adding the message and the key modulo 2: 00100100000100. The one who knows the key can decode the encoded message by adding the key to the message modulo 2. The important thing is that the key should be used only once. It is exactly this way that classical cryptography works. Therefore the only task of quantum cryptography is to distribute the secret key between just two users (conventionally called Alice and Bob). This is Quantum Key Distribution (QKD). 2. BB84 protocol, proposed in 1984 by Bennett and Brassard – that’s where the name comes from. The idea is to encode every bit of the secret key into the polarization state of a single photon. Because the polarization state of a single photon cannot be measured without destroying this photon, this information will be ‘fragile’ and not available to the eavesdropper. Any eavesdropper (called Eve) will have to detect the photon, and then she will either reveal herself or will have to re-send this photon. But then she will inevitably send a photon with a wrong polarization state. This will lead to errors, and again the eavesdropper will reveal herself. The protocol then runs as follows.
    [Show full text]
  • Quantum Cryptography: from Theory to Practice
    Quantum cryptography: from theory to practice Eleni Diamanti Laboratoire Traitement et Communication de l’Information CNRS – Télécom ParisTech 1 with Anna Pappa, André Chailloux, Iordanis Kerenidis Two-party secure communications: QKD Alice and Bob trust each other but not the channel Primitive for message exchange: key distribution BB84 QKD protocol: possibly the precursor of the entire field 2 Jouguet, Kunz-Jacques, Leverrier, Grangier, D, Nature Photon. 2013 3 Scarani et al, Rev. Mod. Phys. 2009 Two-party secure communications: QKD Information-theoretic security is possible and feasible! Theory adapted to experimental imperfections 2000: Using laser sources opens a disastrous security loophole in BB84 photon number splitting attacks Brassard, Lütkenhaus, Mor, Sanders, Phys. Rev. Lett. 2000 Solution: Decoy state BB84 protocol, and other Lo, Ma, Chen, Phys. Rev. Lett. 2004 2010: Quantum hacking: setup vulnerabilities not taken into account in security proofs Lydersen et al, Nature Photon. 2010 Solution: Exhaustive search for side channels and updated security proofs? Device independence? Measurement device independence? 4 Two-party secure communications: beyond QKD Alice and Bob do not trust each other Primitives for joint operations: bit commitment, coin flipping, oblivious transfer Until recently relatively ignored by physicists perfect unconditionally secure protocols are impossible, but imperfect protocols with information-theoretic security exist ideal framework to demonstrate quantum advantage protocols require inaccessible
    [Show full text]
  • Gr Qkd 003 V2.1.1 (2018-03)
    ETSI GR QKD 003 V2.1.1 (2018-03) GROUP REPORT Quantum Key Distribution (QKD); Components and Internal Interfaces Disclaimer The present document has been produced and approved by the Group Quantum Key Distribution (QKD) ETSI Industry Specification Group (ISG) and represents the views of those members who participated in this ISG. It does not necessarily represent the views of the entire ETSI membership. 2 ETSI GR QKD 003 V2.1.1 (2018-03) Reference RGR/QKD-003ed2 Keywords interface, quantum key distribution ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N° 348 623 562 00017 - NAF 742 C Association à but non lucratif enregistrée à la Sous-Préfecture de Grasse (06) N° 7803/88 Important notice The present document can be downloaded from: http://www.etsi.org/standards-search The present document may be made available in electronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at https://portal.etsi.org/TB/ETSIDeliverableStatus.aspx If you find errors in the present document, please send your comment to one of the following services: https://portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by written permission of ETSI.
    [Show full text]
  • Simulation of BB84 Quantum Key Distribution in Depolarizing Channel
    Proceedings of 14th Youth Conference on Communication Simulation of BB84 Quantum Key Distribution in depolarizing channel Hui Qiao, Xiao-yu Chen* College of Information and Electronic Engineering, Zhejiang Gongshang University, Hangzhou, 310018, China [email protected] Abstract: In this paper, we employ the standard BB84 protocol as the basic model of quantum key distribution (QKD) in depolarizing channel. We also give the methods to express the preparation and measurement of quantum states on classical computer and realize the simulation of quantum key distribution. The simulation results are consistent with the theoretical results. It was shown that the simulation of QKD with Matlab is feasible. It provides a new method to demonstrate the QKD protocol. QKD; simulation; depolarizing channel; data reconciliation; privacy amplification Keywords: [4] 1. Introduction 1989 . In 1993, Muller, Breguet, and Gisin demonstrated the feasibility of polarization-coding The purpose of quantum key distribution (QKD) [5] fiber-based QKD over 1.1km telecom fiber and and classical key distribution is consistent, their Townsend, Rarity, and Tapster demonstrated the difference are the realization methods. The classical key feasibility of phase-coding fiber-based QKD over 10km distribution is based on the mathematical theory of telecom fiber[6]. Up to now, the security transmission computational complexity, whereas the QKD based on [7] distance of QKD has been achieved over 120km . the fundamental principle of quantum mechanics. The At present, the study of QKD is limited to first QKD protocol is BB84 protocol, which was theoretical and experimental. The unconditionally secure proposed by Bennett and Brassard in 1984 [1].The protocol in theory needs further experimental verification.
    [Show full text]
  • Quantum Error Correcting Codes and the Security Proof of the BB84 Protocol
    Quantum Error Correcting Codes and the Security Proof of the BB84 Protocol Ramesh Bhandari Laboratory for Telecommunication Sciences 8080 Greenmead Drive, College Park, Maryland 20740, USA [email protected] (Dated: December 2011) We describe the popular BB84 protocol and critically examine its security proof as presented by Shor and Preskill. The proof requires the use of quantum error-correcting codes called the Calderbank-Shor- Steanne (CSS) quantum codes. These quantum codes are constructed in the quantum domain from two suitable classical linear codes, one used to correct for bit-flip errors and the other for phase-flip errors. Consequently, as a prelude to the security proof, the report reviews the essential properties of linear codes, especially the concept of cosets, before building the quantum codes that are utilized in the proof. The proof considers a security entanglement-based protocol, which is subsequently reduced to a “Prepare and Measure” protocol similar in structure to the BB84 protocol, thus establishing the security of the BB84 protocol. The proof, however, is not without assumptions, which are also enumerated. The treatment throughout is pedagogical, and this report, therefore, serves as a useful tutorial for researchers, practitioners and students, new to the field of quantum information science, in particular quantum cryptography, as it develops the proof in a systematic manner, starting from the properties of linear codes, and then advancing to the quantum error-correcting codes, which are critical to the understanding
    [Show full text]
  • Quantum Computing: Lecture Notes
    Quantum Computing: Lecture Notes Ronald de Wolf Preface These lecture notes were formed in small chunks during my “Quantum computing” course at the University of Amsterdam, Feb-May 2011, and compiled into one text thereafter. Each chapter was covered in a lecture of 2 45 minutes, with an additional 45-minute lecture for exercises and × homework. The first half of the course (Chapters 1–7) covers quantum algorithms, the second half covers quantum complexity (Chapters 8–9), stuff involving Alice and Bob (Chapters 10–13), and error-correction (Chapter 14). A 15th lecture about physical implementations and general outlook was more sketchy, and I didn’t write lecture notes for it. These chapters may also be read as a general introduction to the area of quantum computation and information from the perspective of a theoretical computer scientist. While I made an effort to make the text self-contained and consistent, it may still be somewhat rough around the edges; I hope to continue polishing and adding to it. Comments & constructive criticism are very welcome, and can be sent to [email protected] Attribution and acknowledgements Most of the material in Chapters 1–6 comes from the first chapter of my PhD thesis [71], with a number of additions: the lower bound for Simon, the Fourier transform, the geometric explanation of Grover. Chapter 7 is newly written for these notes, inspired by Santha’s survey [62]. Chapters 8 and 9 are largely new as well. Section 3 of Chapter 8, and most of Chapter 10 are taken (with many changes) from my “quantum proofs” survey paper with Andy Drucker [28].
    [Show full text]
  • Practical Quantum Cryptography and Possible Attacks
    Practical Quantum cryptography and possible attacks Alex Ling, Ilja Gerhardt, Antia Lamas-Linares, Christian Kurtsiefer 24C3 , Berlin supported by DSTA and Ministry of Education Overview Cryptography and keys What can quantum crypto do? BB84 type prepare & send implementations Quantum channels Entanglement and quantum cryptography Timing channel attack A side channel-tolerant protocol: E91 revisited Secure Communication symmetric encryption Alice key key Bob 4Kt$jtp 5L9dEe0 I want I want a coffee a coffee insecure channel ─ One time pad / Vernam Cipher: secure for one key bit per bit ─ 3DES, AES & friends: high throughput asymmetric encryption Bob key 2 n, p, q Alice key 1 4Kt$jtp 5L9dEe0 I want I want a coffee a coffee insecure channel RSA, ellipt. curves: simple, secure if you can not get key 1 from key 2 What is wrong with RSA? Bob key 2 n, p, q Alice key 1 4Kt$jtp 5L9dEe0 I want I want a coffee a coffee insecure channel ....if you can not get key 1 from key 2 take dedicated hardware find a clever algorithm ...and you get take a quantum computer the key! take some time..... Classical Key Distribution trusted courier Alice key key Bob tamper-safe devices key key Alice Bob Quantum Key Distribution 1 “ trusted ” courier.... Alice key key Bob information is carried by physical objects: hole in paper, ink, magnetic domain, electrical charge, dye spot, radio wave, light pulse,... classical physics: copying is possible (----> insecure) Photons carry information polarization for 0 and 1: vertical horizontal use polarizing beam splitter to recover 0 or 1: Quantum mechanics...
    [Show full text]
  • A Scalable Simulation of the BB84 Protocol Involving Eavesdropping
    A Scalable Simulation of the BB84 Protocol Involving Eavesdropping Mihai-Zicu Mina1[0000−0002−9793−9203] and Emil Simion2[0000−0003−0561−3474] 1 Faculty of Automatic Control and Computers, University POLITEHNICA of Bucharest, 060042 Bucharest, Romania mihai [email protected] 2 Center for Research and Training in Innovative Techniques of Applied Mathematics in Engineering, University POLITEHNICA of Bucharest, 060042 Bucharest, Romania [email protected] Abstract. In this article we present the BB84 quantum key distribu- tion scheme from two perspectives. First, we provide a theoretical dis- cussion of the steps Alice and Bob take to reach a shared secret using this protocol, while an eavesdropper Eve is either involved or not. Then, we offer and discuss two distinct implementations that simulate BB84 using IBM's Qiskit framework, the first being an exercise solved dur- ing the \IBM Quantum Challenge" event in early May 2020, while the other was developed independently to showcase the intercept-resend at- tack strategy in detail. We note the latter's scalability and increased output verbosity, which allow for a statistical analysis to determine the probability of detecting the act of eavesdropping. Keywords: Quantum key distribution · BB84 · Intercept-resend attack · Qiskit · Simulation 1 Introduction The process of establishing a shared key is an essential operation in modern cryptographic tasks and the distribution of such key between the communicating parties can be ensured by using the Diffie-Hellman protocol or RSA. However, the underlying security of these schemes is conditioned by the intractability of cer- tain mathematical problems, an aspect that advanced quantum computers can overcome.
    [Show full text]