diff --git a/src/braket/devices/devices.py b/src/braket/devices/devices.py index fa2c6d025..86a32a142 100644 --- a/src/braket/devices/devices.py +++ b/src/braket/devices/devices.py @@ -37,7 +37,7 @@ class _IonQ(str, Enum): Forte1 = "arn:aws:braket:us-east-1::device/qpu/ionq/Forte-1" class _OQC(str, Enum): - Lucy = "arn:aws:braket:eu-west-2::device/qpu/oqc/Lucy" + _Lucy = "arn:aws:braket:eu-west-2::device/qpu/oqc/Lucy" class _QuEra(str, Enum): Aquila = "arn:aws:braket:us-east-1::device/qpu/quera/Aquila" @@ -58,7 +58,7 @@ class _Xanadu(str, Enum): # DWave = _DWave IonQ = _IonQ IQM = _IQM - OQC = _OQC + # OQC = _OQC QuEra = _QuEra Rigetti = _Rigetti # Xanadu = _Xanadu diff --git a/test/integ_tests/test_device_creation.py b/test/integ_tests/test_device_creation.py index 540c09f61..c7183c3e6 100644 --- a/test/integ_tests/test_device_creation.py +++ b/test/integ_tests/test_device_creation.py @@ -19,13 +19,13 @@ RIGETTI_ARN = "arn:aws:braket:us-west-1::device/qpu/rigetti/Aspen-M-3" IONQ_ARN = "arn:aws:braket:us-east-1::device/qpu/ionq/Harmony" +IQM_ARN = "arn:aws:braket:eu-north-1::device/qpu/iqm/Garnet" SIMULATOR_ARN = "arn:aws:braket:::device/quantum-simulator/amazon/sv1" -OQC_ARN = "arn:aws:braket:eu-west-2::device/qpu/oqc/Lucy" PULSE_ARN = "arn:aws:braket:us-west-1::device/qpu/rigetti/Aspen-M-3" @pytest.mark.parametrize( - "arn", [(RIGETTI_ARN), (IONQ_ARN), (OQC_ARN), (SIMULATOR_ARN), (PULSE_ARN)] + "arn", [(RIGETTI_ARN), (IONQ_ARN), (IQM_ARN), (SIMULATOR_ARN), (PULSE_ARN)] ) def test_device_creation(arn, created_braket_devices): device = created_braket_devices[arn] @@ -48,10 +48,10 @@ def test_device_across_regions(aws_session, created_braket_devices): # assert QPUs across different regions can be created using the same aws_session created_braket_devices[RIGETTI_ARN] created_braket_devices[IONQ_ARN] - created_braket_devices[OQC_ARN] + created_braket_devices[IQM_ARN] -@pytest.mark.parametrize("arn", [(RIGETTI_ARN), (IONQ_ARN), (OQC_ARN), (SIMULATOR_ARN)]) +@pytest.mark.parametrize("arn", [(RIGETTI_ARN), (IONQ_ARN), (IQM_ARN), (SIMULATOR_ARN)]) def test_get_devices_arn(arn): results = AwsDevice.get_devices(arns=[arn]) assert results[0].arn == arn @@ -77,7 +77,7 @@ def test_get_devices_others(): def test_get_devices_all(braket_devices): result_arns = [result.arn for result in braket_devices] - for arn in [RIGETTI_ARN, IONQ_ARN, SIMULATOR_ARN, OQC_ARN]: + for arn in [RIGETTI_ARN, IONQ_ARN, IQM_ARN, SIMULATOR_ARN]: assert arn in result_arns diff --git a/test/integ_tests/test_measure.py b/test/integ_tests/test_measure.py index b7fef275b..9c8fdc02c 100644 --- a/test/integ_tests/test_measure.py +++ b/test/integ_tests/test_measure.py @@ -25,7 +25,7 @@ IONQ_ARN = "arn:aws:braket:us-east-1::device/qpu/ionq/Harmony" SIMULATOR_ARN = "arn:aws:braket:::device/quantum-simulator/amazon/sv1" -OQC_ARN = "arn:aws:braket:eu-west-2::device/qpu/oqc/Lucy" +IQM_ARN = "arn:aws:braket:eu-north-1::device/qpu/iqm/Garnet" @pytest.mark.parametrize("arn", [(IONQ_ARN), (SIMULATOR_ARN)]) @@ -53,7 +53,7 @@ def test_measure_on_local_sim(sim): assert result.measured_qubits == [0, 1] -@pytest.mark.parametrize("arn", [(OQC_ARN)]) +@pytest.mark.parametrize("arn", [(IQM_ARN)]) def test_measure_on_supported_devices(arn): device = AwsDevice(arn) if not device.is_available: