qiskit

Execute quantum circuits with Qiskit Sampler and Estimator primitives.

4|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/shushuzn/Rairos --skill qiskit-shushuzn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qiskit
Source: https://github.com/shushuzn/Rairos/tree/main/skills/qiskit
Command: npx skills add https://github.com/shushuzn/Rairos --skill qiskit-shushuzn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Qiskit helps you turn high-level quantum algorithm ideas into hardware-compatible circuits you can simulate and execute to obtain measurements or expectation values.

Core Features & Use Cases

  • Circuit construction and composition: Create quantum circuits with single- and multi-qubit gates, measurements, parameterized workflows, and reusable subcircuits.
  • Primitives for execution: Use Sampler for measurement bitstrings and Estimator for expectation values needed in VQE/QAOA/chemistry workflows.
  • Optimization for real hardware: Transpile circuits to match backend topology and native gate sets, with configurable optimization levels and best practices to reduce costly two-qubit gates.
  • Hardware execution and job management: Run on IBM Quantum (and other providers via Qiskit ecosystem patterns), including session and batch modes and mitigation configuration.
  • Visualization for validation: Draw circuits, plot histograms, and visualize states/topologies to confirm correctness before production runs.

Use case example: Implement VQE for a molecular Hamiltonian by mapping the problem to a qubit operator, transpiling an ansatz for an IBM backend, executing with Estimator in a session loop, and post-processing the ground-state energy.

Quick Start

Use the qiskit skill to run your first circuit on an IBM backend by executing a transpiled Bell-state circuit with the Sampler primitive.

Frequently Asked Questions about qiskit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run quantum circuits on IBM Quantum hardware?

To run quantum circuits on IBM Quantum hardware, you map problem representations to Qiskit-compatible circuits and execute them using Sampler or Estimator primitives to obtain measurement outcomes or expectation values.

What is the best way to implement VQE for a molecular Hamiltonian?

Implementing VQE for a molecular Hamiltonian involves mapping the problem to a qubit operator, transpiling an ansatz for an IBM backend, and executing with the Estimator primitive in a session loop to post-process ground-state energy.

Do I need to transpile circuits before execution on IBM Quantum backends?

Yes, transpilation is required to match circuit topology and native gate sets of a selected backend target, applying configurable optimization levels to reduce costly two-qubit gates before production runs.

Can I use Estimator and Sampler for chemistry and optimization workloads?

Estimator and Sampler primitives support production-style workflows for chemistry and optimization workloads, providing expectation values and measurement bitstrings needed for VQE and QAOA iterations.

Does Qiskit support session and batch execution modes for runtime primitives?

Qiskit supports session and batch execution modes using runtime primitives, allowing configuration of shots and error mitigation for backend-aware deployment on IBM Quantum hardware or realistic simulators.

Why transpile quantum circuits against a selected backend target?

Transpiling quantum circuits against a selected backend target optimizes the circuit for the hardware's specific topology and native gate sets, reducing errors and costly two-qubit gates during execution.