Chapter 10
Coding with Many Qubits in Qiskit
Software and cathedrals are much the same—
first we build them, then we pray.
— Samuel T. Redwine
In the last couple of chapters, we have introduced systems with arbitrarily many qubits and we have seen some of the eye-opening things that can be done with them. In this chapter, we are putting all of that knowledge into practice. We already know how to use Qiskit to work with one or two qubits, and it is time for us to break free of every limit and construct circuits with any number of qubits.
The contents of this chapter are the following:
Working with many qubits in Qiskit
Quantum teleportation
The Deutsch–Jozsa algorithm
The Berstein–Vazirani algorithm
By the end of this chapter, you will know how to construct any quantum circuit in Qiskit—regardless of its size. You will also be able to implement all the protocols and algorithms that we discussed in Chapter 9; namely, the quantum teleportation...