Chapter 6: Understanding the Qiskit® Gate Library

In this chapter, we will explore the quantum gates that are offered out of the Qiskit® box. By including a quantum gate library that features the most common gates, Qiskit® makes coding your circuits easy.

Among the gates that we will look at are the Pauli X, Y, and Z gates used for basic qubit flips, the H (or Hadamard) gate used to create qubit superpositions, and the CX (controlled-NOT) gate used to create quantum entanglement. For a quick refresher, take a look at Chapter 4, Starting at the Ground Level with Terra.

We will also look at the specialized S and T gates, spin our qubits with R gates, and then show how just a minimal set of U1, U2, U3, ID, and CX basis gates are used to translate ...

Get Quantum Computing in Practice with Qiskit® and IBM Quantum Experience® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.