Skip to content

Installation

Prerequisites

  • Python 3.9 or later (Core SDK supports 3.8+; Qiskit and PennyLane plugins require 3.9+)

Install from PyPI

Open Quantum provides a core SDK with optional framework plugins. Install the one that matches your workflow:

pip install openquantum-sdk                      # Core SDK only
pip install "openquantum-sdk[qiskit]"            # Core SDK + Qiskit plugin
pip install "openquantum-sdk[pennylane]"         # Core SDK + PennyLane plugin
pip install "openquantum-sdk[qiskit,pennylane]"  # Core SDK + both plugins

Note

Both the Qiskit and PennyLane plugins automatically install openquantum-sdk as a dependency. You do not need to install it separately.

Verify Installation

Core SDK

python -c "import openquantum_sdk; print(openquantum_sdk.__version__)"

Qiskit Plugin

python -c "import openquantum_sdk_qiskit; print(openquantum_sdk_qiskit.__version__)"

PennyLane Plugin

python -c "import pennylane_openquantum; print(pennylane_openquantum.__version__)"

You can verify that the plugin is installed and PennyLane recognizes it:

python -c "from pennylane_openquantum import OpenQuantumDevice; print('Plugin OK')"

Note

The PennyLane device requires authentication credentials at creation time. To create a device instance, you must first configure credentials via arguments or environment variables. See Authentication for setup instructions.

Next Steps