qbraid.programs.ProgramTypeError

exception ProgramTypeError(program=None, message=None)[source]

Exception raised for errors encountered with unsupported quantum programs.

program

The program that caused the error, default is None.

Type:

Optional[Any]

message

Explanation of the error. If None, a default error message is generated based on the provided program.

Type:

Optional[str]