# sf.program_utils.CircuitError¶

exception CircuitError[source]

Exception raised by Program when it encounters an illegal operation in the quantum circuit.

E.g., trying to use an Operation type that is unsupported by the current compilation target.