qiboteam / qibo-client

Qibo remote connection client.
https://qibo.science
Apache License 2.0
2 stars 1 forks source link

Top-level environment probe #29

Closed alecandido closed 5 months ago

alecandido commented 7 months ago

Environment variables are in general dynamical, and they could change their value between the import time and the execution, and even between various executions.

So, this approach is not suitable for retrieving them: https://github.com/qiboteam/qibo-client/blob/4e70c049bb66475d9af468fe3e9611d75fd5e5fb/src/qibo_client/tii.py#L5-L7 as it was found in https://github.com/qiboteam/qibo-cloud-backends/pull/11#discussion_r1510195513