OQCL   HomeStart Here7 SessionsTextbookProjectsQUEST LabSubmitUse CasesInstructor GuideReferences

Instructor Guide › 7 Sessions › Teacher notes

1234567

Teacher notes — Session 4: Real hardware: compilation and noise

For instructorsFlipped format

The session in one sentence. The device runs a compiled version of your circuit, and the extra gates it needs are a main source of error.

The student page for Session 4 is written for self-study: students can read, work the example, run both experiments, and check their own answers without you. These notes are for the class time you do have.

Before class (students, on their own)

If you have 20 minutes

MinutesWhat to do
0–3Ask the exit question below cold, and take a show of hands. Do not give the answer yet.
3–10Board: the worked example from the student page, with students supplying each step.
10–16Live demo: run the second experiment. Collect predictions first, then run it.
16–20Return to the exit question, settle it, and assign the project.

If you have a full 75-minute class

MinutesActivity
0–10Motivating question and show of hands.
10–30The three points below, with the mathematics on the board.
30–45Worked example at the board, students supplying steps.
45–55Misconceptions: put each “common mistake” to the class as a true/false statement.
55–65Live demo of both experiments, predictions first.
65–75Project briefing and exit question.

Three points to make

  1. Logical versus physical circuit; native gates and connectivity.
  2. Live demo: star-shaped GHZ on a line doubles the two-qubit gates.
  3. Same state as a chain: no overhead. Design with the layout in mind.

Board example

Estimate how much routing costs. Suppose every two-qubit gate succeeds with probability 0.99, and ignore every other error.

  1. Logical circuit, 3 two-qubit gates: 0.99³ ≈ 0.970.
  2. Compiled circuit, 6 two-qubit gates: 0.99⁶ ≈ 0.941.
  3. Routing alone moved the estimate from about 97% to about 94%, before counting single-qubit gates, readout, or idle time.

This is a rough model, not a prediction for any particular device. Its use is to compare two versions of the same circuit before you spend hardware time.

Misconceptions to raise

Discussion prompts

Exit question

Ask: Two circuits prepare the same state. One compiles to 3 two-qubit gates and one to 6. Which do you run, and why?

Looking for: The one with 3. Every additional two-qubit gate adds error, so fewer gates means a result closer to ideal.

Assign

One project from this session, following the predict → baseline → one extension → analyze routine. Project solutions are deliberately not published on this site.

← Notes for Session 3Student pageNotes for Session 5 →