braket.circuits.noise_model.result_type_criteria module

class braket.circuits.noise_model.result_type_criteria.ResultTypeCriteria[source]

Bases: Criteria

Criteria that implement these methods may be used to determine readout noise.

abstract result_type_matches(result_type: ResultType) bool[source]

Returns true if a result type matches the criteria.

Parameters:

result_type (ResultType) – A result type or list of result types to match.

Returns:

bool – True if the result type matches the criteria.