Skip to content

Commit

Permalink
fix U.export_to() personalized
Browse files Browse the repository at this point in the history
  • Loading branch information
JdelArco98 authored Apr 26, 2024
1 parent a1651f6 commit 02732f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tequila/circuit/qpic.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def export_to(circuit,
'always_use_generators': True,
'group_together': "BARRIER"
}
elif not hasattr("style", "items"):
elif not hasattr(style, "items"):
raise Exception(
"style needs to be `tequila`, or `standard` or `generators` or a dictionary, you gave: {}".format(
str(style)))
Expand Down

0 comments on commit 02732f2

Please sign in to comment.