ffsim.qiskit.MergeOrbitalRotations¶
- class ffsim.qiskit.MergeOrbitalRotations(*args, **kwargs)[source]¶
Bases:
TransformationPassMerge consecutive orbital rotation gates.
Attributes
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: