qiskit
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.
Download the skill ZIP
Upload in Claude
Go to Settings → Capabilities → Skills → Upload skill
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
SafeAll 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.
Risk Factors
⚙️ External commands (5)
🌐 Network access (2)
Quality Score
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
Show me how to create a Bell state entangled circuit with Qiskit that measures both qubits
Help me transpile my circuit for ibm_brisbane backend and run it using the SamplerV2 primitive
Write a complete VQE implementation using Qiskit Runtime Session to find the ground state energy of H2 molecule
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?
How many qubits are available?
What is the difference between Sampler and Estimator?
Can I run circuits without internet?
What is transpilation?
How long do quantum jobs take?
Developer Details
Author
K-Dense-AILicense
Apache-2.0 license
Repository
https://github.com/K-Dense-AI/claude-scientific-skills/tree/main/scientific-skills/qiskitRef
main
File structure