qiskit/transpiler/passmanager.py
def passes(self):
        """
        Returns a list structure of the appended passes and its options.

        Returns (list): The appended passes.
        """
        ret = []
        for pass_ in self.working_list:
            ret.append(pass_.dump_passes())
        return ret
def passes(self):
        ret = []
        for pass_ in self.working_list:
            ret.append(pass_.dump_passes())
        return ret
def passes ( self ) : ret = [ ] for pass_ in self . working_list : ret . append ( pass_ . dump_passes ( ) ) return ret
Returns a list structure of the appended passes and its options.

        Returns (list): The appended passes.
Returns a list structure of the appended passes and its options .