braket.circuits.noise_model.circuit_instruction_criteria module

class braket.circuits.noise_model.circuit_instruction_criteria.CircuitInstructionCriteria[source]

Bases: Criteria

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

abstract instruction_matches(instruction: Instruction) bool[source]

Returns True if an Instruction matches the criteria.

Parameters:

instruction (Instruction) – An Instruction to match.

Raises:

NotImplementedError – Not implemented.

Returns:

bool – True if an Instruction matches the criteria.