-
Notifications
You must be signed in to change notification settings - Fork 87
Lab 2
Always check whether your shots are fixed as shots=10000
-
To learn about what parameters to pass into the RealAmplitudes class, see these docs.
-
Entanglement type for the ansatz is “pairwise”
- Refresh your knowledge of Matrix-free Measurement Mitigation (M3) by re-reading Section 4.1 of Lab 1.
-
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.
-
Use the
data_append
function to help pass in correct parameter values andcircuit_num
as the number of circuits required. -
Ensure the function
data_append
returns a list of parameters -
Ensure you are passing in the
fidelity_circuit
for the sampler run
- 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.