1. What is Qiskit?






Correct Answer: B

Qiskit is an open-source Python framework for developing and running quantum programs.

2. Which of the following is NOT a component of Qiskit?






Correct Answer: D

Qiskit components: Terra (core), Aer (simulation), Ignis (noise/error), Aqua (algorithms). Neural is not part of Qiskit.

3. What does QuantumCircuit in Qiskit represent?






Correct Answer: C

QuantumCircuit defines the qubits, classical bits, and quantum gates in a program.

4. Which Qiskit module is used for simulating quantum circuits on classical computers?






Correct Answer: B

Qiskit Aer provides high-performance simulators for testing circuits without actual quantum hardware.

5. What is the purpose of measure() in Qiskit?






Correct Answer: B

Measurement collapses the qubit into 0 or 1 and stores it in a classical bit.

6. Which gate creates a superposition state from |0⟩ in Qiskit?






Correct Answer: B

The Hadamard (H) gate puts a qubit into a superposition of |0⟩ and |1⟩.

7. How do you execute a quantum circuit on a simulator in Qiskit?






Correct Answer: A

execute(circuit, backend) runs the circuit on the specified backend (simulator or real device).

8. What does a CNOT gate do in Qiskit?






Correct Answer: A

CNOT is a 2-qubit gate that flips the target qubit conditional on the control qubit.

9. Which Qiskit feature allows noise and error modeling?






Correct Answer: B

Qiskit Ignis is used for error characterization, mitigation, and noise analysis.

10. How do you visualize the result of a quantum measurement in Qiskit?






Correct Answer: A

plot_histogram is used to visualize measurement results as a probability histogram.