diff --git a/src/openqaoa-core/openqaoa/backends/qaoa_device.py b/src/openqaoa-core/openqaoa/backends/qaoa_device.py index f07826c2..61e252fd 100644 --- a/src/openqaoa-core/openqaoa/backends/qaoa_device.py +++ b/src/openqaoa-core/openqaoa/backends/qaoa_device.py @@ -14,9 +14,8 @@ def device_class_arg_mapper( noisy: bool = None, compiler_timeout: float = None, execution_timeout: float = None, - client_configuration: QCSClientConfiguration = None, + client_configuration: QCSClient = None, endpoint_id: str = None, - engagement_manager: EngagementManager = None, folder_name: str = None, s3_bucket_name: str = None, aws_region: str = None, diff --git a/src/openqaoa-pyquil/openqaoa_pyquil/backend_config.py b/src/openqaoa-pyquil/openqaoa_pyquil/backend_config.py index ad28a627..566c87ad 100644 --- a/src/openqaoa-pyquil/openqaoa_pyquil/backend_config.py +++ b/src/openqaoa-pyquil/openqaoa_pyquil/backend_config.py @@ -18,7 +18,6 @@ "execution_timeout", "client_configuration", "endpoint_id", - "engagement_manager", ] } backend_args = { diff --git a/src/openqaoa-pyquil/openqaoa_pyquil/backends/devices.py b/src/openqaoa-pyquil/openqaoa_pyquil/backends/devices.py index 869df45c..e3ac5f1e 100644 --- a/src/openqaoa-pyquil/openqaoa_pyquil/backends/devices.py +++ b/src/openqaoa-pyquil/openqaoa_pyquil/backends/devices.py @@ -1,6 +1,5 @@ from typing import List from pyquil.api import QCSClient -from pyquil.api._engagement_manager import EngagementManager from pyquil import get_qc from openqaoa.backends.devices_core import DeviceBase @@ -27,7 +26,6 @@ def __init__( execution_timeout: float = 20.0, client_configuration: QCSClient = None, endpoint_id: str = None, - engagement_manager: EngagementManager = None, ): """ Parameters @@ -62,9 +60,6 @@ def __init__( endpoint_id: str Optional quantum processor endpoint ID, as used in the `QCS API Docs`_. - engagement_manager: EngagementManager - Optional engagement manager. If none is provided, a default one will - be created. """ self.device_name = device_name @@ -75,7 +70,6 @@ def __init__( self.execution_timeout = execution_timeout self.client_configuration = client_configuration self.endpoint_id = endpoint_id - self.engagement_manager = engagement_manager self.quantum_computer = get_qc( name=self.device_name, @@ -85,7 +79,6 @@ def __init__( execution_timeout=self.execution_timeout, client_configuration=self.client_configuration, endpoint_id=self.endpoint_id, - engagement_manager=self.engagement_manager, ) self.n_qubits = len(self.quantum_computer.qubits())