Skip to content

Commit

Permalink
ensure_ascii=False (rigetti#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpharrigan authored Jan 24, 2019
1 parent 715d9ab commit 978b4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyquil/operator_estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def to_json(fn, obj):
See :py:func:`read_json`.
"""
with open(fn, 'w') as f:
json.dump(obj, f, cls=OperatorEncoder, indent=2)
json.dump(obj, f, cls=OperatorEncoder, indent=2, ensure_ascii=False)
return fn


Expand Down

0 comments on commit 978b4e0

Please sign in to comment.