OQCL   HomeStart Here7 SessionsTextbookProjectsQUEST LabSubmitUse CasesInstructor GuideReferences

Q20 — Variational Quantum Classifier

Advanced3–5 hSimulator

Scientific objective: Train a small VQC and compare with a classical baseline.

Prerequisite reading: Chapter 10 — Quantum Machine Learning.

Before you code

  1. Write the state, operation, Hamiltonian, or protocol quantity relevant to this experiment.
  2. Write a qualitative prediction.
  3. Define the metric you will use to decide whether the prediction was supported.

Baseline experiment

Use a small binary dataset, fixed split, explicit encoding and ansatz. Train a VQC and compare against a simple classical baseline.

Step-by-step workflow

  1. Create projects/q20-yourgithubname/.
  2. Write the hypothesis in README.md before running.
  3. Implement the smallest baseline in notebook.ipynb.
  4. Run the simulator baseline and save raw counts/data.
  5. Calculate the required metric numerically; do not rely only on visual inspection.
  6. Create at least one labeled figure or table.
  7. Change exactly one primary experimental variable for the extension.
  8. Repeat the measurement with all other controls fixed.
  9. Explain agreement, disagreement, uncertainty, and limitations in REPORT.md.

Required upload

FilePurpose
README.mdQuestion, hypothesis, reproduction instructions, runtime/backend.
notebook.ipynbExecutable experiment and analysis.
results/raw/Machine-readable counts/data; never credentials.
results/figures/Labeled plots/diagrams generated from results.
REPORT.mdBaseline, extension, interpretation, uncertainty, limitations, conclusion.

Time and execution estimate

Student work: 3–5 h. Execution: Simulator. Simulator runtime is normally a small fraction of student working time for these teaching-scale examples. QPU queue and cost are provider-dependent and must be recorded rather than guessed.

Research extension

Propose one controlled extension that changes a scientifically meaningful variable. State the prediction before execution. A failed prediction is acceptable when the experiment is reproducible and the analysis is sound.

Submission

Apply by email and wait for instructor approval before beginning graded work. Submit the completed folder through a Pull Request and complete the repository checklist.

Project Guide: Q20

Scientific goal: Variational quantum classifier.

QUEST supplementary reading: Review Quantum machine learning and variational circuits in the official qBraid QUEST resources or in the corresponding activity in your QUEST course workspace, if available. This is a topic recommendation, not a claim that QUEST hosts a public notebook for this exact project.

  1. Read the prerequisite OQCL chapter and write a testable hypothesis.
  2. Complete the baseline simulation and save code, parameters, and raw measurements.
  3. Record data split, baseline, circuit configuration, and test metrics.
  4. If hardware is relevant, obtain instructor approval and follow the official QUEST instructions.
  5. Analyze the discrepancy, uncertainty, and limitations; submit reproducible figures and a short report.

Deliverables: hypothesis, runnable notebook, raw results, labeled plot or table, execution metadata, and scientific interpretation.

Apply: Email saghiria@wpunj.edu with Q20 — Variational quantum classifier, your name, and a short proposal. Wait for approval before beginning graded or QPU work.