alterlab-qiskit

Installation
SKILL.md

Qiskit

Overview

Qiskit is an open-source quantum computing framework. Build quantum circuits, optimize for hardware, execute on simulators or real quantum computers, and analyze results. Supports IBM Quantum (100+ qubit Heron and Nighthawk systems), IonQ, Amazon Braket, and other providers.

Keyless by default. The core of this skill — building and transpiling circuits and running them on local simulators (StatevectorSampler, StatevectorEstimator, Aer), including VQE/QAOA and textbook algorithms — runs entirely offline with no account or token. Submitting to IBM Quantum hardware through Qiskit Runtime is an optional add-on that uses an IBM Quantum token; with no token, transpile for the target backend and run on a (noisy) local simulator first.

Version note: Examples target Qiskit SDK 2.x (qiskit>=2,<3, Python 3.10+; current 2.5.x as of 2026-09) and qiskit-ibm-runtime ≥ 0.40 (current 0.49). Older tutorials break on these changes, so check any snippet you adapt against them:

  • Qiskit 1.0 removed execute(), BasicAer, qiskit.tools (incl. tools.jupyter, job_monitor) and bind_parameters — use primitives, qiskit.providers.basic_provider.BasicSimulator, and assign_parameters.
  • Qiskit 2.0 removed qiskit.pulse, BackendV1, the V1 reference primitives (qiskit.primitives.Sampler/Estimator) and Instruction.c_if (use with qc.if_test(...)).
  • Qiskit 2.1 deprecated the class forms of library circuits (RealAmplitudes, EfficientSU2, TwoLocal, ZZFeatureMap, QFT, …; removal in 3.0) — use real_amplitudes(), efficient_su2(), n_local(), zz_feature_map(), QFTGate.
  • Runtime V2 primitives take mode= (a backend, Session, or Batch); the old session=/backend= keywords raise TypeError. The Options class and channel="ibm_quantum" are gone — the platform is now quantum.cloud.ibm.com (API key + instance CRN, channel "ibm_quantum_platform").

When to Use This Skill

Installs
67
GitHub Stars
86
First Seen
Apr 12, 2026