Usage: import inject_swaps inject_swaps.get_instructions_with_swaps(qasmf_filename, output_filename="foo.txt") # can also specify mapping_methodology enum