Qiskit 2.x Quantum ML Reference
aiming-lab/AutoResearchClaw
Reference patterns for writing qiskit 2.x code for variational quantum machine learning: feature maps, VQC training, VQE for chemistry, MPS circuits and noise models.
Build and train variational quantum algorithms (VQE, QAOA, QML, QNN) with MindQuantum.
$ npx skills add mindspore-ai/mindquantum --skill mq-variational-training -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mindspore-ai/mindquantum mq-variational-training --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mindspore-ai/mindquantum.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mq-variational-training .claude/skills/mq-variational-training && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "mq-variational-training" agent skill from https://github.com/mindspore-ai/mindquantum/tree/master/skills/mq-variational-training into .claude/skills/mq-variational-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mq-variational-training", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mindspore-ai/mindquantum/tree/master/skills/mq-variational-trainingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mindspore-ai/mindquantum --skill mq-variational-training -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mindspore-ai/mindquantum mq-variational-training --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mindspore-ai/mindquantum.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/mq-variational-training .agents/skills/mq-variational-training && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mq-variational-training" agent skill from https://github.com/mindspore-ai/mindquantum/tree/master/skills/mq-variational-training into .agents/skills/mq-variational-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mq-variational-training", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mindspore-ai/mindquantum --skill mq-variational-training -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mindspore-ai/mindquantum mq-variational-training --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mindspore-ai/mindquantum.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/mq-variational-training .cursor/skills/mq-variational-training && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "mq-variational-training" agent skill from https://github.com/mindspore-ai/mindquantum/tree/master/skills/mq-variational-training into .cursor/skills/mq-variational-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mq-variational-training", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mindspore-ai/mindquantum.git --path skills/mq-variational-training--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mindspore-ai/mindquantum --skill mq-variational-training -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mindspore-ai/mindquantum mq-variational-training --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mindspore-ai/mindquantum.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/mq-variational-training .gemini/skills/mq-variational-training && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "mq-variational-training" agent skill from https://github.com/mindspore-ai/mindquantum/tree/master/skills/mq-variational-training into .gemini/skills/mq-variational-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mq-variational-training", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mindspore-ai/mindquantum mq-variational-trainingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mindspore-ai/mindquantum --skill mq-variational-training -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mindspore-ai/mindquantum.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/mq-variational-training .github/skills/mq-variational-training && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "mq-variational-training" agent skill from https://github.com/mindspore-ai/mindquantum/tree/master/skills/mq-variational-training into .github/skills/mq-variational-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mq-variational-training", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mindspore-ai/mindquantum --skill mq-variational-training -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mindspore-ai/mindquantum mq-variational-training --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mindspore-ai/mindquantum.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/mq-variational-training .opencode/skills/mq-variational-training && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "mq-variational-training" agent skill from https://github.com/mindspore-ai/mindquantum/tree/master/skills/mq-variational-training into .opencode/skills/mq-variational-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mq-variational-training", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
mq-variational-trainingBuild and train variational quantum algorithms (VQE, QAOA, QML, QNN) with MindQuantum.
Mq Variational Training is an agent skill from mindspore-ai/mindquantum. Build and train variational quantum algorithms (VQE, QAOA, QML, QNN) with MindQuantum. Covers the encoder/ansatz circuit pattern, getexpectationwithgrad, gradient-based optimization with SciPy or MindSpore MQLayer, and hybrid quantum-classical training loops. Use whenever the user wants to train a parameterized quantum circuit, run VQE, implement QAOA, build a quantum neural network, compute quantum gradients, use MQLayer, optimize circuit parameters, or do any hybrid quantum-classical machine learning with…
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `reference/ansatz-catalog.md`).
It sits in Research & Science, covering Quantum computing, Deep learning and Machine learning. The repository describes itself as: MindQuantum is a quantum machine learning library that can be used to build and train different quantum neural networks. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 2a0ca08. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Mq Variational Training loads about 2.5k tokens when it runs. Until then it costs about 138 tokens; SKILL.md has 178 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from mindspore-ai/mindquantum at commit 2a0ca08, republished under its Apache-2.0 licence (© mindspore-ai). 178 words, ~2,499 tokens.
.claude/skills/mq-variational-training/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.This skill covers common workflows for training parameterized quantum circuits, from circuit design through optimization to result extraction.
Common MindQuantum variational workflows use this pipeline:
Circuit Design → Hamiltonian → Simulator.get_expectation_with_grad → Optimization Loop → Results
│ │ │ │
encoder + QubitOperator → GradOpsWrapper SciPy or MindSpore
ansatz Hamiltonian encoder+ansatz: f,g_enc,g_ans
ansatz-only: f,gUse this pattern when the objective is a scalar expectation value and you want a plain NumPy/SciPy optimization loop.
import numpy as np
from scipy.optimize import minimize
from mindquantum.core.circuit import Circuit
from mindquantum.core.gates import H, RY, RX, CNOT
from mindquantum.core.operators import QubitOperator, Hamiltonian
from mindquantum.simulator import Simulator
# 1. Build ansatz (no encoder — pure variational)
n_qubits = 4
ansatz = Circuit()
for i in range(n_qubits):
ansatz += RY(f"p{i}").on(i)
for i in range(n_qubits - 1):
ansatz += CNOT.on(i + 1, i)
for i in range(n_qubits):
ansatz += RY(f"q{i}").on(i)
# 2. Define Hamiltonian
ham = Hamiltonian(
QubitOperator("Z0 Z1", -1.0)
+ QubitOperator("Z1 Z2", -1.0)
+ QubitOperator("Z2 Z3", -1.0)
+ QubitOperator("X0", -0.5)
)
# 3. Create gradient operator
sim = Simulator("mqvector", n_qubits)
grad_ops = sim.get_expectation_with_grad(ham, ansatz)
# 4. Wrap for SciPy (value + gradient)
def fun(params):
f, g = grad_ops(params)
return np.real(f)[0, 0], np.real(g)[0, 0]
# 5. Optimize
x0 = np.random.uniform(-np.pi, np.pi, len(ansatz.params_name))
result = minimize(fun, x0, method="BFGS", jac=True)
print(f"Ground state energy: {result.fun:.6f}")Use this pattern when a parameterized quantum circuit is part of a MindSpore model. Requires MindSpore.
import numpy as np
import mindspore as ms
from mindspore import nn
from mindquantum.core.circuit import Circuit
from mindquantum.core.gates import RY, CNOT
from mindquantum.core.operators import QubitOperator, Hamiltonian
from mindquantum.framework import MQLayer
from mindquantum.simulator import Simulator
ms.set_device("CPU")
ms.set_context(mode=ms.PYNATIVE_MODE)
# 1. Encoder: data → quantum state
encoder = Circuit()
for i in range(4):
encoder += RY(f"x{i}").on(i)
encoder.as_encoder()
# 2. Ansatz: trainable weights
ansatz = Circuit()
for i in range(4):
ansatz += RY(f"w{i}").on(i)
for i in range(3):
ansatz += CNOT.on(i + 1, i)
ansatz.as_ansatz()
circuit = encoder + ansatz
# 3. Hamiltonian and gradient operator
ham = Hamiltonian(QubitOperator("Z0"))
sim = Simulator("mqvector", circuit.n_qubits)
grad_ops = sim.get_expectation_with_grad(ham, circuit)
# 4. Create MQLayer (acts as a MindSpore nn.Cell)
qnet = MQLayer(grad_ops)
# 5. Standard MindSpore training.
# MQLayer returns the circuit expectation; wrap it with a loss cell for supervised tasks.
opti = nn.Adam(qnet.trainable_params(), learning_rate=0.1)
train_net = nn.TrainOneStepCell(qnet, opti)
# Training loop
for epoch in range(100):
encoder_data = ms.Tensor(np.random.uniform(0, np.pi, (1, 4)).astype(np.float32))
loss = train_net(encoder_data)
if epoch % 20 == 0:
print(f"Epoch {epoch}: loss = {float(loss.asnumpy().mean()):.4f}")
# 6. Extract trained parameters
print(dict(zip(ansatz.params_name, qnet.weight.asnumpy())))For VQE and QAOA where there is no classical input data:
from mindquantum.framework import MQAnsatzOnlyLayer
# Circuit has only ansatz parameters (no encoder)
grad_ops = sim.get_expectation_with_grad(ham, ansatz_circuit)
net = MQAnsatzOnlyLayer(grad_ops)
opti = nn.Adam(net.trainable_params(), learning_rate=0.05)
train_net = nn.TrainOneStepCell(net, opti)
for i in range(300):
loss = train_net()
if i % 50 == 0:
print(f"Step {i}: E = {loss.asnumpy():.6f}")from mindquantum.core.circuit import Circuit
from mindquantum.core.gates import H, RY, RX, CNOT
from mindquantum.core.operators import QubitOperator, Hamiltonian
from mindquantum.simulator import Simulator
import numpy as np
from scipy.optimize import minimize
# Hamiltonian for H2 (simplified)
ham_str = (
QubitOperator("", -0.8)
+ QubitOperator("Z0", 0.17)
+ QubitOperator("Z1", 0.17)
+ QubitOperator("Z0 Z1", 0.16)
+ QubitOperator("X0 X1", 0.04)
+ QubitOperator("Y0 Y1", 0.04)
)
ham = Hamiltonian(ham_str)
# Hardware-efficient ansatz
ansatz = Circuit()
ansatz += RY("a0").on(0)
ansatz += RY("a1").on(1)
ansatz += CNOT.on(1, 0)
ansatz += RY("a2").on(0)
ansatz += RY("a3").on(1)
sim = Simulator("mqvector", 2)
grad_ops = sim.get_expectation_with_grad(ham, ansatz)
def energy_and_grad(params):
f, g = grad_ops(params)
return np.real(f)[0, 0], np.real(g)[0, 0]
x0 = np.zeros(4)
result = minimize(energy_and_grad, x0, method="BFGS", jac=True)
print(f"VQE Energy: {result.fun:.6f} Ha")from mindquantum.core.circuit import Circuit, UN
from mindquantum.core.gates import H, Rzz, RX
from mindquantum.core.operators import QubitOperator, Hamiltonian
from mindquantum.simulator import Simulator
import networkx as nx
import numpy as np
from scipy.optimize import minimize
# 1. Problem: Max-Cut on a graph
g = nx.Graph([(0, 1), (1, 2), (2, 3), (3, 0), (0, 2)])
n = g.number_of_nodes()
# 2. Cost Hamiltonian from edges
ham = QubitOperator()
for u, v in g.edges:
ham += QubitOperator(f"Z{u} Z{v}")
# 3. QAOA circuit
p = 3 # number of layers
init = Circuit(UN(H, range(n)))
ansatz = Circuit()
for layer in range(p):
for u, v in g.edges:
ansatz += Rzz(f"g{layer}").on([u, v])
for node in range(n):
ansatz += RX(f"b{layer}").on(node)
circuit = init + ansatz
# 4. Optimize
sim = Simulator("mqvector", n)
grad_ops = sim.get_expectation_with_grad(Hamiltonian(ham), circuit)
def cost(params):
f, g = grad_ops(params)
return np.real(f)[0, 0], np.real(g)[0, 0]
result = minimize(cost, np.random.uniform(-np.pi, np.pi, 2 * p), method="BFGS", jac=True)
# 5. Extract solution
pr = dict(zip(circuit.params_name, result.x))
sim.reset()
sim.apply_circuit(circuit, pr)
state = sim.get_qs()
probs = np.abs(state) ** 2
best = np.argmax(probs)
print(f"Most probable bitstring: {bin(best)[2:].zfill(n)}, Cost: {result.fun:.4f}")from mindquantum.core.circuit import Circuit
from mindquantum.core.gates import RY, CNOT
from mindquantum.core.operators import QubitOperator, Hamiltonian
from mindquantum.framework import MQLayer
from mindquantum.simulator import Simulator
import mindspore as ms
from mindspore import nn
import numpy as np
ms.set_device("CPU")
ms.set_context(mode=ms.PYNATIVE_MODE)
n_features = 4
n_qubits = 4
# Encoder: amplitude encoding via rotations
encoder = Circuit()
for i in range(n_features):
encoder += RY(f"f{i}").on(i)
encoder.as_encoder()
# Ansatz: entangling layers
ansatz = Circuit()
for i in range(n_qubits):
ansatz += RY(f"w{i}").on(i)
for i in range(n_qubits - 1):
ansatz += CNOT.on(i + 1, i)
for i in range(n_qubits):
ansatz += RY(f"v{i}").on(i)
# Measurement: Z expectation as prediction
ham = Hamiltonian(QubitOperator("Z0"))
sim = Simulator("mqvector", n_qubits)
grad_ops = sim.get_expectation_with_grad(ham, encoder + ansatz)
# Hybrid model: quantum layer inside classical network
class HybridQNN(nn.Cell):
def __init__(self):
super().__init__()
self.qnn = MQLayer(grad_ops)
self.dense = nn.Dense(1, 2) # map expectation → 2 classes
def construct(self, x):
q_out = self.qnn(x)
return self.dense(q_out)
model = HybridQNN()
loss_fn = nn.SoftmaxCrossEntropyWithLogits(sparse=True, reduction="mean")
opti = nn.Adam(model.trainable_params(), learning_rate=0.05)
train_net = nn.TrainOneStepCell(nn.WithLossCell(model, loss_fn), opti)
# Train on data
# train_features: [batch, 4], train_labels: [batch]
# for epoch in range(20):
# train_net(train_features, train_labels)| Scenario | API-compatible options |
|---|---|
SciPy with gradients from get_expectation_with_grad | BFGS, L-BFGS-B, or another SciPy method accepting jac=True |
| SciPy without using gradients | Gradient-free SciPy methods such as Nelder-Mead or COBYLA |
| MindSpore training | MindSpore optimizers such as nn.Adam or nn.SGD over MQLayer / MQAnsatzOnlyLayer trainable parameters |
MindQuantum exposes ansatz_variance for checking gradient variance of a selected parameter.
from mindquantum.algorithm.nisq import ansatz_variance
# Check one trainable parameter before training
var = ansatz_variance(
ansatz,
ham,
focus=ansatz.params_name[0],
init_batch=100,
sim=sim,
)
print(var)| File | When to Read |
|---|---|
reference/ansatz-catalog.md | Choosing between built-in ansätze (HEA, UCCSD, QAOA, StronglyEntangling, etc.) |
© mindspore-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/mq-variational-training of mindspore-ai/mindquantum.
Open the folder on GitHubat commit 2a0ca08
Mq Variational Training next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Mq Variational Training this skillmindspore-ai/mindquantum | 102 | — | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| Qiskit 2.x Quantum ML Referenceaiming-lab/AutoResearchClaw | 15k | — | ~4.7k | Automated safety check: Pass | MIT | |
| tangermeme Genomic Model Analysisjmschrei/tangermeme | 318 | — | ~1.6k | Automated safety check: Pass | MIT | |
| PyHealth Clinical ML Toolkitdavila7/claude-code-templates | 33k | 11 repos | ~4.4k | Automated safety check: Pass | MIT | |
| Deepchemdavila7/claude-code-templates | 33k | 10 repos | ~4.4k | Automated safety check: Pass | MIT | |
| Pennylanedavila7/claude-code-templates | 33k | 7 repos | ~1.9k | Automated safety check: Pass | MIT |
aiming-lab/AutoResearchClaw
Reference patterns for writing qiskit 2.x code for variational quantum machine learning: feature maps, VQC training, VQE for chemistry, MPS circuits and noise models.
jmschrei/tangermeme
Routes agents to the right tangermeme reference for analyzing trained genomic deep learning models, from attributions and motif experiments to variant effects and design.
davila7/claude-code-templates
Builds machine learning pipelines on clinical data with PyHealth: EHR datasets, prediction tasks, medical code mapping, healthcare models and evaluation.
davila7/claude-code-templates
Molecular machine learning toolkit. An agent skill from davila7/claude-code-templates.
davila7/claude-code-templates
Cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry.
comet-ml/comet-examples
Scaffold a brand-new Comet example in this repo from the canonical template under templates/integration-example/.
mindspore-ai/mindquantum
Build, simulate, and analyze quantum circuits with MindQuantum.
mindspore-ai/mindquantum
Compile and optimize quantum circuits for hardware execution using MindQuantum's compiler pipeline.
mindspore-ai/mindquantum
Simulate noisy quantum circuits with MindQuantum. An agent skill from mindspore-ai/mindquantum.
mindspore-ai/mindquantum
Solve Ising/QUBO-style combinatorial optimization problems using MindQuantum's Quantum Annealing-Inspired Algorithms (QAIA).
mindspore-ai/mindquantum
Run quantum chemistry simulations with MindQuantum. An agent skill from mindspore-ai/mindquantum.
Build and train variational quantum algorithms (VQE, QAOA, QML, QNN) with MindQuantum. Mq Variational Training is an agent skill from mindspore-ai/mindquantum. Build and train variational quantum algorithms (VQE, QAOA, QML, QNN) with MindQuantum.
Mq Variational Training fits situations like: the user wants to train a parameterized quantum circuit; build a quantum neural network; compute quantum gradients; optimize circuit parameters.
Run `npx skills add mindspore-ai/mindquantum --skill mq-variational-training -a claude-code`. Or copy the skill folder (skills/mq-variational-training in mindspore-ai/mindquantum) into .claude/skills/mq-variational-training in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mindspore-ai/mindquantum --skill mq-variational-training -a codex`. Or copy the skill folder (skills/mq-variational-training in mindspore-ai/mindquantum) into .agents/skills/mq-variational-training in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mindspore-ai/mindquantum --skill mq-variational-training -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mq-variational-training, .gemini/skills/mq-variational-training, .github/skills/mq-variational-training and .opencode/skills/mq-variational-training in your project.
SKILL.md names no scripts, command-line tools or credentials: Mq Variational Training is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Mq Variational Training is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Mq Variational Training: Qiskit 2.x Quantum ML Reference (aiming-lab/AutoResearchClaw, 15k stars), tangermeme Genomic Model Analysis (jmschrei/tangermeme, 318 stars), PyHealth Clinical ML Toolkit (davila7/claude-code-templates, 33k stars) and Deepchem (davila7/claude-code-templates, 33k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mindspore-ai (a GitHub organization) maintains it in mindspore-ai/mindquantum, which has 102 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on September 21, 2026.
Source: mindspore-ai/mindquantum on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.