Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Learn Quantum Computing with Python and IBM Quantum
Learn Quantum Computing with Python and IBM Quantum

Learn Quantum Computing with Python and IBM Quantum: Write your own practical quantum programs with Python , Second Edition

Arrow left icon
Profile Icon Robert Loredo
Arrow right icon
$19.99 per month
Paperback Feb 2025 420 pages 2nd Edition
eBook
€15.99 €26.99
Paperback
€22.99 €33.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Robert Loredo
Arrow right icon
$19.99 per month
Paperback Feb 2025 420 pages 2nd Edition
eBook
€15.99 €26.99
Paperback
€22.99 €33.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
€15.99 €26.99
Paperback
€22.99 €33.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. €18.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Learn Quantum Computing with Python and IBM Quantum

Creating Quantum Circuits with IBM Quantum Composer

In this chapter, you will learn how to use the IBM Quantum Composer and what each of its component functions are with respect to creating and running experiments. The Composer will help you to visually create a quantum circuit via its built-in UI, which in turn will help you to visually conceptualize some of the basic principles of quantum mechanics used to optimize your experiments. You will also learn how to preview the results of each experiment and create your first quantum circuit.

The following topics will be covered in this chapter:

  • Getting started with the Quantum Composer
  • Creating a quantum circuit with the Quantum Composer

By the end of this chapter, you will know how to create a quantum circuit using the Composer, and create experiments that simulate classic gates and quantum gates. You will also have learned where to examine the various results of your experiments, such as state vectors and their probabilities. This will help you understand how some quantum gate operations affect each qubit.

Technical requirements

In this chapter, some basic knowledge of computing is assumed, such as understanding the basic gates of a classic computing system.

Here is the full source code used throughout the book: https://github.com/PacktPublishing/Learning-Quantum-Computing-with-Python-and-IBM-Quantum-Second-Edition

Getting started with the IBM Quantum Composer

In this section, we will review the IBM Quantum Composer (hereafter referred to as simply the Composer) layout so that you can understand its functionality and behavior when creating or editing quantum circuits. Here, you will also create a few circuits, leveraging the visualization features from the Composer to make it easy for you to understand how quantum circuits are created. So, let’s start at the beginning: by launching the Composer.

Launching the Composer

To create a quantum circuit, let’s first start by opening the Composer. To open the Composer view, click on the Composer button located at the top of the IBM Quantum Learning (https://learning.quantum.ibm.com) application as shown in the following screenshot:

Figure 2.1: Launch the Composer

Now that you have the Composer open, let’s take a tour of what each component of the Composer editor provides you with.

Familiarizing yourself with the Composer components

In this section, we will get familiar with each of the components that make up the Composer. These allow you to do things such as visually inspect the results of your experiments in a variety of ways. Visualizing the construction of the quantum circuit will help you conceptualize how each quantum gate affects a qubit.

Understanding the Composer

In this section, we will review the various functionalities available to ensure you have a good understanding of all the different features available to you.

In Figure 2.2, you can see the landing page of the Composer view:

A screenshot of a computer

Description automatically generated

Figure 2.2: The IBM Quantum Composer view

From the preceding screenshot, you can see the Composer view, containing three qubits (q[0], q[1], and q[2]). This might not look the same when you launch the Composer for the first time. If you would like to add or remove qubits, you can simply select a qubit, for example q[1], by clicking on it, and selecting the plus icon or the trash icon, which will appear over the specific qubit.

If any of the views are not visible, this just means they have not been enabled. You can enable them by selecting the View pull-down menu located across the top of the Composer, hovering over Panels, and selecting the views that are not visible: for example, the Statevector view.

To reproduce the views used throughout this chapter, simply add or remove the qubits until you only have three qubits left. You can add/remove by clicking on the qubit label. The default is three.

Now that you have your views set up, let’s continue to the Composer view itself. In the following screenshot, you can see a series of gates and operations:

Graphical user interface, application, Teams

Description automatically generated

Figure 2.3: Gates and operations

Each of the components shown has a specific function or operation that acts upon the qubit(s), which we will cover in detail in Chapter 6, Understanding Quantum Logic Gates.

As we can see in the following screenshot, we also have the circuit editor itself, which is the part of the Composer where we will create our quantum circuit by placing various gates and operations:

Application

Description automatically generated with low confidence

Figure 2.4: Circuit editor

As you can see from the preceding screenshot, the default circuit includes three qubits (though this might change over time) each of which is labeled with a q, and the index appended in order from left to right (in this case, q[2], q[1], and q[0]). This will be significant when we want to map the results from our quantum circuit. Each qubit is initialized to an initial state of 0 before running the experiment.

The last line is the classical bits, which are what we will map each qubit to so that when we complete running our quantum circuit, the results are then passed to the classical bits according to the mapping. By default, the mapping from qubit to bit is done based on the index of the qubit. For example, q0 measurement results will be mapped to c0 via the measurement operator, which we will see when we run our quantum circuit. You can add or remove classical bits in the same manner as qubits.

Next to the qubit you will see a line, which looks like a wire running out from each qubit, in the circuit editor:

Chart

Description automatically generated with low confidence

Figure 2.5: Qubits and circuit wires

These lines are where you will be creating a circuit by placing various gates, operations, and barriers on them. This circuit has three wires, each of which pertains to one of the three qubits on the quantum computer. The reason it is called a Composer is primarily that these lines look very similar to a music staff used by musicians to compose their music. In our case, the notes on the music staff are represented by the gates and operations used to ultimately create a quantum algorithm.

In the next section, we will review the various options you have available to customize the views of the Composer. This will allow you to ensure that you can only see what you want to see while creating your quantum circuit.

Customizing your views

Continuing with our Composer tour, at the top of the Composer view are the circuit menu options that allow you to save your circuit, clear the circuit, or share your quantum circuit:

Figure 2.6: The Composer menu options

First, we will cover how to save your circuit. To do this, simply click on the default text at the top left of the Composer where it currently reads Untitled circuit, and type in any title you wish. Ideally, select a name that is associated with the experiment. In this case, let’s call it MyFirstCircuit and save it by either hitting the Enter key or clicking the checkmark icon to the right of the title, as shown below:

A screenshot of a phone

Description automatically generated

Figure 2.7: Renaming the circuit

Across the top of the Composer, you will see a list of drop-down menu options. The menu items in the preceding screenshot have the following options:

  • File provides options to create and open circuits, as well as copy, export, share, or delete the current circuit.
  • Edit allows you to manage your circuit and clear gates and operators.
  • View enables the various view options, which we look at in the following sections.

Let’s now look at each of the various views in the following sections.

The Graphical Editor view

The Graphical Editor view contains a few components used to create quantum circuits:

Graphical user interface, text, application, email

Description automatically generated

Figure 2.8: The Graphical Editor view options

The components include the following:

  • Circuit Composer: UI components used to create quantum circuits.
  • Operations: A list of available drag-and-drop gates and operators to generate a quantum circuit.
  • Options: The ability to set up the alignment and turn on the Inspect feature, which allows you to step through each gate and operation as you would to debug your code on an IDE or browser.
  • Disk: A disk that is located at the end of the circuit to serve as a visual representation of each qubit as you add gates and operations.

Now that we know where we can create a quantum circuit, let’s move on to displays, which provide various ways to visualize the results of our quantum circuit.

The Statevector view

The Statevector view allows you to preview the state vector results, which is to say the quantum state result of your quantum circuit. The state vector view presents the computational basis states of the quantum circuit in a few different ways. To simplify the view, I have removed all but one qubit so it is easier to read the values.

You can do the same if you wish, otherwise your x axis may have more than just the two states of 0 and 1, as shown in the following figures:

Chart

Description automatically generated

Figure 2.9: The Statevector view

First, we see the Amplitude bar graph, which represents the amplitude of the computational basis states. In this case, as mentioned earlier, for simplicity we have reduced the number of qubits to just one qubit, for which there are two computational basis states, 0 and 1. These are represented along the x axis. The value of the amplitude of each basis state is represented along the y axis. In this case, since we do not have any gates or operators on our circuit, the state vector representation is that of the initial (ground) state. The initial state indicates that all qubits are set to the 0 (zero) state, indicated by an amplitude value of 1.

At the bottom of the Statevector view we see the Output state representing the complex value of each computational basis state. In this case since we are in the initial state, we see the 0 state at 1 + 0j and the 1 state at 0 + 0j.

To the bottom left is the phase wheel. The phase wheel is a color visual representation of the phase for each basis state, which has a range between 0 and 2π. Since we have not applied any phase gates, we see the default phase of 0 represented by the color blue. As you apply phase shifts to each qubit, the color of the bar will update according to the color representation of the phase.

We will cover what phases are in more detail in later chapters, but for now just know where they are and how they are indicated, both by value in the state vector results and in the phase wheel by color.

The state vector information is just one of the visual representations of your quantum circuit. There are a couple of others we want to visit before moving on.

The Probabilities view

The next view is the Probabilities view. This view presents the expected probability result of the quantum circuit (with the addition of a single measurement operator to the qubit). As mentioned in the previous description, and illustrated in the following screenshot, since we do not have any operators on the circuit, the results shown are all in the initial state of 0:

Chart, bar chart

Description automatically generated

Figure 2.10: The Probabilities view

The probability view is a general representation of the results based on expected values, not the actual results you will get from a quantum system. This view currently represents what the Composer is calculating classically as we have not yet run this circuit on an actual quantum computer. The results you will see as we create this circuit are computed by the classical system and not by a quantum system. The results from a quantum system are received after we send the completed circuit to run.

The Q-sphere view

Finally, the last of the state visualizations we must review is the Q-sphere view. The Q-sphere looks similar to a Bloch sphere, which is used to represent the statevector of the current state of a qubit. However, the Bloch sphere does have some limitations, particularly that it can only represent the state of a single qubit. On the other hand, the Q-sphere can be used to visually represent the state information of a single qubit or multiple qubits at once in one sphere, including the phase information. The following screenshot shows a representation of a circuit with three qubits, all of which are in the initial state:

Diagram

Description automatically generated

Figure 2.11: The Q-sphere view

The Q-sphere view has two components; the first is the Q-sphere itself, which represents the state vector of the multi-qubit state, represented by a vector that originates at the center of the sphere. At the end of the vector is a smaller sphere, which represents the probability of the state by the radius of the top that lies on the surface of the Q-sphere. The states represented by these small spheres are visible when hovered over. The previous screenshot illustrates the three qubits in an initial state of , with a probability of 1, and a phase angle of 0.

Those fancy symbols around the numbers are referred to as Kets; we will learn about them later in this book. For now, just think of them as labels to differentiate between the number 0 and the quantum state |0〉, for example.

The second component is located at the bottom left, which is the legend that describes the phase of the states. Since the small sphere represents the phase angle of 0, the color of the sphere is blue, which is the same as what the legend indicates for the phase of 0. If the state had a phase value of π, then the color of the sphere would be red.

There are various options here; on the top right you can see an ellipsis that you can select, providing various options to download visualizations in different image formats, and to move the view to the left or right. At the bottom right you can select whether to enable the state or phase angle information of the Q-sphere.

OK, we went through all of the various views and components that make up the Composer view, so now let’s go to the fun part and start creating our first quantum circuit!

Creating a quantum circuit with the Quantum Composer

Now that we know where everything is in the Composer, we will create our first quantum circuit. This will help you to get a better understanding of how all these components work together, and it will show you how these components provide insights such as the current state and its probabilistic estimation as you build your first quantum experiment.

Building a quantum circuit with classical bit behaviors

We are all familiar with some of the basic classic bit gates such as NOT, AND, OR, and XOR. The behavior that these classic gates perform on a bit can be reproduced on a quantum circuit using quantum gates. Our first experiment will cover these basic building blocks, which will help you to understand the correlation between quantum and classical algorithms.

Our first experiment will be to simulate a classical gate, specifically a NOT gate. The NOT gate is used to change the value of the qubit, in this case from the |0〉 state to the |1〉 state, and vice versa. We will cover details on how this gate operates on qubits in Chapter 6, Understanding Quantum Logic Gates.

To simulate a NOT gate on a quantum circuit, follow these steps:

  1. From the open Composer editor that you previously created and titled MyFirstCircuit, reduce the number of qubits and classical bits down to just one of each if you have not already. This will simplify the visualization of the results for us. You may have to reopen the other views such as qsphere. to get the updated changes.
  2. Next, click and drag the NOT gate, which is visually represented by the symbol, from the list of gates down onto the first qubit, as shown in the following screenshot:
Graphical user interface, application

Description automatically generated

Figure 2.12: Add an X (NOT) gate to the first qubit

  1. Next, click and drag the measurement operation onto the first qubit, q0, just after the NOT gate:
Graphical user interface, application, Word

Description automatically generated

Figure 2.13: Add a measurement operator to the first qubit

  1. By taking a measurement of the qubit and having its value sent out to the pertaining classic bit, we are essentially reading the state of the qubit. You can see this by the connecting arrow between the measurement operator and the classical bit. It also includes the index of the classical bit, the result of which the measurement operator will write out, which in this case is the bit in position 0.

Note that the result bits, similar to the qubits, will be ordered from left to right: c2c1c0, for example.

A measurement occurs when you want to observe the state of the qubit. What this means is that we will collapse the state of the qubit to either a 0 or a 1. In this example, it is straightforward that when we measure the qubit after the NOT gate, the reading will be 1. This is because since the initial state is set to 0, applying a NOT gate will flip it from 0 to 1.

Before we run this experiment, let’s note a few things. First, note that the classic bits are all on one line. This is mostly to save space. Next is to note that all the views are updated as we add gates and operators. As mentioned earlier, this is the system computing these classically to provide us with an ideal result. We have not yet specified which quantum computer to run this circuit on, hence the results you are seeing are what the classical system is computing and not real-time results from a quantum computer.

  1. Select the Setup and run button located at the top right of the Composer view. This will display the run settings, illustrated as follows:

    A screenshot of a computer

Description automatically generated

    Figure 2.14: The run settings view

  2. The run dialog prompts you to take two steps:
    • First, select which quantum system you would like to run the experiment on. Select any of the options you wish to run. In this example, we’ll select ibm_brisbane.
    • The second step first allows you to select the Provider. There are different providers—ibm-q/open/main is for open free quantum devices, and if you are a member of the IBM Quantum Network then you’ll have a provider that assigns you to the available premium quantum devices.

    For now, leave it at the default setting. This step also prompts you to select a number of Shots of the quantum circuit you wish to run. What this means is how many times you wish the quantum circuit to run during your experiment to obtain a reliable overall result. For now, let’s set it to 8000.

  3. Now that you have selected your run options, let’s run the circuit. Click Run on ibm_brisbane. If you selected a different device, it will indicate it accordingly.

Once your experiment begins, you should see an entry of this experiment in the Composer jobs view in the left panel on the Composer view, indicating that your experiment is Pending. While the job is Pending, it will display the status of the job, accordingly.

Note that depending on how busy the selected device is, you may have to wait for some time for your job to complete.

Once completed, you will see the status for the specified job as Completed, illustrated as follows:

Graphical user interface, text, application, chat or text message

Description automatically generated

Figure 2.15: The Composer jobs view displaying the job status for the selected circuit

  1. Upon completion, open your experiment from the list by clicking on the job. This opens the Jobs results view:
Graphical user interface, text, application

Description automatically generated

Figure 2.16: The Jobs results view

  1. Once you have the job opened, you can see some basic information about the job, such as the job ID across the top, followed by the date and time the job was completed, the backend it was run on, and three views that contain details about the job itself, such as the status, details, and results. You will also see a button at the top right that will provide the same information in the views, only in a separate window. Let’s review the views next.

First, we have the Status timeline view, as illustrated in Figure 2.17:

A screenshot of a phone

Description automatically generated

Figure 2.17: The jobs status timeline view

Here you can see the timeline that represents the time it took to complete your circuit. Each step represents the different processes that your circuit completes as it is executed on the quantum system:

Creatinged: The date and time the job instance was added to the queue to run on a specific quantum system.

In queue: The length of time your job was in the queue prior to running on the quantum system.

Running: The time it takes from moving out of the queue and running on a quantum system before returning the results back. Time in system is the actual time that the circuit is running on a quantum system, separate from the time it is on the classical components. For example, transforming the circuit from digital to analog and analog to digital is not included in the time in system value.

Completed: The date and time the job had completed running on the quantum system.

Next is the Details view, as seen in the following figure, which provides you with the details of the job; in this case it was sent from MyFirstCircuit. It also provides information such as the program, the number of shots, the number of circuits, and the instance. The instance is the provision of the quantum system; since we are using open free devices, this is categorized as an open system.

If you are a premium user, you will likely run in a mode specific to your provider, details of which you can obtain from your administrative provider.

A screenshot of a computer

Description automatically generated

Figure 2.18: The Details view

Finally, the Result – histogram view, illustrated in Figure 2.19, shows you the results of your experiment as rendered on a histogram.

A screenshot of a graph

Description automatically generated

Figure 2.19: Job results – histogram view

In this view, the x axis represents the frequency of each state that resulted after each shot of your circuit. The y axis represents each state that had a result.

All these views can be seen on a separate page altogether by clicking the See more details button, located at the top right of the report. This will provide the same details regarding your experiment, plus it will include the transpiled circuit diagram. The transpiled diagram will show you the same circuit, only it will use the basis gates of the specified quantum system. We will cover what basis gates are and how they are transpiled into the circuit in a later chapter. For now, think of it as a circuit using gates that are specific to the quantum system, as illustrated in the following screenshot:

A screenshot of a computer

Description automatically generated

Figure 2.20: The Details view with the original circuit (left) and the transpiled circuit (right)

The diagram of the circuits is just one of the three representations of the circuit. The other two tabs will display the Qasm and Qiskit representations. Keep in mind that depending on the size of the device that you ran this on, you may see all qubits listed (which could range over 100 qubits). In this case I truncated the view so you only see a few qubits to save space.

Now that we have the results from running our first quantum circuit, let’s take a closer look at our results and see what we got back.

Reviewing your results

The histogram result in Figure 2.19 provides information about the outcome of our experiment. Some parts might seem straightforward, but let’s review the details. It may seem trivial now, but later when we work on more elaborate quantum algorithms, understanding the results will prove invaluable.

There are two axes to the results. Along the y axis, we have all the possible states (or measurement outcomes) of our circuit. This is what the measurement operation observed when measuring the qubit. Recall that we measured the first qubit, so from the least significant bit (on the far right), q0 is in the right-most position within each possible state result. Therefore, as we add more qubits, they are appended to the left of the previous qubit. For example, a three-qubit system would be set in the following order, q2, q1S, q0. We know that our likely result of is correct due to the fact that we placed a NOT gate on the first qubit, which changes its state from 0 to 1. If we were to add two more qubits, then the second and third qubit would simply take a measurement that equates to measuring the initial state, which we know to be 0, creating a likely result of .

The x axis provides the results for each of the possible states. Since we ran the experiment 8000 times, the results show that we a have very high chance of the first qubit resulting in the state of 1. The reason why the result is not 100% is due to noise from the quantum device. We will cover the topic of noise in later chapters, but for now we can be confident of a high probability, based on our results, that the NOT gate worked.

In this section, we simulated a simple NOT gate operation on a qubit and ran the circuit on a quantum device.

Summary

In this chapter, you learned about the IBM Quantum Composer and its many components. You created an experiment that simulated a classic NOT gate. You then viewed the results on a histogram, and read the probabilities based on the results.

This has provided you with the skills to experiment with other gates to see what effect each operation has on each qubit and what information might be determined or used based on the results of the operation. This will be helpful when we look at some of the quantum algorithms and how these operations are leveraged to solve certain problems.

In the next set of chapters, we will move away from the click-and-drag work of the UI and instead create experiments using Jupyter Notebook, as well as beginning to program quantum circuits using Python.

Questions

  1. From the Composer, where would you find the time it took to run your circuit on a quantum computer?
  2. How would you remove or add a qubit to your circuit on the Composer?
  3. On which view would you specify which quantum system to run your circuit?
  4. Which sphere would be ideal to view the quantum state of three qubits in a single sphere?

Get This Book’s PDF Version and Exclusive Extras

Scan the QR code (or go to packtpub.com/unlock). Search for this book by name, confirm the edition, and then follow the steps on the page.

Note: Keep your invoice handy. Purchases made directly from Packt don’t require one.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Understand the difference between classical computers and quantum computers
  • Work with key quantum computational principles such as superposition, interference, and entanglement, and observe how they are leveraged on the IBM Quantum systems
  • Run your own quantum experiments and applications by integrating with Qiskit and Python

Description

The IBM Quantum Platform was built to enable developers to learn the basics of quantum computing by providing access to high performant quantum computers and provide documentation and courses to help get up to speed with the latest features in quantum computing. Updated with new examples and changes to the platform, this edition begins with an introduction to the IBM Quantum Platform and the Quantum Information Science Kit (Qiskit) SDK. You will become well versed in the IBM Quantum Composer interface as well as running your quantum circuits on a real quantum computer. Along the way, you’ll learn some of the fundamental principles regarding quantum mechanics, qubits, quantum gates, quantum circuits, and the error mitigation techniques that are used to perform operations on qubits. As you build on your knowledge, you’ll understand the functionality of IBM Qiskit and the developer-focused resources so you can create your own quantum algorithms. You’ll learn how to monitor and optimize your quantum circuits. Lastly, you’ll look at the fundamental quantum algorithms and understand how they can be applied effectively. By the end of this quantum computing book, you'll know how to build quantum algorithms and will have gained a practical understanding of quantum computation that you can apply to your research or business.

Who is this book for?

This book is for Python developers who are looking to learn quantum computing from the ground up and put their knowledge to use in practical situations with the help of the IBM Quantum Platform and Qiskit. Some background in computer science and high school-level physics and math is required.

What you will learn

  • Get familiar with the features within the IBM Quantum Platform
  • Create and visualize quantum gates and circuits
  • Operate quantum gates on qubits using the IBM Quantum Composer
  • Install and run your quantum circuits on an IBM Quantum computer
  • Discover Qiskit and its many features such as the Qiskit Runtime
  • Get to grips with fundamental quantum algorithms and error mitigation techniques to help you get started
  • Understand the new era of quantum utility and how this moves us closer towards quantum advantage

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Feb 25, 2025
Length: 420 pages
Edition : 2nd
Language : English
ISBN-13 : 9781803244808
Category :

What do you get with a Packt Subscription?

Free for first 7 days. €18.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Feb 25, 2025
Length: 420 pages
Edition : 2nd
Language : English
ISBN-13 : 9781803244808
Category :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Table of Contents

16 Chapters
Exploring the IBM Quantum Tools Chevron down icon Chevron up icon
Creating Quantum Circuits with IBM Quantum Composer Chevron down icon Chevron up icon
Introducing and Installing Qiskit Chevron down icon Chevron up icon
Understanding Basic Quantum Computing Principles Chevron down icon Chevron up icon
Understanding the Qubit Chevron down icon Chevron up icon
Understanding Quantum Logic Gates Chevron down icon Chevron up icon
Programming with Qiskit Chevron down icon Chevron up icon
Optimizing and Visualizing Quantum Circuits Chevron down icon Chevron up icon
Simulating Quantum Systems and Noise Models Chevron down icon Chevron up icon
Suppressing and Mitigating Quantum Noise Chevron down icon Chevron up icon
Understanding Quantum Algorithms Chevron down icon Chevron up icon
Applying Quantum Algorithms Chevron down icon Chevron up icon
Understanding Quantum Utility and Qiskit Patterns Chevron down icon Chevron up icon
Appedix C: Unlock Your Exclusive Benefits Chevron down icon Chevron up icon
Other Book You May Enjoy Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.

Modal Close icon
Modal Close icon