# IBM Quantum Developer (C1000-112) Certification Sample Questions The purpose of this Sample Question Set is to provide you with information about the IBM Fundamentals of Quantum Computation Using Qiskit v0.2X Developer exam. These sample questions will make you very familiar with both the type and the difficulty level of the questions on the C1000-112 certification test. To get familiar with real exam environment, we suggest you try our Sample IBM Quantum Developer Certification Practice Exam. This sample practice exam gives you the feeling of reality and is a clue to the questions asked in the actual IBM Certified Associate Developer - Quantum Computation using Qiskit v0.2X certification exam.

These sample questions are simple and basic questions that represent likeness to the real IBM C1000-112 exam questions. To assess your readiness and performance with real time scenario based questions, we suggest you prepare with our Premium IBM Quantum Developer Certification Practice Exam. When you solve real time scenario based questions practically, you come across many difficulties that give you an opportunity to improve.

## IBM C1000-112 Sample Questions:

01. Which line of code would assign a statevector simulator object to the variable backend?
a) backend = BasicAer.StatevectorSimulatorPy()
b) backend = BasicAer.get_backend('statevector_simulator')
c) backend = BasicAer.StatevectorSimulatorPy().name()
d) backend = BasicAer.get_back('statevector_simulator')

02. Given this code fragment, what is the probability that a measurement would result in |0>?
qc = QuantumCircuit(1)
qc.ry(3 * math.pi/4, 0)
a) 0.8536
b) 0.5
c) 0.1464
d) 1.0

03. Which code fragment will produce a multi-qubit gate other than a CNOT?
a) qc.cx(0,1)
b) qc.cnot(0,1)
c) qc.mct(,1)
d) qc.cz(0,1)

04. What would be the fidelity result(s) for these two operators, which differ only by global phase?
op_a = Operator(XGate())
op_b = numpy.exp(1j * 0.5) * Operator(XGate())
a) state_fidelity() of 1.0
b) state_fidelity() and average_gate_fidelity() of 1.0
c) average_gate_fidelity() and process_fidelity() of 1.0
d) state_fidelity(), average_gate_fidelity() and process_fidelity() of 1.0

05. Which three simulators are available in BasicAer?
a) qasm_simulator
b) basic_qasm_simulator
c) statevector_simulator
d) unitary_simulator
e) quantum_simulator
f) quantum_circuit_simulator

06. Which code fragment will produce a maximally entangled, or Bell, state?
a) bell = QuantumCircuit(2)
bell.h(0)
bell.x(1)
bell.cx(0, 1)
b) bell = QuantumCircuit(2)
bell.cx(0, 1)
bell.h(0)
bell.x(1)
c) bell = QuantumCircuit(2)
bell.h(0)
bell.x(1)
bell.cz(0, 1)
d) bell = QuantumCircuit(2)
bell.h(0)
bell.h(0)

07. S-gate is a Qiskit phase gate with what value of the phase parameter?
a) π/8
b) π/4
c) π
d) π/2

08. Which code fragment would yield an operator that represents a single-qubit X gate?
a) op = Operator.Xop(0)
b) qc = QuantumCircuit(1)
qc.x(0)
op = Operator(qc)
c) op = Operator([[0,1]])
d) op = Operator([[1,0,0,1]])

09. Which two options would place a barrier across all qubits to the QuantumCircuit below?
qc = QuantumCircuit(3,3)
a) qc.barrier(qc)
b) qc.barrier([0,1,2])
c) qc.barrier()
d) qc.barrier(3)
e) qc.barrier_all()

10. Which statement will create a quantum circuit with four quantum bits and four classical bits?
a) QuantumCircuit(4, 4)
b) QuantumCircuit(4)
c) QuantumCircuit(QuantumRegister(4, 'qr0'), QuantumRegister(4, 'cr1'))
d) QuantumCircuit([4, 4])