SkillsReviewed · aiming-lab

AutoResearchClaw Quantum Qiskit Skill

Quantum Qiskit is an assistant skill for Python developers building quantum machine learning experiments, but its sample classifier readout has a correctness problem and package compatibility is unverified. It provides Qiskit 2.x reference patterns for data encoding, variational classifiers, chemistry calculations and noisy simulation.

Researched 16 Nov 2026

In short.

Quantum Qiskit is an assistant skill for developers writing quantum machine learning code, but its examples need correction and no validated dependency combination is supplied. It covers trainable quantum circuits, classification, molecular energy optimization and simulation with noise. Its matrix product state classifier assigns class zero a constant maximum logit, undermining the proposed classification readout. Runtime compatibility, predictive accuracy, simulation performance and execution cost remain unverified.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to researchclaw/skills/builtin/domain/quantum-qiskit/SKILL.md and the repository-level LICENSE at commit be4ba4755bf1b52220f25e13b2293b5956590070. The supplied manifest marks the selected folder coverage complete and lists no additional selected files. The wider AutoResearchClaw application, assistant loading behavior, dependency implementations, datasets and external services are outside this evidence. No code was executed; compatibility, scientific outcomes, performance and cost remain unverified.

The overview

Identity

The resource is researchclaw/skills/builtin/domain/quantum-qiskit/SKILL.md in aiming-lab/AutoResearchClaw. It is an instruction and reference file intended for an assistant generating Python code that uses Qiskit and related packages.

Its metadata names the skill quantum-qiskit, identifies researchclaw as its author and labels the skill version 2.0. That version identifies the skill; the separate Qiskit 2.x target describes the software APIs discussed.

Assessment

The file is useful as a reference for the structure of quantum experiments: encode input data, construct a trainable circuit, select an optimizer and record meaningful outcomes. Its concrete examples and discussion of misleading convergence measurements make it more substantial than a list of API names.

It needs close technical supervision before reuse. The classifier readout has a mathematical defect, the amplitude-encoding helper lacks a valid zero-input case, and broad compatibility claims have no pinned companion-package versions or supporting execution logs.

Users

The intended users are coding assistants and Python developers working on quantum classification, molecular energy estimation or simulator-based noise experiments. Researchers comparing feature encodings, optimizers or simulation approaches may find relevant starting points.

Beginners need working knowledge of NumPy, training data and numerical optimization. Quantum circuits, observables and trainable circuit templates are used with limited introductory explanation, so the file is better suited to readers who can consult additional quantum computing material.

Capabilities

The examples cover angle, amplitude and ZZ feature encodings; EfficientSU2 trainable circuits; and a variational quantum classifier using VQC, StatevectorSampler and COBYLA. A variational classifier combines a parameterized quantum circuit with a classical training process.

For chemistry, the file constructs an H2 Hamiltonian with PySCFDriver and ParityMapper, then minimizes estimated energy using SPSA, COBYLA, L_BFGS_B or ADAM. Further sections describe Aer matrix product state simulation, depolarizing noise through BackendSamplerV2 and running-mean convergence accounting.

An AutoClaw-specific helper emits METRIC_RESULT lines containing JSON metrics. The file does not supply datasets, trained models, measured benchmark results or a complete experiment application.

Using it

Requirements

The snippets use Python, NumPy, Qiskit, qiskit_aer, qiskit_algorithms and qiskit_machine_learning. Chemistry examples additionally use qiskit_nature and its PySCFDriver path. Exact compatible releases, the minimum Python version and a dependency lockfile are not supplied.

The shown execution paths use statevector or Aer simulators, so those snippets do not require access to a quantum processor. CPU, memory, operating-system support and practical circuit-size limits are unspecified.

An assistant host must support loading this skill format to use it automatically. The metadata declares keyword triggers and applicable stages, but compatibility with other assistant hosts is not established.

Mechanism

The skill supplies instructions and code examples to a coding assistant. Its metadata associates it with imports and terms such as qiskit, VQC, VQE, feature maps and quantum circuits. The file itself is not an executable experiment runner.

The classification examples encode classical features into a quantum circuit and optimize a trainable circuit through VQC.fit. The chemistry example repeatedly evaluates a Hamiltonian with StatevectorEstimator while a classical optimizer adjusts circuit parameters.

Noise is introduced by attaching a model to AerSimulator and wrapping that backend with BackendSamplerV2. The optional logging helper follows the AutoClaw pipeline's output convention; its aggregation machinery is outside this skill.

Setup

