Learn Quantum Computing with Python and IBM Quantum Experience
上QQ阅读APP看书,第一时间看更新

Chapter 2: Circuit Composer – Creating a Quantum Circuit

In this chapter, you will learn how to use the Circuit Composer and what each of the composer's 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 user interface, which in turn will help you to conceptualize how the basic principles of quantum mechanics are used to optimize your experiments. You will also learn how to import quantum circuits, preview the results of each experiment, and create your first quantum circuit.

The following topics will be covered in this chapter:

  • Creating a quantum circuit using the Composer
  • Creating our first quantum circuit
  • Building a coin-flipping experiment

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