Skip to content

qek.shared.error

source module qek.shared.error

Exceptions raised within this library.

Classes

  • 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.

source class CompilationError()

Bases : Exception

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.