qcmet.core.exceptions#

exceptions.py.

This module defines custom exceptions used in the QCMet framework.

Exceptions

MeasurementOutcomesExistError(message, errors)

Raised when measurement outcomes already exist for the given circuits.

exception qcmet.core.exceptions.MeasurementOutcomesExistError(message, errors)[source]#

Raised when measurement outcomes already exist for the given circuits.

This is typically used to prevent accidental re-execution or overwriting of previously measured quantum circuits in a benchmarking workflow.