diff --git a/src/braket/aws/aws_device.py b/src/braket/aws/aws_device.py index 229fc1a6c..e7deee418 100644 --- a/src/braket/aws/aws_device.py +++ b/src/braket/aws/aws_device.py @@ -885,7 +885,7 @@ def emulator(self) -> Emulator: Returns: Emulator: An emulator for this device, if this is not a simulator device. """ - if self._arn in Devices.Amazon: + if self._arn in [simulator_enum.value for simulator_enum in Devices.Amazon]: raise ValueError( "Creating an emulator from a Braket managed simulator is not supported." )