Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jvdwetering committed Oct 23, 2024
1 parent 1f7750e commit faade97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zxlive/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def import_diagram_from_file(file_path: str, selected_filter: str = FileFormat.A
else:
assert selected_format == FileFormat.All
try:
g = Circuit.load(file_path).to_graph(zx=True,backend='multigraph')
g = Circuit.load(file_path).to_graph(zh=True,backend='multigraph')
if TYPE_CHECKING: assert isinstance(g, GraphT)
g.set_auto_simplify(False)
return ImportGraphOutput(FileFormat.QASM, file_path, g) # type: ignore
Expand Down

0 comments on commit faade97

Please sign in to comment.