From 978b4e07332c8ce70493827d8addde9906c25db9 Mon Sep 17 00:00:00 2001 From: Matthew Harrigan Date: Thu, 24 Jan 2019 11:22:04 -0800 Subject: [PATCH] ensure_ascii=False (#769) --- pyquil/operator_estimation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyquil/operator_estimation.py b/pyquil/operator_estimation.py index c5d57b9b6..cc3af0091 100644 --- a/pyquil/operator_estimation.py +++ b/pyquil/operator_estimation.py @@ -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