Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Superoperator noise for density matrix method #295

Merged
merged 11 commits into from
Aug 2, 2019
4 changes: 2 additions & 2 deletions qiskit/providers/aer/backends/qasm_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import logging
from math import log2
from qiskit.util import local_hardware_info
from qiskit.providers.models import BackendConfiguration
from qiskit.providers.models import QasmBackendConfiguration
from .aerbackend import AerBackend
# pylint: disable=import-error
from .qasm_controller_wrapper import qasm_controller_execute
Expand Down Expand Up @@ -173,7 +173,7 @@ class QasmSimulator(AerBackend):
def __init__(self, configuration=None, provider=None):
super().__init__(
qasm_controller_execute,
BackendConfiguration.from_dict(self.DEFAULT_CONFIGURATION),
QasmBackendConfiguration.from_dict(self.DEFAULT_CONFIGURATION),
provider=provider)

def _validate(self, qobj, backend_options, noise_model):
Expand Down
4 changes: 2 additions & 2 deletions qiskit/providers/aer/backends/statevector_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import logging
from math import log2
from qiskit.util import local_hardware_info
from qiskit.providers.models import BackendConfiguration
from qiskit.providers.models import QasmBackendConfiguration
from .aerbackend import AerBackend
# pylint: disable=import-error
from .statevector_controller_wrapper import statevector_controller_execute
Expand Down Expand Up @@ -99,7 +99,7 @@ class StatevectorSimulator(AerBackend):

def __init__(self, configuration=None, provider=None):
super().__init__(statevector_controller_execute,
BackendConfiguration.from_dict(self.DEFAULT_CONFIGURATION),
QasmBackendConfiguration.from_dict(self.DEFAULT_CONFIGURATION),
provider=provider)

def _validate(self, qobj, backend_options, noise_model):
Expand Down
4 changes: 2 additions & 2 deletions qiskit/providers/aer/backends/unitary_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import logging
from math import log2, sqrt
from qiskit.util import local_hardware_info
from qiskit.providers.models import BackendConfiguration
from qiskit.providers.models import QasmBackendConfiguration

from .aerbackend import AerBackend
from ..aererror import AerError
Expand Down Expand Up @@ -105,7 +105,7 @@ class UnitarySimulator(AerBackend):

def __init__(self, configuration=None, provider=None):
super().__init__(unitary_controller_execute,
BackendConfiguration.from_dict(self.DEFAULT_CONFIGURATION),
QasmBackendConfiguration.from_dict(self.DEFAULT_CONFIGURATION),
provider=provider)

def _validate(self, qobj, backend_options, noise_model):
Expand Down
76 changes: 0 additions & 76 deletions src/noise/abstract_error.hpp

This file was deleted.

Loading