qiboteam / qibolab

Quantum hardware module and drivers for Qibo.
https://qibo.science
Apache License 2.0
42 stars 14 forks source link

Drop `.backend` attribute for Qibolab measurements #688

Open alecandido opened 11 months ago

alecandido commented 11 months ago

The MeasurementOutcomes.backend attribute has been designed mainly for simulation, since it is used for frequencies, probabilities, and samples, that in hardware execution should all be obtained with simple operations.

Ideally, there could be a different mechanism for passing this backend, improving objects isolation. However, in Qibolab this should not be used (hopefully?), so it should be simpler to address the issue at least here.

https://github.com/qiboteam/qibolab/pull/618#discussion_r1412050002

alecandido commented 2 months ago

This is being faced directly in Qibo now https://github.com/qiboteam/qibo/issues/1433