qilisdk.core.exceptions

Exceptions

OutOfBoundsException

Raised when a variable value falls outside its configured bounds.

NotSupportedOperation

Raised when a requested operation is not supported by the backend.

InvalidBoundsError

Raised when lower/upper bounds are inconsistent or invalid.

EvaluationError

Raised when a symbolic expression cannot be evaluated.

NonPolynomialError

Raised when a polynomial-only operation (e.g. degree) is requested on a

Module Contents

exception OutOfBoundsException[fuente]

Bases: Exception

Raised when a variable value falls outside its configured bounds.

Initialize self. See help(type(self)) for accurate signature.

exception NotSupportedOperation[fuente]

Bases: Exception

Raised when a requested operation is not supported by the backend.

Initialize self. See help(type(self)) for accurate signature.

exception InvalidBoundsError[fuente]

Bases: Exception

Raised when lower/upper bounds are inconsistent or invalid.

Initialize self. See help(type(self)) for accurate signature.

exception EvaluationError[fuente]

Bases: Exception

Raised when a symbolic expression cannot be evaluated.

Initialize self. See help(type(self)) for accurate signature.

exception NonPolynomialError[fuente]

Bases: Exception

Raised when a polynomial-only operation (e.g. degree) is requested on a non-polynomial expression, such as a symbolic/non-integer power of a variable or a transcendental function of a variable.

Initialize self. See help(type(self)) for accurate signature.