visualization
Guides agents drawing Qiskit circuits, histograms, distributions, states, backend maps, timelines, pass managers, and optional visualization dependencies.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- visualization
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Guides agents drawing Qiskit circuits, histograms, distributions, states, backend maps, timelines, pass managers, and optional visualization dependencies.
- disable-model-invocation
- true
02 资源文件 2
- 参考文档references/troubleshooting.md1.5 KB
- 参考文档references/workflows.md1.5 KB
03 SKILL.md 正文
Qiskit visualization workflows
Use this sub-skill when the task involves qiskit.visualization: circuit drawers, histograms, distributions, state plots, backend/device maps, pass-manager drawings, timelines, output formats, styles, or visualization optional dependencies.
Read next
references/workflows.mdfor output-mode, plot, and file-saving recipes.references/troubleshooting.mdfor missingmatplotlib, Graphviz, Pillow,pylatexenc,seaborn, LaTeX, and style-file failures.../../references/installation.mdfor thevisualizationextra.../../scripts/check_qiskit_environment.py --sections visualizationfor a source-free plotting smoke check.
Include here
circuit_drawer,QuantumCircuit.draw(), output modestext,mpl,latex, andlatex_source.- Counts and distribution plots such as
plot_histogramandplot_distribution. - State visualizations such as Bloch, city, Hinton, Pauli-vector, and qsphere plots.
- Device/backend maps, circuit layout plots, pass-manager drawings, and timeline views.
- Visualization dependency, style, backend, and file-output troubleshooting.
Exclude or route elsewhere
- Building the circuit before drawing belongs in
../circuit/SKILL.md. - Producing counts or expectation values belongs in
../primitives/SKILL.mdor../providers/SKILL.md. - Mathematical state/operator construction belongs in
../quantum-info/SKILL.md. - Backend compilation before layout visualization belongs in
../transpiler/SKILL.md.
Default route
Start here when the user mentions drawing, plotting, output format, images, histograms, style JSON, LaTeX, Graphviz, matplotlib, or visualizing a backend/circuit layout.
What to remember
- Qiskit's visualization module intentionally allows some user-controlled labels and external-tool calls; use trusted inputs for LaTeX and Graphviz modes.
- Text drawing is safest and dependency-light;
mplandlatexmodes need optional Python and system packages. - A generated figure object often still needs
savefig()or afilename=argument when the user wants an image file.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.