Implementation of QKD BB84 Protocol in Qiskit
Muhammad Haroon Saeed, Hassan Sattar, Muhammad Hanif Durad, Z Haider
Abstract
Quantum cryptography is a practical method of secret communication that guarantees the foolproof secrecy. This paper presents the simulation for implementation of a Quantum Key Distribution (QKD) protocol BB84, the pioneering, and most basic and fundamental protocol. We use the quantum computing platform developed by IBM named as Qiskit for the simulation of the BB84 protocol, implementing it with and without an Eve eavesdropper for studying the relative outcomes. Recently, Qiskit is globally very popular for quantum simulations because it provide us the opportunity to simulate quantum logic circuit on classical computer as well as real quantum computers owned by IBM. As per our best knowledge, there is no any proposal published for quantum circuit by anyone for BB84 QKD. We performed experimentation on local as well as cloud simulators: 1) The "qasm_simulator" was used as local machine simulator, and 2) The "ibmqx2" simulator was used as IBM cloud quantum simulator. The outcome of local as well as IBM simulator with and without an eavesdropper, between the two parties involved in key exchange were recorded and presented in the results section.