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 20 / 68
Circuit construction
A migration groups two legacy c_if operations into one with qc.if_test((c, 1)) block. In the original circuit, the first conditional operation is a measurement that overwrites c[0], and the second is X. Are the two versions equivalent in general?
A
Yes. A single with block automatically reevaluates its condition before each instruction.
B
No. The grouped block tests the condition at entry, while two separate if_test blocks can test it again after the overwrite.
C
Yes. Measurements inside conditional blocks cannot change a tested register.
D
No. if_test checks the register at circuit-construction time, before any execution.
Submit answer
←
Previous
Next
→