/Mastering-Quantum-Computing-with-IBM-QX

Mastering Quantum Computing with IBM QX, published by Packt

Primary LanguageJupyter NotebookMIT LicenseMIT

Mastering Quantum Computing with IBM QX

Mastering Quantum Computing with IBM QX

This is the code repository for Mastering Quantum Computing with IBM QX, published by Packt.

Learn quantum computing by implementing quantum programs on IBM QX and be at the forefront of the next revolution in computation

What is this book about?

Quantum computing is set to disrupt the industry. IBM Research has made quantum computing available to the public for the first time, providing cloud access to IBM QX from any desktop or mobile device. Complete with cutting-edge practical examples, this book will help you understand the power of quantum computing in the real world.

This book covers the following exciting features:

  • Study the core concepts and principles of quantum computing
  • Uncover the areas in which quantum principles can be applied
  • Design programs with quantum logic
  • Understand how a quantum computer performs computations
  • Work with key quantum computational algorithms including Shor's algorithm and Grover's algorithm Develop the ability to analyze the potential of quantum computing in your industry

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter01.

The code will look like the following:

from qiskit.tools.visualization import plot_histogram
plot_histogram(job_exp.result().get_counts(qc))

To setup book code and Python virtual environment

Run the following commands step wise to set up Python virtual environment:

  • git clone https://github.com/PacktPublishing/Mastering-Quantum-Computingwith-IBM-QX.git
  • cd Mastering-Quantum-Computing-with-IBM-QX
  • python3 -m venv book
  • source book/bin/activate
  • pip install -r requirements.txt
  • pip install ipykernel
  • ipython kernel install --user --name=bookkernel

Note: if Python is a version of Python 3 on your system, you may need to/want to type Python instead of Python3 above

To run a jupyter notebook from commandline, exporting results to Markdown

Use the following command to run Jupyter Notebook:

jupyter notebook

Navigate to your notebook in the browser. Then go to Kernel | bookkernel in the notebook's UI.

Following is what you need for this book: If you're a developer or data scientist interested in learning quantum computing, this book is for you. You're expected to have basic understanding of the Python language, but knowledge of physics, quantum mechanics, or advanced mathematics is not required.

With the following software and hardware list you can run all code files present in the book (Chapter 1-).

Software and Hardware List

Chapter Software required OS required
All Python 3.4+ Cross platform
All qiskit 0.7.0 Cross platform
All numpy 1.16.0 Cross platform
All matplotlib 3.0.2 Cross platform
8 pygame 1.9.4 Cross platform

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Dr. Christine Corbett Moran is a researcher and engineer at NASA JPL, specializing in cybersecurity. She also serves as a guest scientist at Caltech, specializing in astrophysics. Her research spans fundamental physics and computer science, and she has published peer-reviewed papers on astrophysics, astronomy, artificial intelligence, and quantum computing, garnering thousands of citations. Her software products range from iOS applications to quantum computing simulators and have received millions of downloads. She has a PhD and master's in Astrophysics from the University of Zurich, and a B.S. in Computer Science and Engineering, and a B.S. in Physics from MIT. She can be found on Twitter at @corbett.

Suggestions and Feedback

Click here if you have any feedback or suggestions.