Skip to content

Commit

Permalink
chore: use Ankaa-9Q-3 for Rigetti qiskit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadow53 committed Oct 4, 2024
1 parent f69fadd commit 01320ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure-quantum/tests/unit/test_qiskit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1735,13 +1735,13 @@ def test_qiskit_get_rigetti_qpu_targets(self):
provider = AzureQuantumProvider(workspace=workspace)

try:
backend = provider.get_backend(RigettiTarget.ANKAA_2.value)
backend = provider.get_backend(RigettiTarget.ANKAA_9Q_3.value)
except QiskitBackendNotFoundError as ex:
msg = f"Target {RigettiTarget.ANKAA_2} is not available for workspace {workspace.name}."
msg = f"Target {RigettiTarget.ANKAA_9Q_3} is not available for workspace {workspace.name}."
warnings.warn(f"{msg}\nException:\n{QiskitBackendNotFoundError.__name__}\n{ex}")
pytest.skip(msg)

self.assertEqual(backend.name(), RigettiTarget.ANKAA_2.value)
self.assertEqual(backend.name(), RigettiTarget.ANKAA_9Q_3.value)
config = backend.configuration()
self.assertFalse(config.simulator)
self.assertEqual(1, config.max_experiments)
Expand Down

0 comments on commit 01320ae

Please sign in to comment.