Registry / gcp / qiskit-ibm-experiment

qiskit-ibm-experiment

JSON →
library0.4.8pypypi✓ verified 80d ago

Provides access to the IBM Quantum experiment service, allowing users to manage experiments, retrieve experiment results, and work with analysis results from IBM Quantum backends. Current version 0.4.8, released on a monthly/quarterly cadence.

pip install qiskit-ibm-experiment
INSTALL
IMPORT
SIG · QISKIT-IBM-EXPERIM
Q
qiskit-ibm-experiment
gcppythonv0.4.8
Install
14.8s avg
Import
Disk
366MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.4.8 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
installs and imports cleanly · install 14.8s · import 0.000s · 360MB
366MB installed
● package 366MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IBMExperimentService
from qiskit_ibm_experiment import IBMExperimentService
from qiskit_ibm_experiment import ExperimentService

Initializes the ExperimentService using an IBM Quantum API token and lists available experiments.

import os from qiskit_ibm_experiment import ExperimentService # Initialize with token from environment variable or IBM Quantum account token = os.environ.get('IBM_QUANTUM_TOKEN', '') service = ExperimentService(token=token) # List experiments experiments = service.experiments() print(experiments)
Debug
Known issues
breakingIn v0.4.0, the default authentication method changed from account-based to token-based. Using `account` parameter is deprecated and will be removed in a future version.
fix
Pass a 'token' parameter or set the IBM_QUANTUM_TOKEN environment variable instead of using 'account'.
affects: >=0.4.0
deprecatedThe `IBMExperimentService` class is deprecated in favor of `ExperimentService`. It will be removed in a future release.
fix
Use `ExperimentService` instead of `IBMExperimentService`.
affects: >=0.4.0
gotchaThe `experiments()` method returns a paginated iterator; to get all experiments, you need to iterate over it. Calling it without iteration returns an iterator object, not a list.
fix
Convert to list: `experiments = list(service.experiments())` or iterate directly.
affects: >=0.1.0
Upgrade
Version history
0.4.8latest on PyPI · released Sep 5, 2024
Audit
Dependencies
qiskit-ibm-runtimeoptionalRequired for IBM Quantum backend access and runtime services.
qiskit-ibm-provideroptionalLegacy dependency for accessing IBM Quantum backends (deprecated in favor of qiskit-ibm-runtime).
Agent activity
45 hits · last 30 days
node
40
OpenAI (training)
2
Resources
qiskit-ibm-experiment — pip install qiskit-ibm-experiment · libregistry