OQCL   HomeStart Here7 SessionsTextbookProjectsQUEST LabSubmitUse CasesInstructor GuideReferences

Q03 — X, H, and Interference

Micro25–40 minSimulator

Scientific objective: Verify basic gates and demonstrate H²=I.

Prerequisite reading: Chapter 2 — Qubits, Measurement, and Single-Qubit Gates.

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

Test X|0⟩, H|0⟩, and H(H|0⟩). Predict each result algebraically before simulation.

Step-by-step workflow

  1. Create projects/q03-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: 25–40 min. 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: Q03

Scientific goal: X, H, and interference.

QUEST supplementary reading: Review Single-qubit gates and interference 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. Build gate sequences; compare H-X-H with simpler equivalent operations.
  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 Q03 — X, H, and interference, your name, and a short proposal. Wait for approval before beginning graded or QPU work.