Obtain the original file at the captured revision: [https://raw.githubusercontent.com/aiming-lab/AutoResearchClaw/be4ba4755bf1b52220f25e13b2293b5956590070/researchclaw/skills/builtin/domain/quantum-qiskit/SKILL.md]. It can be read directly or loaded using the intended assistant host's skill mechanism. A host-specific installation procedure is not supplied.

For code reuse, create an isolated Python environment and establish compatible versions of the packages needed for the chosen example. Verify imports and constructor signatures before building a larger experiment. The file provides neither a complete installation command nor a validated environment specification.

Example

A documented classification path builds a ZZ feature map with two repetitions and linear entanglement, pairs it with build_ansatz, and passes training arrays and a seed to train_vqc. That helper constructs VQC with cross-entropy loss, COBYLA and StatevectorSampler, then calls fit.

The fitted model can subsequently be used through VQC.predict, as described in the file. No dataset, resulting accuracy or successful execution is supplied, so this illustrates the intended API sequence without establishing a working result.

Assessment & evidence

Limitations

A mathematical deduction from mps_class_logits exposes a classifier defect. Class zero receives an identity observable, whose expectation is always 1 for a normalized state. The other outputs are Pauli expectation values and cannot exceed 1. Applying softmax therefore cannot give another class a strictly larger score, undermining the proposed general classifier.

The amplitude-binding helper leaves an all-zero input as an all-zero amplitude vector, which is not a normalized quantum state. The construction also assumes StatePreparation accepts symbolic amplitudes; the supplied material does not establish that behavior for a specific package version.

The VQE and GroundStateEigensolver import failures are presented as general Qiskit 2.x restrictions without exact qiskit_algorithms or qiskit_nature versions. These compatibility claims remain unverified.

Claims about efficient 32–128-qubit MPS simulation have no accompanying runtime, memory or accuracy measurements. The suggested Gaussian perturbation of ideal energy estimates is an approximation, not evidence of measured hardware behavior or actual shot consumption.

Reasoning

The strongest practical guidance concerns experiment integrity: retain training failures, distinguish a non-converged run from measured convergence, and avoid reporting a budget upper bound as shots to convergence. These recommendations address specific ways quantum experiment results can become misleading.

Other details need reconciliation before they support quantitative comparisons. The ansatz comment gives a parameter-count formula for an RY-only gate choice, but the constructor does not explicitly set that choice. Reading ansatz.num_parameters, as the file also suggests, avoids relying on an unstated default.

The useful structure supports treating the file as a starting reference. The visible mathematical problem and missing environment evidence prevent treating its examples as validated implementations.

Alternatives

For work where API accuracy is the priority, a reasonable alternative is to build a smaller example from documentation matching the exact installed Qiskit and companion-package releases. This is a recommended approach; no competing skill or comparative evaluation is supplied.

Within this resource, the documented approaches include VQC-managed classification, a manual estimator-based chemistry loop, ideal statevector simulation and Aer simulation with noise. They address different experimental needs, and the file supplies no measured comparison establishing which is preferable for a particular workload.

Evidence

The supplied snapshot contains the selected quantum-qiskit SKILL.md and the repository-level LICENSE at commit be4ba4755bf1b52220f25e13b2293b5956590070. The manifest identifies these as the complete selected folder content and its related license notice.

The skill supports findings about its stated purpose, metadata, code structure and visible mathematical relationships. It does not establish successful installation, dependency compatibility, trained accuracy, convergence outcomes or performance. Nothing was executed, and runtime behavior remains unverified.

Access & freshness

Costs

No execution price, compute budget, runtime measurement or hardware-service fee is supplied. Total cost is unknown.

The examples require compute for simulation and repeated optimization evaluations. The file discusses counting energy evaluations and nominal shots, but these do not establish actual resource consumption or monetary cost. Any assistant-host or cloud-compute charges are also unknown.

Rights

The captured repository-level MIT license, copyright 2026 Aiming Lab, permits use, copying, modification, distribution, sublicensing and sale. Copies or substantial portions must retain the copyright and permission notice. The license disclaims warranty and liability.

The notice is available at [https://raw.githubusercontent.com/aiming-lab/AutoResearchClaw/be4ba4755bf1b52220f25e13b2293b5956590070/LICENSE]. No contrary notice appears in the supplied skill file. License terms for separately obtained dependencies are not established by these two files.

Freshness

The supplied snapshot was captured on 16 November 2026 at 15:23:18.309 UTC from commit be4ba4755bf1b52220f25e13b2293b5956590070. Its skill metadata reports version 2.0 and its text targets Qiskit 2.x.

The capture does not establish the current contents of the main branch or compatibility with every Qiskit 2.x release. No dated validation results or supported companion-package version matrix accompanies the file.

Actions

Before relying on the examples, pin dependency versions and verify the relevant imports and API signatures. Check amplitude construction with ordinary and zero-valued inputs, and use the actual circuit parameter count when comparing optimization budgets.

Replace the identity-dominated MPS classifier readout with a justified classification mapping before evaluating accuracy. Validate the resulting outputs on a small labeled example and compare them with an appropriate baseline.

For research use, record seeds, failed training attempts, evaluation counts and whether shot totals were simulated, budgeted or actually measured. Establish runtime, accuracy and convergence from fresh execution; none is demonstrated by the supplied file.

Evidence for this report

LICENSEnotice · checked 2026-11-16