PyGSTiEmbeddedOpMemoryWarning¶
Bases: UserWarning
Warned when a pyGSTi EmbeddedOp appears to be using a dense
representation sized to its full (large) parent state space, rather than
a compact embedded representation.
This is a symptom of a known pyGSTi bug; see the module-level comment
above PyGSTiNoiseModel for details, and
safe_time_dependent_evotype() for a workaround.
To turn this warning into a hard error (e.g. to fail fast in a script or
test suite), use the standard warnings filtering mechanism:
import warnings from loqs.backends.model.pygstimodel import PyGSTiEmbeddedOpMemoryWarning warnings.simplefilter("error", PyGSTiEmbeddedOpMemoryWarning)