Abstract
We demonstrate an efficient implementation of the Kuang and Barbeau’s Quantum Permutation pad (QPP) symmetric cryptographic algorithm with Qiskit Runtime, a new architecture offered by IBM Quantum that streamlines quantum computations. We have implemented a Python class QPP and template Jupyter notebooks with Qiskit code for encrypting and decrypting with n-qubit QPP any text file in UTF-16 format or any image file in .png format. We offer the option of running either a quantum circuit with n qubits, or an alternate one with 2n qubits which only uses swap gates and has a circuit depth of O(n). It is inherently extremely fast and could be run efficiently on currently available noisy quantum computers. Our implementation leverages the new Qiskit Sampler primitive in localized mode which dramatically improves performance. We offer a highly efficient classical implementation which performs permutation gate matrix multiplication with information state vectors. We illustrate the use with two agents Alice and Bob who exchange a text file and an image file using 2-qubit QPP and 4-qubit QPP.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Kuang, R., Bettenburg, N.: Shannon perfect secrecy in a discrete Hilbert space. In: Proceedings of the IEEE International Conference on Quantum Computing and Engineering (QCE), pp. 249–255 (2020). https://doi.org/10.1109/QCE49297.2020.00039
Kuang, R., Perepechaenko, M.: Quantum encryption with quantum permutation pad in IBMQ systems. EPJ Quantum Technol. 9, 26 (2022). https://doi.org/10.1140/epjqt/s40507-022-00145-y
Perepechaenko, M., Kuang, R.: Quantum encryption and decryption in IBMQ systems using quantum permutation pad. J. Commun. 17(12), 972–978 (2022). https://doi.org/10.12720/jcm.17.12.972978
Introducing new Qiskit Runtime capabilities—and how our clients are integrating them into their use. https://research.ibm.com/blog/qiskit-runtime-capabilities-integration
Qiskit Runtime IBM Client. https://github.com/Qiskit/qiskit-ibm-runtime
Fisher–Yates shuffle, Wikipedia. https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
Qiskit Terra API Reference, Primitives, Sampler. https://qiskit.org/documentation/stubs/qiskit.primitives.Sampler.html
Qiskit Terra API Reference, Primitives, Source code for qiskit.primitives.sampler. https://qiskit.org/documentation/_modules/qiskit/primitives/sampler.html#Sampler
Qiskit IBM runtime, Configure error mitigation, Advanced resilience options. https://github.com/Qiskit/qiskit-ibm-runtime/blob/ab7486d6837652d54cb60b83cfaa9165f5d0484c/docs/how_to/error-mitigation.rst#advanced-resilience-options
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Chancé, A. (2024). Quantum Permutation Pad with Qiskit Runtime. In: Femmam, S., Lorenz, P. (eds) Recent Advances in Communication Networks and Embedded Systems. ICCNT 2022. Lecture Notes on Data Engineering and Communications Technologies, vol 205. Springer, Cham. https://doi.org/10.1007/978-3-031-59619-3_12
Download citation
DOI: https://doi.org/10.1007/978-3-031-59619-3_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-59618-6
Online ISBN: 978-3-031-59619-3
eBook Packages: EngineeringEngineering (R0)