qermit.leakage_detection

qermit.leakage_detection.leakage_detection.get_leakage_detection_mitres(backend, **kwargs)[source]

Generate MitRes making use of leakage detection and postselection.

Parameters:

backend (Backend) – Backend on which the circuits are run.

Return type:

MitRes

Returns:

MitRes making use of leakage detection and postselection.