Skip to content

Commit

Permalink
fix QiskitError import
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseclectic committed May 14, 2019
1 parent 8777c28 commit 42cd1d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qiskit/providers/aer/aererror.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Exception for errors raised by Qiskit Aer simulators backends.
"""

from qiskit.qiskiterror import QiskitError
from qiskit import QiskitError


class AerError(QiskitError):
Expand Down
2 changes: 1 addition & 1 deletion qiskit/providers/aer/backends/aerbackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, controller, configuration, provider=None):
Raises:
FileNotFoundError if backend executable is not available.
QiskitError: if there is no name in the configuration
AerError: if there is no name in the configuration
"""
super().__init__(configuration, provider=provider)
self._controller = controller
Expand Down
2 changes: 1 addition & 1 deletion qiskit/providers/aer/noise/noiseerror.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Exception for errors raised by Qiskit Aer noise module.
"""

from qiskit.qiskiterror import QiskitError
from qiskit import QiskitError


class NoiseError(QiskitError):
Expand Down

0 comments on commit 42cd1d4

Please sign in to comment.