Qiskit Practice
kibrahim757 66 questions

Qiskit v2.x mock exam

Select one answer per question. Submit to see the explanation.

Question 63 / 66
For the code below, Which statement is TRUE?
from qiskit.qasm3 import loads

qasm = """
OPENQASM 3.0;
include "stdgates.inc";

qubit q;
bit c;

h q;

c = measure q;

if (c) {
  x q;
}
"""
qc = loads(qasm)
print(qc)