You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 withsince the default JSON encoder doesn't accept
Pauli
as a dictionary key type.The text was updated successfully, but these errors were encountered: