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 22 / 68
Circuit construction
A transpiler-related utility must replace only the operation in an existing QuantumCircuit.data entry while retaining its mapped operands. Which assignment uses the circuit instruction's public replacement interface?
A
qc.data[0] = qc.data[0].replace(operation=new_op)
B
qc.data[0].replace(new_op, qc.qubits)
C
qc.data[0].operation = new_op
D
qc.data[0] = qc.data[0].operation.copy(new_op)
Submit answer
←
Previous
Next
→