exa.core.plotting.qpu_core.utils.check_same_unit#
- check_same_unit(observations)#
Check that all units in the observations are the same.
- Parameters:
observations (list[ObservationData | LocalObservation]) – The observations to retrieve the units from.
- Returns:
The unit if they are the same.
- Raises:
ValueError if units are not the same. –
- Return type: