Chapter 3: Execution Environment for Quantum Algorithms

In order to develop a quantum algorithm and verify whether it is effective for a real problem, some kind of execution environment must be prepared. It would be best if we could directly access an actual quantum computer to run the algorithm and debug the results through trial and error, but this is difficult because there are only a few dozen quantum computers (NISQ devices) in the world today. Furthermore, the current (April 2019) actual devices are very noisy, making it difficult to accurately evaluate the performance of newly developed algorithms. Because of these factors, the use of simulators that simulate the operation of quantum computers is essential for the development of quantum algorithms.

This chapter therefore introduces the environment for running and developing various quantum algorithms.

  • In section 3-1, we introduce how to use the library Qulacs, which can simulate the operation of a quantum computer at ultra-high speed and is useful for developing and debugging quantum algorithms.

  • Section 3-2 describes how to use Qiskit, IBM’s quantum computer simulation library and IBM Q Experience, a service that makes actual quantum computers available in the cloud.