qilisdk.digital.exceptions
Exceptions
Raised when a qubit index is outside the defined circuit range. |
|
Raised when a gate lacks an associated matrix representation. |
|
Raised when attempting to set parameters on a non-parameterized gate. |
|
Raised when parameterized gates receive mismatched parameter values. |
|
Raised when an unknown parameter name is supplied to a gate. |
|
Raised when a gate is not supported by the target backend. |
Module Contents
- exception QubitOutOfRangeError[source]
Bases:
Exception
Raised when a qubit index is outside the defined circuit range.
Initialize self. See help(type(self)) for accurate signature.
- exception GateHasNoMatrixError[source]
Bases:
Exception
Raised when a gate lacks an associated matrix representation.
Initialize self. See help(type(self)) for accurate signature.
- exception GateNotParameterizedError[source]
Bases:
Exception
Raised when attempting to set parameters on a non-parameterized gate.
Initialize self. See help(type(self)) for accurate signature.
- exception ParametersNotEqualError[source]
Bases:
Exception
Raised when parameterized gates receive mismatched parameter values.
Initialize self. See help(type(self)) for accurate signature.
- exception InvalidParameterNameError[source]
Bases:
Exception
Raised when an unknown parameter name is supplied to a gate.
Initialize self. See help(type(self)) for accurate signature.
- exception UnsupportedGateError[source]
Bases:
Exception
Raised when a gate is not supported by the target backend.
Initialize self. See help(type(self)) for accurate signature.