BaseLoss#
- class pyqit.core.BaseLoss(backend=None)[source]#
Bases:
_PyQitObjectBase class for backend-dispatching losses.
Subclasses declare what they support through tags rather than through control flow, so a loss missing on one backend fails with a clear message at construction instead of surfacing as an unhandled branch.