Exceptions#

exception PiquassoException#

Base class for all exceptions raised by Piquasso.

exception InvalidState#

Raised when an invalid state is encountered or being prepared.

exception InvalidParameter#

Raised when an invalid parameter is specified.

exception InvalidModes#

Raised when invalid set of modes are encountered.

exception InvalidProgram#

Raised when an invalid program is being created or used.

exception InvalidInstruction#

Raised when an invalid instruction is specified.

exception InvalidSimulation#

Raised when a simulation could not be executed.

exception NotImplementedCalculation#

Raiesed when a calculation is not implemented.

exception CVQNNException#

Exception raised from the cvqnn module.