def __init__(self,
                 no_decomp: Callable[[ops.Operation], bool]=(lambda _: False)
                 ) -> None:
        """Construct the optimization pass.

        Args:
            no_decomp: A predicate that determines whether an operation should
                be decomposed or not. Defaults to decomposing everything.
        """
        super().__init__()
        self.no_decomp = no_decomp
def __init__ ( self , no_decomp : Callable [ [ ops . Operation ] , bool ] = ( lambda _ : False ) ) -> None : super ( ) . __init__ ( ) self . no_decomp = no_decomp
Construct the optimization pass.

        Args:
            no_decomp: A predicate that determines whether an operation should
                be decomposed or not. Defaults to decomposing everything.