Alice-Bob-SW / qiskit-alice-bob-provider

Qiskit provider to execute quantum circuits on Alice & Bob cat qubits
https://felis.alice-bob.com/docs/
Apache License 2.0
26 stars 11 forks source link

Harmonize remote and local options & bump to 0.5.0 #23

Closed MaxleDrut closed 9 months ago

MaxleDrut commented 9 months ago

Description: (copied from commit) When we introduced the local provider, we made it so we declare its options (nb_photons, kappa_1...) when using get_backend().

This is contradictory to what is happening in the remote provider, where options must be passed in execute().

This commit harmonizes this behaviour by allowing to set the options in get_backend() for the remote provider. (which actually makes some sense to do it like this when we want to set the nb_photons for example). This allows to quickly swap between the local and remote provider.

We aim to stay as permissive as possible, by still letting the user passing options at execute() for the remote provider.

Safe to revert.