✔ Scroll down and test yourself — answers are hidden under the “View Answer” button.
Qiskit is an open-source Python framework for developing and running quantum programs.
Qiskit components: Terra (core), Aer (simulation), Ignis (noise/error), Aqua (algorithms). Neural is not part of Qiskit.
QuantumCircuit in Qiskit represent?QuantumCircuit defines the qubits, classical bits, and quantum gates in a program.
Qiskit Aer provides high-performance simulators for testing circuits without actual quantum hardware.
measure() in Qiskit?Measurement collapses the qubit into 0 or 1 and stores it in a classical bit.
The Hadamard (H) gate puts a qubit into a superposition of |0⟩ and |1⟩.
execute(circuit, backend) runs the circuit on the specified backend (simulator or real device).
CNOT is a 2-qubit gate that flips the target qubit conditional on the control qubit.
Qiskit Ignis is used for error characterization, mitigation, and noise analysis.
plot_histogram is used to visualize measurement results as a probability histogram.
No comments:
Post a Comment