From 5935b7301d6591be90501c8018d77efc984796b8 Mon Sep 17 00:00:00 2001 From: Will Shanks Date: Tue, 23 Jan 2024 15:12:32 -0500 Subject: [PATCH] Update old Aer imports in documentation These changes were overlooked in c536026ddb0c8bbd21b03578989c84eb113117ad --- docs/manuals/verification/quantum_volume.rst | 1 - docs/tutorials/custom_experiment.rst | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/manuals/verification/quantum_volume.rst b/docs/manuals/verification/quantum_volume.rst index 2b01b515fa..5c06e5f1e5 100644 --- a/docs/manuals/verification/quantum_volume.rst +++ b/docs/manuals/verification/quantum_volume.rst @@ -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 diff --git a/docs/tutorials/custom_experiment.rst b/docs/tutorials/custom_experiment.rst index c97d07b9ce..a094d9d91a 100644 --- a/docs/tutorials/custom_experiment.rst +++ b/docs/tutorials/custom_experiment.rst @@ -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() @@ -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") \ No newline at end of file + exp.circuits()[0].draw(output="mpl", style="iqp")