CircuitInstructionCriteria
- class braket.circuits.noise_model.circuit_instruction_criteria.CircuitInstructionCriteria[source]
Bases:
CriteriaCriteria that implement these methods may be used to determine gate noise.
- abstractmethod instruction_matches(instruction)[source]
Returns True if an Instruction matches the criteria.
- Parameters:
instruction (Instruction) – An Instruction to match.
- Raises:
NotImplementedError – Not implemented.
- Return type:
bool- Returns:
bool – True if an Instruction matches the criteria.