
IBM Fundamentals of Quantum Computation Using Qiskit v0.2X Developer - C1000-112 Exam Questions
QUESTION NO: 1
In the quantum circuit, choose the best option to display the plot given below?
q = QuantumRegister(3,'q')
qc = QuantumCircuit(q)
qc.h(q[0:3])
qc.measure_all()
qasm_sim = BasicAer.get_backend('qasm_simulator')
result = execute (qc, qasm_sim). result ()
counts = result.get_counts()

In the quantum circuit, choose the best option to display the plot given below?
q = QuantumRegister(3,'q')
qc = QuantumCircuit(q)
qc.h(q[0:3])
qc.measure_all()
qasm_sim = BasicAer.get_backend('qasm_simulator')
result = execute (qc, qasm_sim). result ()
counts = result.get_counts()

Correct Answer: D
QUESTION NO: 2
Which Qiskit component is primarily focused on researching and improving quantum algorithms?
Which Qiskit component is primarily focused on researching and improving quantum algorithms?
Correct Answer: A
QUESTION NO: 3
Given this code, which two inserted code fragments result in the state vector represented by this Bloch sphere?
qc = QuantumCircuit(1,1)
# Insert code fragment here
simulator = Aer.get_backend('statevector_simulator')
job = execute(qc, simulator)
result = job.result()
outputstate = result.get_statevector(qc)
plot_bloch_multivector(outputstate)

Given this code, which two inserted code fragments result in the state vector represented by this Bloch sphere?
qc = QuantumCircuit(1,1)
# Insert code fragment here
simulator = Aer.get_backend('statevector_simulator')
job = execute(qc, simulator)
result = job.result()
outputstate = result.get_statevector(qc)
plot_bloch_multivector(outputstate)

Correct Answer: C,E
QUESTION NO: 4
Given Quantum Circuit
qc= QuantumCircuit(2)
qc.h(0)
qc.h(1)
to run the above quantum circuit 512 times in the qasm_simulator, choose the best option in the given below?
Given Quantum Circuit
qc= QuantumCircuit(2)
qc.h(0)
qc.h(1)
to run the above quantum circuit 512 times in the qasm_simulator, choose the best option in the given below?
Correct Answer: A
QUESTION NO: 5
What is the command used to retrieve the last run job from a backend?
What is the command used to retrieve the last run job from a backend?
Correct Answer: D
QUESTION NO: 6
What is a qubit?
What is a qubit?
Correct Answer: A
QUESTION NO: 7
What will be the output of the result variable in the below snippet?
q = QuantumRegister(1,'q')
qc = QuantumCircuit(q)
qc.z(0)
backend_unitary = BasicAer.get_backend('unitary_simulator')
result = execute(qc,backend_unitary).result().get_unitary(decimals=3)
What will be the output of the result variable in the below snippet?
q = QuantumRegister(1,'q')
qc = QuantumCircuit(q)
qc.z(0)
backend_unitary = BasicAer.get_backend('unitary_simulator')
result = execute(qc,backend_unitary).result().get_unitary(decimals=3)
Correct Answer: C
QUESTION NO: 8
Which gate is commonly used for flipping the state of a qubit if it is in state |1> and leaving it unchanged if it's in state |0>?
Which gate is commonly used for flipping the state of a qubit if it is in state |1> and leaving it unchanged if it's in state |0>?
Correct Answer: C
QUESTION NO: 9
What is the purpose of executing a quantum experiment on a simulator?
What is the purpose of executing a quantum experiment on a simulator?
Correct Answer: C
QUESTION NO: 10
Which gate is typically used to reset a qubit's state to |0> in a quantum circuit?
Which gate is typically used to reset a qubit's state to |0> in a quantum circuit?
Correct Answer: B
QUESTION NO: 11
In quantum computing, what does the term "quantum supremacy" refer to?
In quantum computing, what does the term "quantum supremacy" refer to?
Correct Answer: D
QUESTION NO: 12
In quantum computing, what is the significance of multiple measurements of the same qubit?
In quantum computing, what is the significance of multiple measurements of the same qubit?
Correct Answer: A




