Skip to content

Commit

Permalink
Change function to constant
Browse files Browse the repository at this point in the history
  • Loading branch information
hitomitak committed Jul 21, 2023
1 parent 3a8f6f1 commit dc9ab4c
Show file tree
Hide file tree
Showing 2 changed files with 243 additions and 237 deletions.
4 changes: 2 additions & 2 deletions qiskit_aer/backends/aerbackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from ..noise.errors.quantum_error import QuantumChannelInstruction
from .aer_compiler import compile_circuit, assemble_circuits, generate_aer_config
from .backend_utils import format_save_type, circuit_optypes
from .name_mapping import get_gate_name_mapping
from .name_mapping import NAME_MAPPING

# pylint: disable=import-error, no-name-in-module
from .controller_wrappers import AerConfig
Expand Down Expand Up @@ -86,7 +86,7 @@ def __init__(
self._options_defaults = {}
self._options_properties = {}
self._target = None
self._mapping = get_gate_name_mapping()
self._mapping = NAME_MAPPING

# Set options from backend_options dictionary
if backend_options is not None:
Expand Down
Loading

0 comments on commit dc9ab4c

Please sign in to comment.