PlateauWarning

exception PlateauWarning

Warn that an error-aware search returned a circuit depth bought nothing for.

No depth the search tried fits the target better than the shallowest one, and the returned circuit’s compilation error is above tolerance_error. A larger depth bound or more trials may help. A result above tolerance_error is otherwise an ordinary error-aware outcome and is not warned about. Silence it with warn_on_plateau=False on the config, or with warnings.filterwarnings() on this class.