ffsim.qiskit.DropNegligible¶
- class ffsim.qiskit.DropNegligible(atol=1e-08)[source]¶
Bases:
TransformationPassDrop gates with negligible effects.
Methods
run(dag)Run a pass on the DAGCircuit.
- run(dag)[source]¶
Run a pass on the DAGCircuit. This is implemented by the pass developer.
- Parameters:
dag (
DAGCircuit) – the dag on which the pass is run.- Raises:
NotImplementedError – when this is left unimplemented for a pass.
- Return type:
Attributes