作者:禅与计算机程序设计艺术
1.背景介绍
In this article, we will discuss how to use the IBM’s Qiskit SDK to program hybrid quantum-classical circuits on real devices. In a nutshell, we can simulate and run classical algorithms on top of quantum hardware that can perform specific tasks faster than their classical counterparts or at least have similar performance characteristics. To achieve this, our code needs to be able to mix quantum components such as quantum registers, gates, operations, and measurements with traditional programming constructs such as loops, conditions, functions, etc., allowing us to define more complex logic and behavior without resorting to low-level circuit design languages like OpenQASM. We’ll go over all the steps involved in using the IBM’s Qis