diff --git a/tutorials/circuits/01_circuit_basics.ipynb b/tutorials/circuits/01_circuit_basics.ipynb index 6a689041b..c5f9e2f81 100755 --- a/tutorials/circuits/01_circuit_basics.ipynb +++ b/tutorials/circuits/01_circuit_basics.ipynb @@ -435,7 +435,7 @@ "# Execute the circuit on the qasm simulator.\n", "# We've set the number of repeats of the circuit\n", "# to be 1024, which is the default.\n", - "job_sim = backend.run(qc, shots=1024)\n", + "job_sim = backend.run(qc_compiled, shots=1024)\n", "\n", "# Grab the results from the job.\n", "result_sim = job_sim.result()" @@ -467,7 +467,7 @@ } ], "source": [ - "counts = result_sim.get_counts(qc)\n", + "counts = result_sim.get_counts(qc_compiled)\n", "print(counts)" ] }, @@ -580,7 +580,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.8" + "version": "3.7.9" }, "varInspector": { "cols": {