-
GraphError — An error raised when attempting to compile a graph, for any reason.
-
MappingError — An error raised when a graph-to-layout mapping fails validation, such as when node placements violate adjacency or physical layout constraints.
-
CompilationError — An error raised when attempting to compile a graph for an architecture that does not support it, e.g. because it requires too many qubits or because the physical constraints on the geometry are not satisfied.
You are reading Maximum Independent Set v0.2.3, an older version of this documentation. Go to the latest version (v0.3.2)
mis.shared.error
module
mis.shared.error
Exceptions raised within this library.
Classes
class
GraphError
()
Bases : ValueError
An error raised when attempting to compile a graph, for any reason.
class
MappingError
()
Bases : ValueError
An error raised when a graph-to-layout mapping fails validation, such as when node placements violate adjacency or physical layout constraints.
class
CompilationError
()
Bases : GraphError
An error raised when attempting to compile a graph for an architecture that does not support it, e.g. because it requires too many qubits or because the physical constraints on the geometry are not satisfied.
class
ExecutionError
()
Bases : Exception
