Skip to main content

Quantum Permutation Pad with Qiskit Runtime

  • Conference paper
  • First Online:
Recent Advances in Communication Networks and Embedded Systems (ICCNT 2022)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 139.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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

  2. 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

    Article  Google Scholar 

  3. 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

  4. Introducing new Qiskit Runtime capabilities—and how our clients are integrating them into their use. https://research.ibm.com/blog/qiskit-runtime-capabilities-integration

  5. Qiskit Runtime IBM Client. https://github.com/Qiskit/qiskit-ibm-runtime

  6. Fisher–Yates shuffle, Wikipedia. https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle

  7. Qiskit Terra API Reference, Primitives, Sampler. https://qiskit.org/documentation/stubs/qiskit.primitives.Sampler.html

  8. Qiskit Terra API Reference, Primitives, Source code for qiskit.primitives.sampler. https://qiskit.org/documentation/_modules/qiskit/primitives/sampler.html#Sampler

  9. 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

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alain Chancé .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics