
Learn Quantum Computing with Python and IBM Quantum
By :

In previous chapters, you had some exposure to quantum circuit operations to understand some of the basic quantum components. These basic operations included creating a quantum circuit, applying quantum gates to the circuit, and executing the circuit on a simulator.
We will now take a deeper look into quantum circuits to better understand what properties and functionalities are available to us to not just execute these circuits on a real device but to do so as optimally as possible. In this section, we will learn how to extract circuit properties, such as circuit depth, width, and size, and obtain the number of actual operators. Let’s first start by reviewing the various forms of creating a quantum circuit.
Qiskit provides various ways to create a quantum circuit, each depending on how much information you need throughout your circuit. Up to this point, we have been creating circuits using...