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>?**

**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([0],1)

**d)**qc.cz(0,1)

**04. What would be the fidelity result(s) for these two operators, which differ only by global phase?**

**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)

**b)**bell = QuantumCircuit(2)

**c)**bell = QuantumCircuit(2)

**d)**bell = QuantumCircuit(2)

**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)

**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?**

**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])

## Answers:

Question: 01 Answer: b |
Question: 02 Answer: c |
Question: 03 Answer: d |
Question: 04 Answer: c |
Question: 05 Answer: a, c, d |

Question: 06 Answer: a |
Question: 07 Answer: d |
Question: 08 Answer: b |
Question: 09 Answer: b, c |
Question: 10 Answer: a |

Note: For any error in IBM Certified Associate Developer - Quantum Computation using Qiskit v0.2X (C1000-112) certification exam sample questions, please update us by writing an email on feedback@edusum.com.