Q
Qiskit Practice
EXAM C1000-2000 (Extreme)
68 questions
C1000-179
21 questions
kibrahim757
66 questions
C1000-200
68 questions
C1000-300
68 questions
C1000-400
68 questions
C1000-500
68 questions
C1000-600
68 questions
C1000-700
68 questions
C1000-800
68 questions
C1000-1000 (Difficult)
68 questions
C1000-2000 (Extreme)
68 questions
C1000-3000 (Impossible)
68 questions
Qiskit v2.x mock exam
.
Select one answer per question. Submit to see the explanation.
Question 43 / 68
Sampler primitive
An SDK StatevectorSampler circuit prepares a state, then contains an if_test block whose condition never becomes true for that starting state, followed by final measurements. What happens in Qiskit 2.6.2?
A
It only fails if shots is greater than 1.
B
StatevectorSampler rejects the control-flow construct before selecting a branch.
C
It runs successfully because the unreachable branch is inferred and dropped automatically.
D
It runs successfully by replacing if_test with the old c_if metadata.
Submit answer
←
Previous
Next
→