to_json

pyquil.operator_estimation.to_json(fn, obj)[source]

Convenience method to save pyquil.operator_estimation objects as a JSON file.

See read_json().