Skip to content

Commit

Permalink
Fix docs build with Qiskit 1.0 (#1411)
Browse files Browse the repository at this point in the history
* fix docs build

* Replace qiskit.tools
  • Loading branch information
kt474 authored Feb 16, 2024
1 parent ee6f6ae commit 940adc5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
5 changes: 2 additions & 3 deletions docs/tutorials/Error-Suppression-and-Error-Mitigation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1953,10 +1953,9 @@
}
],
"source": [
"from qiskit.tools import jupyter\n",
"import qiskit\n",
"\n",
"%qiskit_version_table\n",
"%qiskit_copyright"
"qiskit.version.get_version_info()"
]
}
],
Expand Down
5 changes: 2 additions & 3 deletions docs/tutorials/how-to-getting-started-with-estimator.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1426,10 +1426,9 @@
}
],
"source": [
"from qiskit.tools.jupyter import *\n",
"import qiskit\n",
"\n",
"%qiskit_version_table\n",
"%qiskit_copyright"
"qiskit.version.get_version_info()"
]
}
],
Expand Down
5 changes: 2 additions & 3 deletions docs/tutorials/how-to-getting-started-with-sampler.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1365,10 +1365,9 @@
}
],
"source": [
"from qiskit.tools.jupyter import *\n",
"import qiskit\n",
"\n",
"%qiskit_version_table\n",
"%qiskit_copyright"
"qiskit.version.get_version_info()"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion qiskit_ibm_runtime/fake_provider/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
from qiskit import QuantumCircuit
from qiskit import transpile
from qiskit.tools.visualization import plot_histogram
from qiskit.visualization import plot_histogram
from qiskit_ibm_runtime.fake_provider import FakeManilaV2
# Get a fake backend from the fake provider
Expand Down

0 comments on commit 940adc5

Please sign in to comment.