Section 8 — Operate with OpenQASM
6% of the exam · ≈ 4 of 68 questions · 16 verified practice questions
What the exam expects
- Structure types in OpenQASM 3 programs (
s8o1) - Interpret OpenQASM semantics for versions 2 and 3 (
s8o2) - Interoperate different versions of OpenQASM with Qiskit (
s8o3) - Interact with the Qiskit IBM Runtime REST API (
s8o4)
Scope notes — what to actually master
- OpenQASM 3 classical types (incl. complex), casting rules
- qiskit.qasm3.dump/dumps/load/loads; qasm2 equivalents; version semantic differences
- Feature differences OpenQASM 2 vs 3 (control flow, types)
- Runtime REST API basics: auth, submitting primitive jobs over REST
Learn — official resources
The exam is based on these official IBM materials. Study them first; the drills below tell you when you're done.
| Resource | Type |
|---|---|
| Introduction to OpenQASM | guide |
| OpenQASM feature table | guide |
| OpenQASM 3 and the Qiskit SDK | guide |
| OpenQASM 2 and the Qiskit SDK | guide |
| OpenQASM types and casting | external |
| OpenQASM syntax (spec) | external |
| Qiskit Runtime REST API | api |
Drill — verified practice
Every code-bearing question below was executed against a pinned Qiskit 2.x stack at build time; explanations show the actual execution evidence.
Loading practice set…