(5 pts.) Submit your completed solutions to the in-class programming exercises from Friday. You will be graded on both completion and correctness.
(5 pts.) Install the Python libraries qiskit and qiskit-aer using pip or your preferred package installer (I know it works with pip…). Ensure the following code works on your computer and submit a screenshot of the result. This seems to work best in Jupyter Notebooks (and similar notebook libraries) but should also display in Spyder and other IDEs.
q = QuantumRegister(1) c = ClassicalRegister(1) qc = QuantumCircuit(q, c) qc.h(0)qc.measure(q, c)print(qc.draw())simulator = AerSimulator()results = simulator.run(qc).result().get_counts()plot_histogram(results)