Abstract
The next generation of Quantum Internet of Things (QIoT) has the potential to revolutionize various sectors, including smart homes, health-care, and smart cities, by enabling more sophisticated and interconnected systems. These applications incorporate advanced features, such as autonomous decision-making based on Quantum Artificial Intelligence and Machine Learning (QAI/ML) and context-aware functionality. The security of the data in these applications relies on traditional cryptographic techniques, which, however, face a growing threat due to the significant advancements in quantum computing, especially with the Shor's algorithm. This algorithm poses a substantial risk of breaking conventional cryptographic methods within a feasible timeframe. To address these emerging security challenges in the quantum realm, we propose a Quantum Key Distribution (QKD) based on the BB84 protocol. This approach aims to provide robust authentication using certificates through a classical channel and secure quantum key exchange via a quantum channel in a public environment. The proposed QKD scheme is implemented using a client-server model in Python and Qiskit, demonstrating its practicality in real-world applications. The obtained results showcase the successful establishment of a secure session key between IoT smart (sensor) devices and gateway nodes, effectively mitigating potential threats such as eavesdropping.