[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QFR1NEWKQEC04M2G6G3H2J":3,"skill-same:01M6QFR1NEWKQEC04M2G6G3H2J":132},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":14,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M6QFR1NEWKQEC04M2G6G3H2J","qiskit",null,"Build, simulate, transpile, and execute quantum circuits with Qiskit and IBM Quantum Runtime. Use for Qiskit 2.x circuits and operators, V2 Sampler or Estimator primitives, target-aware transpilation, local or noisy simulation, IBM QPU execution, Runtime sessions or batches, error mitigation, and Qiskit ecosystem packages.","Tashima-Tarsh\u002FDisha6.6","Tashima-Tarsh","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F269906498?v=4","01M6PBH98X03XERH0HFT4PFB1P","NITISH KUMAR","01M6PBH9DA0M6KM3Z12P848F0K",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"primitives","for","ecosystem","error","bit","platform","operators","runtime","physics","local","python","access","simulation","api","ibm","network","packages","sessions","workflows","2026-11-10 10:12:30",false,"---\nname: qiskit\ndescription: Build, simulate, transpile, and execute quantum circuits with Qiskit and IBM Quantum Runtime. Use for Qiskit 2.x circuits and operators, V2 Sampler or Estimator primitives, target-aware transpilation, local or noisy simulation, IBM QPU execution, Runtime sessions or batches, error mitigation, and Qiskit ecosystem packages.\nlicense: Apache-2.0\ncompatibility: Python 3.10+ on a supported 64-bit platform. Local SDK workflows need qiskit; noisy simulation needs qiskit-aer; IBM QPU access needs qiskit-ibm-runtime, network access, an IBM Quantum Platform account, and an API key.\nmetadata:\n  version: '2.1'\n  category: physical-sciences\n  maintainer: Kalaris Labs\n  tags: quantum computing, quantum circuits, IBM Quantum, physics\n---\n\n# Qiskit\n\nUse current Qiskit 2.x APIs to build circuits, prepare hardware-compatible instruction set architecture (ISA) circuits, and execute them through V2 primitives.\n\nThis skill was verified on **2026-07-23** against the PyPI releases `qiskit==2.5.0`, `qiskit-ibm-runtime==0.48.0`, and `qiskit-aer==0.17.2`. Check [references\u002Fsources.md](references\u002Fsources.md) before changing pins or documenting newly released behavior.\n\n## Choose the Right Path\n\n| Goal | Recommended interface |\n|---|---|\n| Exact local sampling | `qiskit.primitives.StatevectorSampler` |\n| Exact local expectation values | `qiskit.primitives.StatevectorEstimator` |\n| High-performance or noisy simulation | Qiskit Aer |\n| IBM QPU sampling | `qiskit_ibm_runtime.SamplerV2` |\n| IBM QPU expectation values and mitigation | `qiskit_ibm_runtime.EstimatorV2` |\n| Backend without native primitives | `BackendSamplerV2` or `BackendEstimatorV2` |\n| Open-system or master-equation dynamics | Prefer QuTiP |\n| Differentiable quantum machine learning | Prefer PennyLane unless Qiskit integration is required |\n\n## Installation\n\nCreate an isolated environment and install only the components needed:\n\n```bash\nuv venv --python 3.13\nsource .venv\u002Fbin\u002Factivate\n\n# Core SDK plus plotting support\nuv pip install \"qiskit[visualization]==2.5.0\"\n\n# Add only when needed\nuv pip install \"qiskit-ibm-runtime==0.48.0\"\nuv pip install \"qiskit-aer==0.17.2\"\n```\n\nDo not install `qiskit-terra`; it was superseded by the `qiskit` distribution. Qiskit Runtime, Aer, Nature, Machine Learning, Optimization, and Algorithms are separate distributions.\n\nFor IBM account setup, CI-safe credential handling, optional packages, and environment repair, read [references\u002Fsetup.md](references\u002Fsetup.md).\n\n## Core Workflow\n\nFollow this sequence for every hardware-oriented workload:\n\n1. **Map** the problem to a circuit and, for Estimator, one or more observables.\n2. **Optimize** the parameterized circuit once for the selected backend.\n3. **Apply the layout** to every observable.\n4. **Execute** ISA circuits through a V2 primitive using Primitive Unified Blocs (PUBs).\n5. **Analyze** register-aware results, metadata, uncertainty, and resource usage.\n\nDo not bind and retranspile a parameterized circuit inside every optimizer iteration. Transpile the parameterized circuit once, then pass parameter arrays in PUBs.\n\n## Quick Local Sampling\n\n```python\nfrom qiskit import QuantumCircuit\nfrom qiskit.primitives import StatevectorSampler\n\ncircuit = QuantumCircuit(2)\ncircuit.h(0)\ncircuit.cx(0, 1)\ncircuit.measure_all()  # creates the classical register named \"meas\"\n\nsampler = StatevectorSampler(seed=7)\npub_result = sampler.run([circuit], shots=1024).result()[0]\ncounts = pub_result.data.meas.get_counts()\nprint(counts)\n```\n\nSampler V2 preserves shots and classical-register structure. Access the register by its actual name; `measure_all()` uses `meas`.\n\n## Quick Local Estimation\n\n```python\nimport numpy as np\nfrom qiskit import QuantumCircuit\nfrom qiskit.circuit import Parameter\nfrom qiskit.primitives import StatevectorEstimator\nfrom qiskit.quantum_info import SparsePauliOp\n\ntheta = Parameter(\"theta\")\ncircuit = QuantumCircuit(2)\ncircuit.ry(theta, 0)\ncircuit.cx(0, 1)\n\nobservable = SparsePauliOp.from_list([(\"ZZ\", 1.0), (\"XX\", 0.5)])\nparameter_values = [[0.0], [np.pi \u002F 4], [np.pi \u002F 2]]\n\nestimator = StatevectorEstimator(seed=7)\npub = (circuit, observable, parameter_values)\npub_result = estimator.run([pub]).result()[0]\nprint(pub_result.data.evs)\n```\n\nEstimator circuits should not contain final measurements. PUB arrays broadcast; verify circuit parameter order before constructing large sweeps.\n\n## IBM QPU Sampling\n\nThis example assumes credentials were saved securely as described in [references\u002Fsetup.md](references\u002Fsetup.md). It never embeds or prints an API key.\n\n```python\nfrom qiskit import QuantumCircuit\nfrom qiskit.transpiler import generate_preset_pass_manager\nfrom qiskit_ibm_runtime import QiskitRuntimeService, SamplerV2 as Sampler\n\nservice = QiskitRuntimeService()\nbackend = service.least_busy(\n    operational=True,\n    simulator=False,\n    min_num_qubits=2,\n)\n\ncircuit = QuantumCircuit(2)\ncircuit.h(0)\ncircuit.cx(0, 1)\ncircuit.measure_all()\n\npass_manager = generate_preset_pass_manager(\n    backend=backend,\n    optimization_level=1,\n    seed_transpiler=7,\n)\nisa_circuit = pass_manager.run(circuit)\n\nsampler = Sampler(mode=backend)\njob = sampler.run([isa_circuit], shots=1024)\nprint(\"job_id:\", job.job_id())\ncounts = job.result()[0].data.meas.get_counts()\n```\n\nSave the job ID before waiting for results so the job can be retrieved later.\n\n## IBM QPU Estimation\n\nRuntime Estimator requires both an ISA circuit and observables mapped through the transpiler layout:\n\n```python\nfrom qiskit import QuantumCircuit\nfrom qiskit.quantum_info import SparsePauliOp\nfrom qiskit.transpiler import generate_preset_pass_manager\nfrom qiskit_ibm_runtime import EstimatorV2 as Estimator\n\ncircuit = QuantumCircuit(2)\ncircuit.h(0)\ncircuit.cx(0, 1)\nobservable = SparsePauliOp.from_list([(\"ZZ\", 1.0)])\n\npass_manager = generate_preset_pass_manager(\n    backend=backend,\n    optimization_level=1,\n    seed_transpiler=7,\n)\nisa_circuit = pass_manager.run(circuit)\nisa_observable = observable.apply_layout(isa_circuit.layout)\n\nestimator = Estimator(\n    mode=backend,\n    options={\"resilience_level\": 1},\n)\npub_result = estimator.run(\n    [(isa_circuit, isa_observable)],\n    precision=0.02,\n).result()[0]\nprint(pub_result.data.evs, pub_result.data.stds)\n```\n\nError mitigation is not guaranteed to improve every workload and increases cost. Record the complete options and result metadata.\n\n## Non-Negotiable Qiskit 2.x Rules\n\n- Use V2 primitive interfaces and PUB inputs. Do not write new V1 `Sampler`, `Estimator`, or `QuantumInstance` code.\n- Runtime primitives accept ISA circuits; they do not perform layout, routing, and basis translation for you.\n- Apply the transpiler layout to Estimator observables with `observable.apply_layout(isa_circuit.layout)`.\n- Use `mode=backend`, `mode=session`, or `mode=batch` for Runtime primitives.\n- Use `EstimatorV2` for resilience levels and expectation-value mitigation. Sampler has different noise-management options and no Estimator-style resilience levels.\n- Treat `BackendV2.target`, `backend.operation_names`, `backend.coupling_map`, and direct backend attributes as the source of hardware constraints. Do not use `backend.configuration()` or `BackendProperties`.\n- Read Sampler output by classical register name. Bitstrings are displayed most-significant bit first; Qiskit qubit 0 is conventionally the least-significant bit.\n- Use a fixed `seed_transpiler` when comparing compilation settings. A simulator seed does not make QPU results deterministic.\n- `qiskit.pulse` was removed in Qiskit 2.0. Use supported fractional gates for IBM hardware or Qiskit Dynamics for pulse-model research.\n- QPY is the Qiskit-native circuit serialization format. Do not use Python pickle for untrusted circuit artifacts.\n\nSee [references\u002Fmigration.md](references\u002Fmigration.md) for a detailed old-to-current API map.\n\n## Execution Modes\n\nChoose based on workload shape and account plan:\n\n- **Job mode**: one-off work; instantiate a primitive with `mode=backend`.\n- **Batch mode**: independent jobs submitted together; available on the Open Plan.\n- **Session mode**: iterative jobs that benefit from prioritized follow-on execution; unavailable on the Open Plan.\n\n```python\nfrom qiskit_ibm_runtime import Batch, SamplerV2 as Sampler\n\nwith Batch(backend=backend, max_time=\"10m\") as batch:\n    sampler = Sampler(mode=batch)\n    jobs = [sampler.run([circuit], shots=1024) for circuit in isa_circuits]\n\nresults = [job.result() for job in jobs]\n```\n\nClose sessions and batches after submission. Exiting their context stops new submissions but allows accepted jobs to finish, subject to service limits.\n\n## Reference Map\n\nRead only the files needed for the current task:\n\n| Topic | Reference |\n|---|---|\n| Versions, installation, authentication, CI | [references\u002Fsetup.md](references\u002Fsetup.md) |\n| Circuits, parameters, control flow, QPY | [references\u002Fcircuits.md](references\u002Fcircuits.md) |\n| V2 PUBs, broadcasting, local and Runtime results | [references\u002Fprimitives.md](references\u002Fprimitives.md) |\n| Targets, ISA circuits, layouts, pass managers | [references\u002Ftranspilation.md](references\u002Ftranspilation.md) |\n| IBM backends, modes, jobs, Aer, mitigation | [references\u002Fbackends.md](references\u002Fbackends.md) |\n| End-to-end map\u002Foptimize\u002Fexecute\u002Fanalyze patterns | [references\u002Fpatterns.md](references\u002Fpatterns.md) |\n| Algorithms, addons, Nature, ML, Optimization | [references\u002Falgorithms.md](references\u002Falgorithms.md) |\n| Circuit, result, state, and backend plots | [references\u002Fvisualization.md](references\u002Fvisualization.md) |\n| Qiskit 0.x\u002F1.x and Runtime migration | [references\u002Fmigration.md](references\u002Fmigration.md) |\n| Testing, reproducibility, and troubleshooting | [references\u002Ftesting.md](references\u002Ftesting.md) |\n| Upstream docs, release notes, and version baseline | [references\u002Fsources.md](references\u002Fsources.md) |\n\n## Bundled Scripts\n\nRun from the skill directory:\n\n```bash\n# Installed-package and legacy-environment checks; no network or credential reads\npython scripts\u002Fcheck_environment.py\n\n# Runnable V2 local Sampler and Estimator example\npython scripts\u002Frun_local_primitives.py --shots 1024 --seed 7\n\n# Read-only IBM backend capability inspection; uses saved credentials\npython scripts\u002Finspect_runtime.py --min-qubits 5\n```\n\nThe Runtime inspection script selects or inspects a backend but never submits a quantum job.\n\n## Final Checklist\n\nBefore returning Qiskit code:\n\n1. Confirm package versions and Python compatibility.\n2. Run locally with statevector primitives or Aer.\n3. Verify parameter order, observable qubit count, and classical-register names.\n4. Transpile against the exact `BackendV2` target and inspect depth and two-qubit operations.\n5. Apply the final layout to every observable.\n6. Estimate QPU cost and choose job, batch, or session mode.\n7. Save job IDs, package versions, seeds, backend name, primitive options, and result metadata.\n8. Never expose API keys in source, logs, notebooks, or version control.\n\n## Related skills\n\n- `cirq`: Google quantum computing framework.\n- `pennylane`: Hardware-agnostic quantum ML framework with automatic differentiation.\n- `pi-agent`: Build with and use Pi, the minimal terminal coding harness.\n","# Qiskit\n\nUse current Qiskit 2.x APIs to build circuits, prepare hardware-compatible instruction set architecture (ISA) circuits, and execute them through V2 primitives.\n\nThis skill was verified on **2026-07-23** against the PyPI releases `qiskit==2.5.0`, `qiskit-ibm-runtime==0.48.0`, and `qiskit-aer==0.17.2`. Check [references\u002Fsources.md](references\u002Fsources.md) before changing pins or documenting newly released behavior.\n\n## Choose the Right Path\n\n| Goal | Recommended interface |\n|---|---|\n| Exact local sampling | `qiskit.primitives.StatevectorSampler` |\n| Exact local expectation values | `qiskit.primitives.StatevectorEstimator` |\n| High-performance or noisy simulation | Qiskit Aer |\n| IBM QPU sampling | `qiskit_ibm_runtime.SamplerV2` |\n| IBM QPU expectation values and mitigation | `qiskit_ibm_runtime.EstimatorV2` |\n| Backend without native primitives | `BackendSamplerV2` or `BackendEstimatorV2` |\n| Open-system or master-equation dynamics | Prefer QuTiP |\n| Differentiable quantum machine learning | Prefer PennyLane unless Qiskit integration is required |\n\n## Installation\n\nCreate an isolated environment and install only the components needed:\n\n```bash\nuv venv --python 3.13\nsource .venv\u002Fbin\u002Factivate\n\n# Core SDK plus plotting support\nuv pip install \"qiskit[visualization]==2.5.0\"\n\n# Add only when needed\nuv pip install \"qiskit-ibm-runtime==0.48.0\"\nuv pip install \"qiskit-aer==0.17.2\"\n```\n\nDo not install `qiskit-terra`; it was superseded by the `qiskit` distribution. Qiskit Runtime, Aer, Nature, Machine Learning, Optimization, and Algorithms are separate distributions.\n\nFor IBM account setup, CI-safe credential handling, optional packages, and environment repair, read [references\u002Fsetup.md](references\u002Fsetup.md).\n\n## Core Workflow\n\nFollow this sequence for every hardware-oriented workload:\n\n1. **Map** the problem to a circuit and, for Estimator, one or more observables.\n2. **Optimize** the parameterized circuit once for the selected backend.\n3. **Apply the layout** to every observable.\n4. **Execute** ISA circuits through a V2 primitive using Primitive Unified Blocs (PUBs).\n5. **Analyze** register-aware results, metadata, uncertainty, and resource usage.\n\nDo not bind and retranspile a parameterized circuit inside every optimizer iteration. Transpile the parameterized circuit once, then pass parameter arrays in PUBs.\n\n## Quick Local Sampling\n\n```python\nfrom qiskit import QuantumCircuit\nfrom qiskit.primitives import StatevectorSampler\n\ncircuit = QuantumCircuit(2)\ncircuit.h(0)\ncircuit.cx(0, 1)\ncircuit.measure_all()  # creates the classical register named \"meas\"\n\nsampler = StatevectorSampler(seed=7)\npub_result = sampler.run([circuit], shots=1024).result()[0]\ncounts = pub_result.data.meas.get_counts()\nprint(counts)\n```\n\nSampler V2 preserves shots and classical-register structure. Access the register by its actual name; `measure_all()` uses `meas`.\n\n## Quick Local Estimation\n\n```python\nimport numpy as np\nfrom qiskit import QuantumCircuit\nfrom qiskit.circuit import Parameter\nfrom qiskit.primitives import StatevectorEstimator\nfrom qiskit.quantum_info import SparsePauliOp\n\ntheta = Parameter(\"theta\")\ncircuit = QuantumCircuit(2)\ncircuit.ry(theta, 0)\ncircuit.cx(0, 1)\n\nobservable = SparsePauliOp.from_list([(\"ZZ\", 1.0), (\"XX\", 0.5)])\nparameter_values = [[0.0], [np.pi \u002F 4], [np.pi \u002F 2]]\n\nestimator = StatevectorEstimator(seed=7)\npub = (circuit, observable, parameter_values)\npub_result = estimator.run([pub]).result()[0]\nprint(pub_result.data.evs)\n```\n\nEstimator circuits should not contain final measurements. PUB arrays broadcast; verify circuit parameter order before constructing large sweeps.\n\n## IBM QPU Sampling\n\nThis example assumes credentials were saved securely as described in [references\u002Fsetup.md](references\u002Fsetup.md). It never embeds or prints an API key.\n\n```python\nfrom qiskit import QuantumCircuit\nfrom qiskit.transpiler import generate_preset_pass_manager\nfrom qiskit_ibm_runtime import QiskitRuntimeService, SamplerV2 as Sampler\n\nservice = QiskitRuntimeService()\nbackend = service.least_busy(\n    operational=True,\n    simulator=False,\n    min_num_qubits=2,\n)\n\ncircuit = QuantumCircuit(2)\ncircuit.h(0)\ncircuit.cx(0, 1)\ncircuit.measure_all()\n\npass_manager = generate_preset_pass_manager(\n    backend=backend,\n    optimization_level=1,\n    seed_transpiler=7,\n)\nisa_circuit = pass_manager.run(circuit)\n\nsampler = Sampler(mode=backend)\njob = sampler.run([isa_circuit], shots=1024)\nprint(\"job_id:\", job.job_id())\ncounts = job.result()[0].data.meas.get_counts()\n```\n\nSave the job ID before waiting for results so the job can be retrieved later.\n\n## IBM QPU Estimation\n\nRuntime Estimator requires both an ISA circuit and observables mapped through the transpiler layout:\n\n```python\nfrom qiskit import QuantumCircuit\nfrom qiskit.quantum_info import SparsePauliOp\nfrom qiskit.transpiler import generate_preset_pass_manager\nfrom qiskit_ibm_runtime import EstimatorV2 as Estimator\n\ncircuit = QuantumCircuit(2)\ncircuit.h(0)\ncircuit.cx(0, 1)\nobservable = SparsePauliOp.from_list([(\"ZZ\", 1.0)])\n\npass_manager = generate_preset_pass_manager(\n    backend=backend,\n    optimization_level=1,\n    seed_transpiler=7,\n)\nisa_circuit = pass_manager.run(circuit)\nisa_observable = observable.apply_layout(isa_circuit.layout)\n\nestimator = Estimator(\n    mode=backend,\n    options={\"resilience_level\": 1},\n)\npub_result = estimator.run(\n    [(isa_circuit, isa_observable)],\n    precision=0.02,\n).result()[0]\nprint(pub_result.data.evs, pub_result.data.stds)\n```\n\nError mitigation is not guaranteed to improve every workload and increases cost. Record the complete options and result metadata.\n\n## Non-Negotiable Qiskit 2.x Rules\n\n- Use V2 primitive interfaces and PUB inputs. Do not write new V1 `Sampler`, `Estimator`, or `QuantumInstance` code.\n- Runtime primitives accept ISA circuits; they do not perform layout, routing, and basis translation for you.\n- Apply the transpiler layout to Estimator observables with `observable.apply_layout(isa_circuit.layout)`.\n- Use `mode=backend`, `mode=session`, or `mode=batch` for Runtime primitives.\n- Use `EstimatorV2` for resilience levels and expectation-value mitigation. Sampler has different noise-management options and no Estimator-style resilience levels.\n- Treat `BackendV2.target`, `backend.operation_names`, `backend.coupling_map`, and direct backend attributes as the source of hardware constraints. Do not use `backend.configuration()` or `BackendProperties`.\n- Read Sampler output by classical register name. Bitstrings are displayed most-significant bit first; Qiskit qubit 0 is conventionally the least-significant bit.\n- Use a fixed `seed_transpiler` when comparing compilation settings. A simulator seed does not make QPU results deterministic.\n- `qiskit.pulse` was removed in Qiskit 2.0. Use supported fractional gates for IBM hardware or Qiskit Dynamics for pulse-model research.\n- QPY is the Qiskit-native circuit serialization format. Do not use Python pickle for untrusted circuit artifacts.\n\nSee [references\u002Fmigration.md](references\u002Fmigration.md) for a detailed old-to-current API map.\n\n## Execution Modes\n\nChoose based on workload shape and account plan:\n\n- **Job mode**: one-off work; instantiate a primitive with `mode=backend`.\n- **Batch mode**: independent jobs submitted together; available on the Open Plan.\n- **Session mode**: iterative jobs that benefit from prioritized follow-on execution; unavailable on the Open Plan.\n\n```python\nfrom qiskit_ibm_runtime import Batch, SamplerV2 as Sampler\n\nwith Batch(backend=backend, max_time=\"10m\") as batch:\n    sampler = Sampler(mode=batch)\n    jobs = [sampler.run([circuit], shots=1024) for circuit in isa_circuits]\n\nresults = [job.result() for job in jobs]\n```\n\nClose sessions and batches after submission. Exiting their context stops new submissions but allows accepted jobs to finish, subject to service limits.\n\n## Reference Map\n\nRead only the files needed for the current task:\n\n| Topic | Reference |\n|---|---|\n| Versions, installation, authentication, CI | [references\u002Fsetup.md](references\u002Fsetup.md) |\n| Circuits, parameters, control flow, QPY | [references\u002Fcircuits.md](references\u002Fcircuits.md) |\n| V2 PUBs, broadcasting, local and Runtime results | [references\u002Fprimitives.md](references\u002Fprimitives.md) |\n| Targets, ISA circuits, layouts, pass managers | [references\u002Ftranspilation.md](references\u002Ftranspilation.md) |\n| IBM backends, modes, jobs, Aer, mitigation | [references\u002Fbackends.md](references\u002Fbackends.md) |\n| End-to-end map\u002Foptimize\u002Fexecute\u002Fanalyze patterns | [references\u002Fpatterns.md](references\u002Fpatterns.md) |\n| Algorithms, addons, Nature, ML, Optimization | [references\u002Falgorithms.md](references\u002Falgorithms.md) |\n| Circuit, result, state, and backend plots | [references\u002Fvisualization.md](references\u002Fvisualization.md) |\n| Qiskit 0.x\u002F1.x and Runtime migration | [references\u002Fmigration.md](references\u002Fmigration.md) |\n| Testing, reproducibility, and troubleshooting | [references\u002Ftesting.md](references\u002Ftesting.md) |\n| Upstream docs, release notes, and version baseline | [references\u002Fsources.md](references\u002Fsources.md) |\n\n## Bundled Scripts\n\nRun from the skill directory:\n\n```bash\n# Installed-package and legacy-environment checks; no network or credential reads\npython scripts\u002Fcheck_environment.py\n\n# Runnable V2 local Sampler and Estimator example\npython scripts\u002Frun_local_primitives.py --shots 1024 --seed 7\n\n# Read-only IBM backend capability inspection; uses saved credentials\npython scripts\u002Finspect_runtime.py --min-qubits 5\n```\n\nThe Runtime inspection script selects or inspects a backend but never submits a quantum job.\n\n## Final Checklist\n\nBefore returning Qiskit code:\n\n1. Confirm package versions and Python compatibility.\n2. Run locally with statevector primitives or Aer.\n3. Verify parameter order, observable qubit count, and classical-register names.\n4. Transpile against the exact `BackendV2` target and inspect depth and two-qubit operations.\n5. Apply the final layout to every observable.\n6. Estimate QPU cost and choose job, batch, or session mode.\n7. Save job IDs, package versions, seeds, backend name, primitive options, and result metadata.\n8. Never expose API keys in source, logs, notebooks, or version control.\n\n## Related skills\n\n- `cirq`: Google quantum computing framework.\n- `pennylane`: Hardware-agnostic quantum ML framework with automatic differentiation.\n- `pi-agent`: Build with and use Pi, the minimal terminal coding harness.\n",{"name":5,"license":15,"metadata":43,"description":7,"compatibility":48},{"tags":44,"version":45,"category":46,"maintainer":47},"quantum computing, quantum circuits, IBM Quantum, physics","2.1","physical-sciences","Kalaris Labs","Python 3.10+ on a supported 64-bit platform. Local SDK workflows need qiskit; noisy simulation needs qiskit-aer; IBM QPU access needs qiskit-ibm-runtime, network access, an IBM Quantum Platform account, and an API key.","main","0da4485785ee599388900be50db1635489d53056",".agents\u002Fskills\u002Fkal-qiskit","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6","https:\u002F\u002Fdisha6.6.thenitishkr.in\u002F","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh","www.thenitishkr","thenitishkr | AI • Cyber-security • Research\r\n","2026-11-08 03:33:25",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add Tashima-Tarsh\u002FDisha6.6 --skill qiskit",{"tool":64,"command":65},"bunx","bunx skills add Tashima-Tarsh\u002FDisha6.6 --skill qiskit",{"tool":67,"command":68},"pnpm","pnpm dlx skills add Tashima-Tarsh\u002FDisha6.6 --skill qiskit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002FSKILL.md",true,[72,78,82,86,90,94,98,102,106,110,114,118,124,128],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Falgorithms.md","REFERENCE","参考文档",9893,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Freferences\u002Falgorithms.md",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fbackends.md",11200,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Freferences\u002Fbackends.md",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fcircuits.md",9568,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Freferences\u002Fcircuits.md",{"path":87,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fmigration.md",9815,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Freferences\u002Fmigration.md",{"path":91,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fpatterns.md",9351,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Freferences\u002Fpatterns.md",{"path":95,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fprimitives.md",11876,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Freferences\u002Fprimitives.md",{"path":99,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fsetup.md",8132,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Freferences\u002Fsetup.md",{"path":103,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fsources.md",9311,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Freferences\u002Fsources.md",{"path":107,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Ftesting.md",10695,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Freferences\u002Ftesting.md",{"path":111,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":112,"sourceHtmlUrl":113},"references\u002Ftranspilation.md",10825,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Freferences\u002Ftranspilation.md",{"path":115,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":116,"sourceHtmlUrl":117},"references\u002Fvisualization.md",8102,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Freferences\u002Fvisualization.md",{"path":119,"resourceType":120,"resourceTypeDesc":121,"sizeBytes":122,"sourceHtmlUrl":123},"scripts\u002Fcheck_environment.py","SCRIPT","脚本",7930,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Fscripts\u002Fcheck_environment.py",{"path":125,"resourceType":120,"resourceTypeDesc":121,"sizeBytes":126,"sourceHtmlUrl":127},"scripts\u002Finspect_runtime.py",6425,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Fscripts\u002Finspect_runtime.py",{"path":129,"resourceType":120,"resourceTypeDesc":121,"sizeBytes":130,"sourceHtmlUrl":131},"scripts\u002Frun_local_primitives.py",5622,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-qiskit\u002Fscripts\u002Frun_local_primitives.py",[133,165,189,216,241,264],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":137,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":145,"publishedAt":38},"01M6QRD07D4TGNDK6VJ4EHF8BV","youtube-full","Use when the user needs YouTube transcripts, video search, channel browsing, playlist extraction, or content monitoring. Trigger phrases: 'get the transcript for', 'search YouTube for', 'what are the latest videos on', 'list this playlist', 'monitor this channel', or any request involving a YouTube URL, video ID, or @handle. Do NOT use for downloading video or audio files, YouTube engagement data (likes, comments), or private\u002Fage-restricted videos.","MIT","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fyoutube-full\u002FSKILL.md",[140],{"categoryNo":141,"categoryName":142,"taxonomyType":143,"taxonomyTypeDesc":144},"01JBSEEDCAT000000000000016","图像与多媒体","SCENARIO","使用场景",[146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,20,162,163,164],"youtube full","youtube","full","transcript","search","monitoring","data","Video","Audio","list","files","do","get","age","trigger","URL","browsing","request","youtube transcripts",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":137,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":38},"01M6QRCJ3112VYPA97YG7KGMC2","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[172,173,174,175,150,176,177,178,179,180,181,182,183,184,185,24,186,187,188,20],"twitter","x twitter growth","growth","research","content","engineering","plan","web search","competitors","analyze","engine","write","strategy","use","grow","posting","competitive",{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":137,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":198,"publishedAt":38},"01M6QRBN3EHQNJY42RERP7A149","write-a-skill","Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, build, or author a new skill.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",[195],{"categoryNo":196,"categoryName":197,"taxonomyType":143,"taxonomyTypeDesc":144},"01JBSEEDCAT000000000000023","Skill与智能体开发",[199,183,200,201,202,203,204,205,185,206,207,49,208,209,210,211,212,213,214,215],"write a skill","github","create","https","productivity","matt pocock","direct","example","build","new skill","structure","new agent","resources","with","tree","progressive disclosure","author",{"skillNo":217,"name":218,"nameZh":6,"description":219,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":137,"licenseFileUrl":6,"sourceHtmlUrl":220,"categories":221,"keywords":222,"publishedAt":38},"01M6QRB6G8P33PNGAF9Y69EJ9T","wrap-up","Close out a launched Claude Managed Agent — recap every primitive the founder now owns, regenerate the single-file overview page, and suggest the next 1-2 upgrades. Use when the user says \"wrap up\", \"close this out\", \"what do I own now\", \"give me the summary\", \"recap the agent\", or when the orchestrator routes phase=wrap-up. primitives_inventory.py tables everything owned (agent, environment, session, memory, outcome, deployment); overview_page.py regenerates a self-contained .\u002Fmy-agent\u002Fagent-overview.html; upgrade_suggester.py ranks the next moves from recorded deferrals plus standing hardening steps. Companion to run-without-you; the last stop before phase=done.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrap-up\u002FSKILL.md",[],[223,224,225,226,227,228,229,230,231,185,232,157,233,234,235,236,237,238,239,240],"wrap up","up","wrap","gemini","deployment","run","file","hardening","closeout","stop","upgrade","founder","close","companion","you","tables","directions","phase",{"skillNo":242,"name":243,"nameZh":6,"description":244,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":137,"licenseFileUrl":6,"sourceHtmlUrl":245,"categories":246,"keywords":248,"publishedAt":38},"01M6QRA5AYC1RBFZ39GTWGS3N8","workflow-builder","Design and write deterministic multi-agent workflow scripts (.js files in .claude\u002Fworkflows\u002F) for Claude Code's Workflow tool. Use when a user wants to build, create, author, scaffold, or run a custom Claude Code workflow, orchestrate sub-agents (fan-out, pipeline, loop, judge-panel), or automate a repeatable multi-step task across fresh-context agents.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow-builder\u002FSKILL.md",[247],{"categoryNo":196,"categoryName":197,"taxonomyType":143,"taxonomyTypeDesc":144},[249,250,251,252,37,201,228,253,254,255,256,257,183,258,156,259,260,261,262,263],"workflow","workflow builder","builder","design","code","orchestrate","pipeline","loop","multi-agent","context","across","fresh","scripts","judge","claude code workflow",{"skillNo":265,"name":266,"nameZh":6,"description":267,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":137,"licenseFileUrl":6,"sourceHtmlUrl":268,"categories":269,"keywords":270,"publishedAt":38},"01M6QR7QMCZESKQA0ERW1E657M","weekly-review","Use when someone wants to run a weekly review, close open loops, audit stalled projects and commitments, get their system back to trusted, restart a lapsed review habit, or says \"\u002Fcs:weekly-review\". Walks David Allen's three-phase loop — GET CLEAR, GET CURRENT, GET CREATIVE — with deterministic scripts that inventory open loops, gate the checklist with named gaps, and score commitment health 0-100.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fweekly-review\u002FSKILL.md",[],[271,272,273,274,275,276,277,278,279,256,280,281,282,283,284,285,158,286,287,240],"review","weekly review","weekly","deterministic scripts","reflect","feeds","inventory","open","team","projects","project-management","scanner","conversation","back","project","sprint","cadence"]