diff --git a/qiskit_aer/backends/aer_simulator.py b/qiskit_aer/backends/aer_simulator.py index f5badc852d..0205534312 100644 --- a/qiskit_aer/backends/aer_simulator.py +++ b/qiskit_aer/backends/aer_simulator.py @@ -15,6 +15,7 @@ import copy import logging +import warnings from qiskit.providers import convert_to_target from qiskit.providers.options import Options from qiskit.providers.backend import BackendV2, BackendV1 diff --git a/qiskit_aer/backends/aerbackend.py b/qiskit_aer/backends/aerbackend.py index c0865acf2b..6c4086dc0c 100644 --- a/qiskit_aer/backends/aerbackend.py +++ b/qiskit_aer/backends/aerbackend.py @@ -29,6 +29,7 @@ from qiskit.qobj import QasmQobj, PulseQobj from qiskit.result import Result from qiskit.transpiler import CouplingMap +from qiskit.transpiler.target import Target from qiskit.circuit.library.standard_gates import get_standard_gate_name_mapping from ..aererror import AerError from ..jobs import AerJob, AerJobSet, split_qobj