13c-metabolic-flux
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,โฆ
Builds and differentiates PennyLane quantum circuits, hybrid PyTorch or JAX models, molecular VQE and QAOA workflows. Use for variational quantum algorithms, quantum machine learning, simulator validation, and moving validated circuits to provider plugins. For hardware-specific
Claude Code
$ npx -y skills add K-Dense-AI/scientific-agent-skills --skill pennylane --agent claude-code
Codex
$ npx skills add K-Dense-AI/scientific-agent-skills --skill pennylane -a codex -y
Cursor
$ npx skills add K-Dense-AI/scientific-agent-skills --skill pennylane -a cursor -y
Gemini CLI
$ npx skills add K-Dense-AI/scientific-agent-skills --skill pennylane -a gemini-cli -y
GitHub Copilot
$ npx skills add K-Dense-AI/scientific-agent-skills --skill pennylane -a github-copilot -y
OpenCode
$ npx skills add K-Dense-AI/scientific-agent-skills --skill pennylane -a opencode -y
Windsurf
$ npx skills add K-Dense-AI/scientific-agent-skills --skill pennylane -a windsurf -y
name: pennylane description: Builds and differentiates PennyLane quantum circuits, hybrid PyTorch or JAX models, molecular VQE and QAOA workflows. Use for variational quantum algorithms, quantum machine learning, simulator validation, and moving validated circuits to provider plugins. For hardware-specific compilation use qiskit or cirq; for open-system dynamics use qutip. license: Apache-2.0 license compatibility: Requires Python 3.11+ and PennyLane 0.45.1 with NumPy 2+. Optional PyTorch, JAX or provider plugins need separate compatible environments. Local simulation needs no credentials; hardware requires provider credentials and network access. allowed-tools: Read Bash Python metadata: version: "2.0" skill-author: K-Dense Inc. last-reviewed: "2026-10-01" upstream-version: "0.45.1"
Use PennyLane to optimize parameterized circuits, build hybrid quantum-classical models, estimate molecular energies, or compare a validated circuit across devices. This skill targets stable PennyLane 0.45.1. The local examples use small synthetic systems; successful optimization does not establish quantum advantage, molecular accuracy, or hardware fidelity.
Create a dedicated environment; provider plugins and compiler dependencies should be resolved separately from unrelated scientific packages:
uv venv --python 3.13 .venv-pennylane uv pip install --python .venv-pennylane/bin/python "pennylane==0.45.1"
PennyLane 0.45 requires NumPy 2+. Core installation includes Lightning. For ML, use the tested JAX 0.7.1/JAXlib 0.7.1 pair or PyTorch; do not assume the latest JAX is supported by this PennyLane release. See [device setup](references/devices_backends.md) for optional plugin versions and their verification limits.
1. Fix the problem convention: feature ordering and label encoding for ML; Hamiltonian sign for optimization; units, charge, multiplicity, basis, active space and mapping for chemistry. 2. Build a small analytic `default.qubit` circuit. Keep the quantum function separate from the QNode when reusing it on another backend. 3. Check a known value and a gradient against an analytic or finite-difference result before training. Use trainable `pennylane.numpy` arrays for Autograd, framework-native tensors for Torch/JAX. 4. Optimize while recording objective, gradient norm, seeds, ansatz shape and package versions. `step_and_cost` returns the cost **before** its update; evaluate the objective again for final reporting. 5. Validate independently: held-out examples and classical baselines for ML; particle number and a sector-appropriate classical reference for VQE; enumerated small instances for QAOA. 6. Introduce finite shots/noise, report uncertainty, inspect decomposed resources, then select a current accessible hardware backend and execution budget. Plugin portability does not guarantee identical gates, measurements or gradients.
This self-contained example is executed by the skill's tests.
import pennylane as qml
from pennylane import numpy as np
dev = qml.device("default.qubit", wires=1)
@qml.qnode(dev, interface="autograd", diff_method="backprop")
def energy(theta):
qml.RY(theta, wires=0)
return qml.expval(qml.Z(0))
theta = np.array(0.3, requires_grad=True)
assert np.allclose(energy(theta), np.cos(theta))
assert np.allclose(qml.grad(energy)(theta), -np.sin(theta))
opt = qml.GradientDescentOptimizer(stepsize=0.2)
for _ in range(80):
theta = opt.step(energy, theta)
final_energy = float(energy(theta))
assert final_energy < -0.999
print(f"[OK] final expectation = {final_energy:.6f}")trainability, batched parameters and simulator selection.
wire ordering, QFT, transforms and current resource access.
stable classifier loss, feature scaling and evaluation.
sector checks, dipoles, active spaces, geometry and excited-state caveats.
credentials, current target discovery and source-only integration boundaries.
sign and exact QUBO-to-Ising conversion.
parametrized Hamiltonian evolution, Catalyst and error-correction examples.
Use `qml.set_shots` on the QNode rather than mutating device shots.
top-level dictionary keys. Record the transform level and account for split tapes.
shot noise or differentiation failure. It does not by itself diagnose a barren plateau.
ansatz can leave the intended electron/spin sector.
draws; reconstructing an equally seeded device reproduces the stream.
Reviewed the [stable documentation](https://docs.pennylane.ai/en/stable/), [0.45.1 source](https://github.com/PennyLaneAI/pennylane/tree/v0.45.1), [deprecations](https://docs.pennylane.ai/en/stable/development/depreca
๐ Claude Scientific Skills is now Scientific Agent Skills. Same skills, broader compatibility โ now works with any AI agent that supports the open Agent Skills standard, not just Claude.
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,โฆ
Uses the Adaptyv Bio Foundry API and Python SDK to design protein characterization experiments, estimate costs, submit sequences,โฆ
This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting,โฆ
AlphaGenome API key, free for non-commercial use from deepmind.google.com/science/alphagenome. ALPHA_GENOME_API_KEY is acceptedโฆ
Plans, executes, and documents validation, verification, and transfer of analytical procedures under the governing framework -โฆ
Handles annotated matrices in single-cell analysis, .h5ad and Zarr files, and integration with the scverse ecosystem. This is theโฆ
Use this skill to extract structured Markdown/JSON from PDFs and document imagesโtables with cell-level precision, formulas asโฆ