Skip to content
Vishal Bajpe edited this page Nov 16, 2022 · 7 revisions

General

Always check whether your shots are fixed as shots=10000


Exercise 1

  • To learn about what parameters to pass into the RealAmplitudes class, see these docs.

  • Entanglement type for the ansatz is “pairwise”


Exercise 2

  • Refresh your knowledge of Matrix-free Measurement Mitigation (M3) by re-reading Section 4.1 of Lab 1.

Exercise 3

  • Read through these docs to see what parameters should be passed into the run method. Make sure you pass in the parameters appropriate for the ideal simulator, noisy simulator with error mitigation and noisy simulator without error mitigation cases.

  • If you think your code is correct but is failing the Grader, please update the Grader with the new tolerance. This can be done by executing pip install git+https://github.com/qiskit-community/Quantum-Challenge-Grader.git and then restarting the kernel.


Exercise 4

  • Use the data_append function to help pass in correct parameter values and circuit_num as the number of circuits required.

  • Ensure the functiondata_append returns a list of parameters

  • Ensure you are passing in the fidelity_circuit for the sampler run


Exercise 5

  • Compare each element of the trained data with each element of the unknown data. You will notice that the matrix is not symmetric, so compute each element instead of discarding any.