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 abovetolerance_erroris otherwise an ordinary error-aware outcome and is not warned about. Silence it withwarn_on_plateau=Falseon the config, or withwarnings.filterwarnings()on this class.