Why Simulate?
This entire chapter will be dedicated to simulating quantum computers and their functionality on traditional/classical computers. Let's see why.
We'll cover the following...
This is the last step before we introduce you to practical quantum algorithms. While other courses do not specifically go over this exercise of building your own quantum computing simulator, this is one of the best ways to understand quantum computing and its mathematics.
Credits: While studying quantum computing ourselves, we (the authors) solved the screening tasks for the QOSF Mentorship Program. Building one’s own quantum computing simulator was one of the tasks we solved and found especially useful and fun to code. The credits for the original idea and for setting the task go to the QOSF Mentorship Program.
Limited resources
Moreover, once we get to practical quantum algorithms, we’ll still use simulators from quantum computing libraries. That is for two reasons. First, the existing quantum computers of the NISQ-era are not perfect, so their results are not always accurate. Second, while many companies like IBM, AWS, and Google are beginning to connect their real quantum computers to the cloud, technology is still in its preliminary stages. Currently, jobs have to be queued for one of the quantum computers to return its results. This process can take a lot of time. It isn’t the best option in a learning environment, where rapid prototyping, debugging, and results are integral.
Furthermore, you need to have an account on the service provider’s website to run your jobs on these quantum computers. Tokens associated with that account are necessary for queuing a job. We feel that this added bulk might detract learners who want to quickly get into quantum computing with as little a barrier to ...