Summary
In this chapter, we have had our first contact with quantum software frameworks. We began by introducing what these frameworks are, and what they are meant to offer, and we also got an overview of some of the most commonly used quantum software toolkits out there. In this context, we had a chance to introduce Qiskit and discuss what advantages can be found in using it.
Leaving that general introduction behind, we set out to write our first lines of code. First we discussed how to construct one-qubit circuits in Qiskit and we saw how Qiskit circuits can be treated and manipulated like any other Python object. Once familiar with this, we explored how these circuits could be run on both simulators and quantum hardware.
Finally, we implemented a simulation of the BB84 protocol on Qiskit, leveraging on all the skills that we acquired throughout the chapter.
That was Qiskit and that’s all we have to say about one-qubit systems. Now it’s time to go bigger and explore what...