IBM Fundamentals of Quantum Computation Using Qiskit v0.2X Developer - C1000-112 Exam Practice Test
Which of the following commands will result in |i> basis state?
i.e. |i> = 1/√2(|0〉+i|1〉)
i.e. |i> = 1/√2(|0〉+i|1〉)
Correct Answer: C
Vote an answer
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)
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: D
Vote an answer
In the below code, which of the following statement is non-unitary?
qc= QuantumCircuit(2,2)
qc.x(0)
qc.y(1)
qc.z(1)
qc.measure([0,1],[0,1])
qc= QuantumCircuit(2,2)
qc.x(0)
qc.y(1)
qc.z(1)
qc.measure([0,1],[0,1])
Correct Answer: C
Vote an answer
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?
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: B
Vote an answer
Which quantum gate is commonly used for reversing a quantum operation?
Correct Answer: B
Vote an answer
Given this code fragment, which output fits most closely with the measurement probability distribution?
qc = QuantumCircuit(2, 2)
qc.x(0)
qc.measure([0,1], [0,1])
simulator = Aer.get_backend('qasm_simulator')
result = execute(qc, simulator, shots=1000).result()
counts = result.get_counts(qc)
print(counts)
qc = QuantumCircuit(2, 2)
qc.x(0)
qc.measure([0,1], [0,1])
simulator = Aer.get_backend('qasm_simulator')
result = execute(qc, simulator, shots=1000).result()
counts = result.get_counts(qc)
print(counts)
Correct Answer: D
Vote an answer
How does the concept of "quantum superposition" contribute to information processing in quantum systems?
Correct Answer: D
Vote an answer
Which of the following gates act as hermitian opeartors? (select 3)
Correct Answer: B,D,E
Vote an answer
Which of the below API returns the random unitary of dimension 2?
Correct Answer: B
Vote an answer
What is the primary advantage of quantum information processing over classical information processing?
Correct Answer: B
Vote an answer
Which parameter in QuantumCircuit.execute function performs the optimization in the scale of no- optimization to highest optimization?
Correct Answer: B
Vote an answer
How is the statevector of a quantum circuit typically visualized using plot_statevector() in Qiskit?
Correct Answer: A
Vote an answer