Q07 — GHZ: Simulator vs QPU
Lab1–2 h + queueQPU optional
Scientific objective: Compare an ideal baseline with approved real-hardware data.
Prerequisite reading: Chapter 3 — Multiple Qubits, Tensor Products, and Entanglement.
Before you code
- Write the state, operation, Hamiltonian, or protocol quantity relevant to this experiment.
- Write a qualitative prediction.
- Define the metric you will use to decide whether the prediction was supported.
Baseline experiment
Reuse Q06's logical circuit. Preserve the ideal baseline, transpile for one approved QPU, estimate resource use, then compare hardware counts with simulation.
Step-by-step workflow
- Create
projects/q07-yourgithubname/. - Write the hypothesis in README.md before running.
- Implement the smallest baseline in
notebook.ipynb. - Run the simulator baseline and save raw counts/data.
- Calculate the required metric numerically; do not rely only on visual inspection.
- Create at least one labeled figure or table.
- Change exactly one primary experimental variable for the extension.
- Repeat the measurement with all other controls fixed.
- Explain agreement, disagreement, uncertainty, and limitations in REPORT.md.
Required upload
| File | Purpose |
|---|---|
| README.md | Question, hypothesis, reproduction instructions, runtime/backend. |
| notebook.ipynb | Executable experiment and analysis. |
| results/raw/ | Machine-readable counts/data; never credentials. |
| results/figures/ | Labeled plots/diagrams generated from results. |
| REPORT.md | Baseline, extension, interpretation, uncertainty, limitations, conclusion. |
Time and execution estimate
Student work: 1–2 h + queue. Execution: QPU optional. 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: Q07
Scientific goal: GHZ: simulator vs QPU.
QUEST supplementary reading: Review GHZ state and quantum hardware execution 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.
- Read the prerequisite OQCL chapter and write a testable hypothesis.
- Complete the baseline simulation and save code, parameters, and raw measurements.
- Create ideal simulator counts, then compare with an instructor-approved hardware run.
- If hardware is relevant, obtain instructor approval and follow the official QUEST instructions.
- 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 Q07 — GHZ: simulator vs QPU, your name, and a short proposal. Wait for approval before beginning graded or QPU work.