

In this case we are leveraging the built-in BasicAer simulator. To do this, first we need to compile your circuit for the target backend we're going to run Once you've made your first quantum circuit, you can then simulate it. This example makes an entangled state, also called a Bell state. from qiskit import QuantumCircuit qc = QuantumCircuit ( 2, 2 ) qc. We create a QuantumCircuit object to define a basic quantum program. Now that Qiskit is installed, it's time to begin working with Qiskit. Creating Your First Quantum Program in Qiskit To install from source, follow the instructions in the documentation. Pip will handle all dependencies automatically and you will always install the latest (and well-tested) version. We encourage installing Qiskit via pip: pip install qiskit It also contains a compiler that supportsĭifferent quantum computers and a common interface for running programs on different quantum computer architectures.įor more details on how to use Qiskit you can refer to the documentation located here: This framework allows for building, transforming, and visualizing quantum circuits. Qiskit is an open-source framework for working with noisy quantum computers at the level of pulses, circuits, and algorithms.
