Skip to main content
IBM Quantum Platform
翻訳情報

このページの追加言語翻訳は近日公開予定です。

Installation instructions


Prerequisites

First, create a minimal environment with only Python installed in it. We recommend using Python virtual environments.

python3 -m venv /path/to/virtual/environment

Activate your new environment.

source /path/to/virtual/environment/bin/activate

There are two primary ways to install the packages:


Option 1: Install from PyPI

The most straightforward way to install the samplomatic package is via PyPI.

pip install 'samplomatic'

Option 2: Install from source

If you plan to develop in the repository or run the notebooks locally, you should install from source.

First, clone the samplomatic repository.

git clone [email protected]:Qiskit/samplomatic.git

Next, upgrade pip and enter the repository.

pip install --upgrade pip
cd samplomatic

The next step is to install samplomatic to the virtual environment. If you plan to run the notebooks and their visualizations, install the notebook dependencies. If you plan on developing in the repository, install the dev and vis dependencies.

Adjust the options below to suit your needs.

pip install -e ".[dev,vis]"
このページは役に立ちましたか?
バグや誤字の報告、またはコンテンツの要求はGitHubで行ってください。