0%

Explore the potential of quantum information processing and understand the state of a quantum system with this practical guide

Key Features

  • Get well-versed with quantum information processing using Python
  • Understand the basics of quantum cryptography by implementing quantum key distribution protocols in Python
  • Implement well-known games such as the CHSH and GHZ games using quantum strategies and techniques

Book Description

Quantum computation is the study of a subclass of computers that exploits the laws of quantum mechanics to perform certain operations that are thought to be difficult to perform on a non-quantum computer.

Hands-On Quantum Information Processing with Python begins by taking you through the essentials of quantum information processing to help you explore its potential. Next, you'll become well-versed with the fundamental property of quantum entanglement and find out how to illustrate this using the teleportation protocol. As you advance, you'll discover how quantum circuits and algorithms such as Simon's algorithm, Grover's algorithm, and Shor's algorithm work, and get to grips with quantum cryptography by implementing important quantum key distribution (QKD) protocols in Python. You will also learn how to implement non-local games such as the CHSH game and the GHZ game by using Python. Finally, you'll cover key quantum machine learning algorithms, and these implementations will give you full rein to really play with and fully understand more complicated ideas.

By the end of this quantum computing book, you will have gained a deeper understanding and appreciation of quantum information.

What you will learn

  • Discover how quantum circuits and quantum algorithms work
  • Familiarize yourself with non-local games and learn how to implement them
  • Get to grips with various quantum computing models
  • Implement quantum cryptographic protocols such as BB84 and B92 in Python
  • Explore entanglement and teleportation in quantum systems
  • Find out how to measure and apply operations to qubits
  • Delve into quantum computing with the continuous-variable quantum state
  • Get acquainted with essential quantum machine learning algorithms

Who this book is for

This book is for developers, programmers, or undergraduates in computer science who want to learn about the fundamentals of quantum information processing. A basic understanding of the Python programming language is required, and a good grasp of math and statistics will be useful to get the best out of this book.

Table of Contents

  1. Hands-On Quantum Information Processing with Python
  2. Why subscribe?
  3. Contributors
  4. About the author
  5. About the reviewer
  6. Packt is searching for authors like you
  7. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
    4. Download the example code files
    5. Download the color images
    6. Conventions used
    7. Get in touch
    8. Reviews
  8. Section 1: Fundamentals of Quantum Information Processing
  9. Chapter 1: Getting Started with Quantum Information Processing
    1. Providing an overview of QIP
    2. Subfields of QIP
    3. Understanding the rationale for choosing Python for QIP
    4. Installing Python and other packages
    5. pipenv and creating the environment
    6. Summary
    7. Further reading
  10. Chapter 2: Quantum States, Operations, and Measurements
    1. Technical requirements
    2. An introduction to linear algebra
    3. Exploring vector spaces
    4. Understanding the properties of a vector
    5. Understanding the properties and types of matrices
    6. Understanding the properties of a tensor product
    7. Exploring the history of quantum information processing
    8. Understanding the qubit
    9. Qubit operations
    10. Quantum measurement
    11. Types of measurement
    12. Dealing with multiple qubits
    13. Quantum gates on multiple qubit systems
    14. CNOT gate
    15. Swap gate
    16. Three-qubit gates
    17. The quantum no-cloning theorem
    18. Cluster-based quantum computing
    19. Adiabatic quantum computing
    20. Hybrid quantum computing model
    21. Summary
    22. Further reading
  11. Section 2: Quantum Computers and Quantum Algorithms
  12. Chapter 3: Entanglement and Quantum Teleportation
    1. Technical requirements
    2. Exploring the history of quantum entanglement
    3. Understanding the Bell theorem and CHSH inequality
    4. Understanding composite systems and entanglement
    5. Understanding the CNOT gate – the entangling gate
    6. Understanding Bell states
    7. Understanding the entanglement of more than two quantum states
    8. Greenberger-Horne-Zeilinger state (GHZ state)
    9. The W state
    10. Understanding entanglement as a resource – quantum teleportation
    11. Quantum teleportation
    12. Summary
    13. Further reading
  13. Chapter 4: Working with Quantum Circuits
    1. Technical requirements
    2. Introducing classical logic gates
    3. Introducing single-qubit and multi-qubit gates
    4. Introducing quantum circuits
    5. Exploring quantum error correction
    6. Exploring superdense coding
    7. Summary
    8. Further reading
  14. Chapter 5: Quantum Algorithms
    1. Technical requirements
    2. Introducing Deutsch's algorithm
    3. Exploring the Deutsch-Josza algorithm
    4. Exploring the Bernstein-Vazirani algorithm
    5. Introducing quantum Fourier transform and quantum phase estimation
    6. Quantum Fourier transform (QFT)
    7. Quantum phase estimation
    8. Introducing Simon's algorithm
    9. Exploring Shor's algorithm
    10. Exploring Grover's algorithm
    11. Summary
    12. Further reading
  15. Section 3: Deep Diving into Quantum Information
  16. Chapter 6: Non-Local Quantum Games
    1. Technical requirements
    2. Understanding classical game theory
    3. A brief history of game theory
    4. Leaning about strategies in game theory
    5. Exploring cooperative and non-cooperative games
    6. Exploring zero-sum and non-zero-sum games
    7. Understanding the prisoner's dilemma
    8. Understanding the matching pennies game
    9. Exploring the rock-paper-scissors game
    10. Understanding quantum game theory
    11. Understanding non-local quantum games
    12. Exploring quantum strategies in non-local quantum games
    13. Understanding the CHSH game
    14. Understanding the GHZ game
    15. Understanding the XOR game
    16. Summary
    17. Further reading
  17. Chapter 7: Quantum Cryptography
    1. Technical requirements
    2. Introducing classical cryptography
    3. A history of classical cryptography
    4. Caesar's cipher
    5. The one-time pad
    6. A history of modern cryptography
    7. Diffie-Hellmann key exchange protocol
    8. Cryptographic primitives
    9. Quantum cryptography
    10. A history of quantum cryptography
    11. Quantum cryptography primitives
    12. Quantum key distribution protocols
    13. Post-quantum cryptography
    14. The NewHope key exchange scheme
    15. The SPHINCS+ digital signature scheme
    16. Summary
    17. Further reading
  18. Chapter 8: Quantum Machine Learning
    1. Technical requirements
    2. Understanding conventional (classical) machine learning
    3. The three main categories of machine learning
    4. Exploring artificial neural networks
    5. Exploring SVMs
    6. Understanding quantum machine learning
    7. Data encoding
    8. Quantum SVMs
    9. Quantum variational classifier
    10. Summary
    11. Further reading
  19. Chapter 9: Continuous-Variable Quantum Information Processing
    1. Technical requirements
    2. Introducing continuous-variable quantum information processing
    3. Understanding the theory of continuous-variable quantum systems
    4. Exploring continuous-variable quantum teleportation
    5. Understanding continuous-variable quantum game theory
    6. Continuous-variable quantum key distribution
    7. Understanding continuous-variable quantum machine learning
    8. Summary
    9. Further reading
  20. Chapter 10: Current Trends in Quantum Information Processing
    1. Exploring current trends in quantum cryptography
    2. Exploring current trends in quantum communication
    3. Understanding current trends in quantum algorithm design
    4. Exploring current trends in quantum machine learning
    5. Understanding current trends in quantum computing hardware technologies
    6. Exploring the future prospects of QIP
    7. Summary
    8. Further reading
  21. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think
3.145.186.173