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 57 / 68
Results and job analysis
A QPY file is open in binary mode at its beginning. A migration first checks its format, then reads the circuits only if accepted. Which sequence works without repositioning the file?
A
version = stream.read(8); circuits = qpy.load(stream)
B
version = qpy.get_qpy_version(stream); circuits = qpy.load(stream)
C
version = qpy.load(stream).version; circuits = qpy.load(stream)
D
version = qpy.get_qpy_version(stream.read()); circuits = stream.load()
Submit answer
←
Previous
Next
→