def create_passmanager(self, coupling_map, initial_layout=None):
passmanager = PassManager(<EOL>self.pass_class(CouplingMap(coupling_map),  <EOL>**self.additional_args))<EOL>if initial_layout:<EOL><INDENT>passmanager.property_set['<STR_LIT>'] = Layout(initial_layout)<EOL><DEDENT>return passmanager<EOL>
Returns a PassManager using self.pass_class(coupling_map, initial_layout)