Skip to content

Commit

Permalink
updated imports in simulators-comparison example
Browse files Browse the repository at this point in the history
  • Loading branch information
prakharb10 committed Jun 7, 2024
1 parent a4f2142 commit e9ef991
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions examples/02_simulators_comparison.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@
],
"source": [
"from qiskit import Aer\n",
"from qiskit.test.mock import FakeVigo\n",
"from qiskit.providers.aer.noise import NoiseModel\n",
"from qiskit.providers.aer import QasmSimulator\n",
"from qiskit_ibm_runtime.fake_provider import FakeVigo\n",
"from qiskit_aer.noise import NoiseModel\n",
"from qiskit_aer import QasmSimulator\n",
"device_backend = FakeVigo()\n",
"device = QasmSimulator.from_backend(device_backend)\n",
"noise_model = NoiseModel.from_backend(device)"
Expand Down Expand Up @@ -324,9 +324,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "fix_qiskit_and_deprecations",
"display_name": "Python 3",
"language": "python",
"name": "fix_qiskit_and_deprecations"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -352,11 +352,6 @@
"toc_position": {},
"toc_section_display": true,
"toc_window_display": false
},
"vscode": {
"interpreter": {
"hash": "d2582286b70c3b030a2fde61b871db03dec7fee33191883f4394b540a2eb90c7"
}
}
},
"nbformat": 4,
Expand Down

0 comments on commit e9ef991

Please sign in to comment.