qiskit

Execute quantum circuits with Qiskit Sampler and Estimator primitives.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/gabrielvuksani/wotann --skill qiskit-gabrielvuksani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qiskit
Source: https://github.com/gabrielvuksani/wotann/tree/main/skills/scientific/qiskit
Command: npx skills add https://github.com/gabrielvuksani/wotann --skill qiskit-gabrielvuksani

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Qiskit helps you turn an abstract quantum algorithm idea into executable quantum circuits, optimized for specific backends and then interpreted into results you can act on.

Core Features & Use Cases

  • Circuit construction & composition: Define quantum circuits with gates, parameterized ansatzes, and measurement strategies.
  • Execution via primitives: Use Sampler for bitstring/probability outputs and Estimator for expectation values (energies, observables).
  • Transpilation & hardware targeting: Optimize circuits for a backend’s basis gates and coupling/topology to reduce depth and hardware errors.
  • Common workflows: Map → Optimize (transpile) → Execute (runtime primitives) → Post-process (counts/energies/metrics).

Use cases include running a Bell-state experiment, building a VQE loop for chemistry/optimization, and executing QAOA-style circuits for combinatorial problems on IBM Quantum hardware or local simulators.

Quick Start

Run the first Bell-state circuit using Qiskit and immediately print the measured counts from the local StatevectorSampler.

Frequently Asked Questions about qiskit

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

FAQPage Schema
How do I build and run a quantum circuit for a Bell-state experiment?

To run a Bell-state experiment, you build a quantum circuit with specific gates and execute it using the StatevectorSampler to immediately output and print the measured counts locally.

What is the difference between using Sampler and Estimator primitives in Qiskit?

In Qiskit, the Sampler primitive is used for bitstring and probability outputs, while the Estimator primitive calculates expectation values for observables, such as energies used in VQE loops.

How do I optimize quantum circuits for specific hardware backends?

You optimize quantum circuits for specific hardware by transpiling them against a backend’s basis gates and coupling topology, which reduces circuit depth and minimizes hardware errors before execution.

Can I run VQE and QAOA algorithms on IBM Quantum hardware?

Yes, you can execute VQE loops for chemistry and QAOA-style circuits for combinatorial problems on IBM Quantum hardware or local simulators using runtime SamplerV2 and EstimatorV2 primitives.

What is the standard workflow for executing quantum algorithms end to end?

The standard quantum algorithm workflow involves mapping the problem to a circuit, optimizing via transpilation, executing through runtime primitives, and post-processing the results into counts or energies.

Do I need runtime sessions to execute quantum circuits with Qiskit?

You do not strictly need runtime sessions; you can execute quantum circuits locally using StatevectorSampler and StatevectorEstimator, or utilize IBM Quantum Runtime sessions and batches for hardware runs.