Install Qiskit
Whether you will work locally or in a cloud environment, the first step for
all users is to install Qiskit.
Upgrade from Qiskit 0.x to Qiskit 1.0 and beyond
(If you are installing Qiskit for the first time, skip ahead to the Install
and set up section. This notice is relevant only to users who have
installed Qiskit previously.)
For those upgrading from version 0.x to 1.0 or later: note that
because Qiskit v1.0 uses a new packaging structure, you cannot use
pip install -U qiskit to upgrade from any Qiskit 0.x version to
1.0.
See the Qiskit 1.0 migration guide for details and instructions.
Future updates starting with Qiskit 1.0 will allow for in-place
upgrades.
Install the Qiskit SDK and the Qiskit
Runtime client
1. Install Python. Check the "Programming Language" section on the
Qiskit PyPI project page to determine which Python versions are
supported by the most recent release. For download instructions,
see the Python Beginners Guide.
It is recommended that you use Python virtual environments to
separate Qiskit from other applications.
Note
These instructions use the standard Python distribution from
[Link] . However, you can use other Python distributions,
such as Anaconda or miniconda , along with other
dependency management workflows like Poetry .
If you're new to virtual environments, click here for more
information.
First, navigate to your project directory and create a minimal
environment with only Python installed in it.
macOS Linux Windows
python -m venv .venv
Next, activate your new environment.
macOS Linux Windows
If using PowerShell:
.venv\Scripts\Activate.ps1
If using Git Bash:
source .venv/scripts/activate
If using command prompt:
.venv\Scripts\activate
2. Install pip if it's not already installed in your environment. Pip is a
Python package manager that you use to install Qiskit and other
Python packages. Use pip list to see what is in your virtual
environment. In most Python environments, pip is already installed.
3. Install the Qiskit SDK. If you plan to run jobs on quantum hardware,
also install Qiskit Runtime.
pip install qiskit
pip install qiskit-ibm-runtime
If you intend to use visualization functionality or Jupyter notebooks,
it is recommended to install Qiskit with the extra visualization
support ( 'qiskit[visualization]' ).
Default zsh
pip install qiskit[visualization]
1. If you want to run a Jupyter notebook with the Qiskit packages you
just installed, you need to install Jupyter in your environment.
pip install jupyter
Then open your notebook as follows:
jupyter notebook <path/to/[Link]>
If you are planning to work locally and use simulators built into Qiskit,
then your installation is done. If you want to run jobs on IBM QPUs,
continue on to set up your IBM Cloud account.
Stay current with the latest versions
Periodically check the Qiskit release notes and the Qiskit Runtime
release notes to see new releases. We recommend frequently
updating your requirements for qiskit and qiskit-ibm-runtime
by, for example, changing the versions in [Link] to the
latest versions, then running pip install -r [Link]
or the appropriate command for your dependency management
workflow.
Qiskit Code Assistant
Need help? Try asking Qiskit Code Assistant.
# Print the version of Qiskit we're using
# Return True if the version of Qiskit is 1.0 or greater
# Install Qiskit 1.0.2
New to the code assistant? See Qiskit Code Assistant for installation
and usage. Note this is an experimental feature and only available to
IBM Quantum™ Premium Plan users.
Troubleshooting
"No Module 'qiskit'" error with Jupyter Notebook
Compilation errors during installation
Operating system support
Qiskit strives to support as many operating systems as possible, but due
to limitations in available testing resources and operating system
availability, not all operating systems can be supported. Operating
system support for Qiskit is broken into three tiers with different levels of
support for each tier. For platforms outside these, such as FreeBSD or
WebAssembly (WASI), Qiskit may still be installable, but it is not tested
and you will have to build Qiskit (and likely Qiskit’s dependencies) from
source.
Additionally, Qiskit only supports the CPython implementation of the
Python language. Running with other Python interpreters such as PyPy is
not supported.
Qiskit v2.x
In the Qiskit v2.x release series, the supported platforms are:
Tier 1
Tier 2
Tier 3
Starting in Qiskit v2.0.0, only 64-bit platforms are supported and 32-bit
platforms are not supported. You will not be able to build from source on
32-bit platforms either, as internally the Qiskit Rust code assumes a 64-
bit pointer width.
Qiskit v1.x
In the Qiskit v1.x release series, the supported platforms are:
Tier 1
Tier 2
Tier 3
Next steps
Recommendations
Set up your IBM Cloud account.
Configure Qiskit locally.
Follow the steps in Hello world to write and run a quantum
program.
Try an IBM Quantum Learning tutorial.
Was this page helpful?
Yes No
Report a bug or request content on GitHub .
© IBM Corp., 2017-2025