Skills qiskit
⚛️

qiskit

Safe ⚙️ External commands🌐 Network access

Build quantum circuits with Qiskit

Also available from: davila7

Quantum computing enables solving complex optimization, chemistry, and machine learning problems that are intractable for classical computers. Qiskit provides the tools to build quantum circuits, optimize them for IBM hardware, and execute on real quantum processors or simulators.

Supports: Claude Codex Code(CC)
📊 71 Adequate
1

Download the skill ZIP

2

Upload in Claude

Go to Settings → Capabilities → Skills → Upload skill

3

Toggle on and start using

Test it

Using "qiskit". Create a 3-qubit GHZ state circuit and run it on a simulator

Expected outcome:

  • Created GHZ state circuit: |000⟩ + |111⟩ superposition
  • Executed with StatevectorSampler: 1024 shots
  • Results: {'000': 517, '111': 507} (approximately 50/50 distribution)

Using "qiskit". Optimize a quantum circuit for IBM hardware

Expected outcome:

  • Transpiled circuit with optimization_level=3
  • Reduced 2-qubit gates from 12 to 8
  • Circuit depth: 6 (optimized from 10)
  • Ready for execution on ibm_brisbane

Security Audit

Safe
v4 • 1/17/2026

All 426 static findings are FALSE POSITIVES. This skill is pure markdown documentation containing legitimate Python code examples for IBM Qiskit quantum computing. The static analyzer incorrectly interprets markdown code block delimiters (backticks) as command execution and flags standard quantum computing terminology as C2 or weak crypto indicators. No executable code or malicious patterns exist.

11
Files scanned
5,394
Lines analyzed
2
findings
4
Total audits
Audited by: claude View Audit History →

Quality Score

45
Architecture
100
Maintainability
87
Content
21
Community
100
Security
91
Spec Compliance

What You Can Build

Simulate molecular systems

Use VQE algorithm to compute ground state energies of molecules for drug discovery and materials science research.

Solve combinatorial problems

Apply QAOA to solve MaxCut, portfolio optimization, and scheduling problems that benefit from quantum speedup.

Build quantum classifiers

Create quantum kernels and neural networks for machine learning tasks using Qiskit Machine Learning.

Try These Prompts

Create basic circuit
Show me how to create a Bell state entangled circuit with Qiskit that measures both qubits
Run on hardware
Help me transpile my circuit for ibm_brisbane backend and run it using the SamplerV2 primitive
Implement VQE
Write a complete VQE implementation using Qiskit Runtime Session to find the ground state energy of H2 molecule
Optimize circuits
Show me how to optimize a quantum circuit for hardware execution using optimization_level=3 and best practices

Best Practices

  • Start with local simulators (StatevectorSampler) to validate circuits before using expensive hardware time
  • Always transpile circuits before execution on hardware with optimization_level=3 for production workloads
  • Use Session mode for iterative algorithms (VQE, QAOA) and Batch mode for parallel independent jobs

Avoid

  • Running untranspiled circuits directly on hardware (causes high error rates and queue rejections)
  • Using Estimator for sampling tasks or Sampler for expectation values (mismatched primitives)
  • Skipping error mitigation on real hardware (resilience_level should match accuracy requirements)

Frequently Asked Questions

Do I need an IBM Quantum account?
No account needed for local simulators. Create free IBM Quantum account at quantum.ibm.com for hardware access.
How many qubits are available?
IBM Quantum offers 100+ qubit systems. Free tier provides access to smaller devices for learning.
What is the difference between Sampler and Estimator?
Sampler returns measurement outcomes (counts). Estimator returns expectation values of observables (energies).
Can I run circuits without internet?
Yes, local simulators (StatevectorSampler, Aer) work offline. Cloud backends require internet connection.
What is transpilation?
Transpilation converts circuits to the native gate set and topology of target quantum hardware for execution.
How long do quantum jobs take?
Simulator jobs are instant. Hardware jobs queue based on system load, typically minutes to hours.