Skip to content

Commit

Permalink
remove qiskit.execute
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaucasau committed Apr 4, 2024
1 parent d413323 commit a423c04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ For example let us compare raw data verse the mitigated results in a simple case
qc.cx(1, 0)
qc.measure_all()

raw_counts = execute(qc, backend).result().get_counts()
raw_counts = backend.run(qc).result().get_counts()
mit = mthree.M3Mitigation(backend)
mit.cals_from_system()
mit_counts = mit.apply_correction(raw_counts, qubits=range(4),
Expand Down Expand Up @@ -117,7 +117,7 @@ mitigate 5 circuits:

.. jupyter-execute::

raw_counts = execute([qc]*5, backend).result().get_counts()
raw_counts = backend.run([qc]*5).result().get_counts()
mit = mthree.M3Mitigation(backend)
mit.cals_from_system()
mit_counts = mit.apply_correction(raw_counts, qubits=range(4),
Expand Down

0 comments on commit a423c04

Please sign in to comment.