Skip to content

Commit

Permalink
fix inits
Browse files Browse the repository at this point in the history
* removed init file in wrappers folder causing error importing wrappers
* change imports for noise and utils to remove import *
* fixed typo in ref_measure for import qobj_utils
  • Loading branch information
chriseclectic committed Dec 18, 2018
1 parent 2e0fb39 commit 4527124
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 14 deletions.
4 changes: 2 additions & 2 deletions qiskit/providers/aer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from .aerprovider import AerProvider
from .aerjob import AerJob
from .backends import *
from .noise import *
from .utils import *
from . import noise
from . import utils
from .version import __version__

# Global instance to be used as the entry point for convenience.
Expand Down
1 change: 0 additions & 1 deletion qiskit/providers/aer/backends/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@
from .qasm_simulator import QasmSimulator
from .statevector_simulator import StatevectorSimulator
from .unitary_simulator import UnitarySimulator

8 changes: 0 additions & 8 deletions qiskit/providers/aer/backends/wrappers/__init__.py

This file was deleted.

2 changes: 2 additions & 0 deletions qiskit/providers/aer/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
# the LICENSE.txt file in the root directory of this source tree.

"""Utilities"""

from . import qobj_utils
6 changes: 3 additions & 3 deletions test/terra/utils/ref_measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
# direclty by qobj instructions until terra compiler supports them
from qiskit import compile
from qiskit.providers.aer.backends import QasmSimulator
from qiskit.providers.aer.utils.qobj_utils import insert_item
from qiskit.providers.aer.utils.qobj_utils import measure_item
from qiskit.providers.aer.utils.qobj_utils import iden_item
from qiskit.providers.aer.utils.qobj_utils import insert_instr
from qiskit.providers.aer.utils.qobj_utils import measure_instr
from qiskit.providers.aer.utils.qobj_utils import iden_instr


# ==========================================================================
Expand Down

0 comments on commit 4527124

Please sign in to comment.