Skip to content

Commit

Permalink
Update old Aer imports in documentation (#1370)
Browse files Browse the repository at this point in the history
These changes were overlooked in
c536026
  • Loading branch information
wshanks authored Jan 23, 2024
1 parent b66f662 commit 91ec4ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion docs/manuals/verification/quantum_volume.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ z_value = 2), and at least 100 trials have been ran.

from qiskit_experiments.framework import BatchExperiment
from qiskit_experiments.library import QuantumVolume
from qiskit import Aer
from qiskit_aer import AerSimulator

# For simulation
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/custom_experiment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ To test our code, we first simulate a noisy backend with asymmetric readout erro

.. jupyter-execute::

from qiskit.providers.aer import AerSimulator, noise
from qiskit_aer import AerSimulator, noise

backend_ideal = AerSimulator()

Expand Down Expand Up @@ -653,4 +653,4 @@ unaffected by the added randomized measurements, which use its own classical reg
qc.cx(i-1, i)

exp = RandomizedMeasurement(qc, num_samples=num_samples)
exp.circuits()[0].draw(output="mpl", style="iqp")
exp.circuits()[0].draw(output="mpl", style="iqp")

0 comments on commit 91ec4ea

Please sign in to comment.