Open
Description
What is the expected enhancement?
If I want to build my own Estimator-like function, for example, which accepts a mapping with Pauli
as the key, as described in the spec, this does not currently work. The job would fail with
TypeError: keys must be str, int, float, bool or None, not Pauli
since the default JSON encoder doesn't accept Pauli
as a dictionary key type.