-
Book Overview & Buying
-
Table Of Contents
A Practical Guide to Quantum Computing
By :
In this chapter, we have discussed how to work with arbitrarily many qubits in Qiskit, and we have learned how to implement all the multi-qubit quantum algorithms that we have considered so far.
We began the chapter with a brief discussion of some of the Qiskit features that we had yet to cover. We mentioned how the Toffoli gate can be used in Qiskit circuits, and we also took the chance to introduce multi-controlled NOT gates. From that point, we briefly covered the use of quantum and classical registers within Qiskit, and we saw how Qiskit enables us to compute the operator that a quantum circuit implements. In connection with that last point, we were able to verify the correctness of an implementation of the Toffoli gate that we had introduced earlier in the book.
We then implemented the quantum teleportation protocol and, in the process, we learned how (classical) conditionals can be embedded right into Qiskit circuits. We also tested our implementation on a couple of simple...