vqc
OfficialTrain a quantum classifier on Iris data.
Education & Research#quantum-machine-learning#vqc#quantum-classification#iris-dataset#data-re-uploading#parameter-shift
Authorunitarylab
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Classifies tabular data by leveraging a Variational Quantum Classifier (VQC) trained with data re-uploading and the Parameter Shift Rule to produce interpretable class logits from a small quantum circuit.
Core Features & Use Cases
- Data re-uploading encoding of 4 features on 4 qubits per layer to preserve input information across depth.
- Trainable Ry rotations with a CNOT ladder enabling expressive quantum circuits for classification.
- Exact gradient estimation via the Parameter Shift Rule, enabling gradient-based optimization with Adam.
- Demonstrations on the Iris dataset (4 features, 3 classes) and multi-layer quantum-classical training workflows.
Quick Start
Run the included script to train the VQC on Iris data and report the final test accuracy.
Dependency Matrix
Required Modules
unitarylab
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: vqc Download link: https://github.com/unitarylab/quantum-skills/archive/main.zip#vqc Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.