cunqa.qutils.getQPUs
- cunqa.qutils.getQPUs(local: bool = True, family: str | None = None) list[QPU]
Global function to get the QPU objects corresponding to the virtual QPUs raised.
- Args:
local (bool): option to return only the QPUs in the current node (True, default option) or in all nodes (False). family (str): option to return only the QPUs from the selected family (group of QPUs allocated in the same qraise)
- Return:
List of QPU objects.