Closed ArthurKamalov closed 7 months ago
The qiskit's 'provider.backends' method returns only default backends.
Things to consider:
In some cases, due to other filtering conditions, there may be resulting lists without any default backend. Like in this test - https://github.com/microsoft/azure-quantum-python/blob/2fd08fe85cd90622c410707cdbe9dd8e7029ba9b/azure-quantum/tests/unit/test_qiskit.py#L573 In such case we just do not filter for default backends and return previous version of the list.
There wasn't any default backend for Rigetti, so I made RigettiSimulatorBackend default.
RigettiSimulatorBackend
The qiskit's 'provider.backends' method returns only default backends.
Things to consider:
In some cases, due to other filtering conditions, there may be resulting lists without any default backend. Like in this test - https://github.com/microsoft/azure-quantum-python/blob/2fd08fe85cd90622c410707cdbe9dd8e7029ba9b/azure-quantum/tests/unit/test_qiskit.py#L573 In such case we just do not filter for default backends and return previous version of the list.
There wasn't any default backend for Rigetti, so I made
RigettiSimulatorBackend
default.