RemoveResetInZeroState

class RemoveResetInZeroState(*args, **kwargs)[source]

Remove reset gate when the qubit is in zero state.

Attributes

RemoveResetInZeroState.is_analysis_pass

Check if the pass is an analysis pass.

RemoveResetInZeroState.is_transformation_pass

Check if the pass is a transformation pass.

Methods

RemoveResetInZeroState.name()

Return the name of the pass.

RemoveResetInZeroState.run(dag)

Run the RemoveResetInZeroState pass on dag.